Skip to content

Commit

Permalink
Respect file order in DocumentDataset.read (#487)
Browse files Browse the repository at this point in the history
Signed-off-by: Praateek <[email protected]>
  • Loading branch information
praateekmahajan authored Jan 17, 2025
1 parent 7cfda44 commit 7a49ebb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nemo_curator/utils/distributed_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,6 @@ def read_data_files_per_partition(
columns: Optional[List[str]] = None,
**kwargs,
) -> dd.DataFrame:
input_files = sorted(input_files)
if files_per_partition > 1:
input_files = [
input_files[i : i + files_per_partition]
Expand Down

0 comments on commit 7a49ebb

Please sign in to comment.