Skip to content

Commit

Permalink
add sorted (#3036)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvpatel2000 authored Feb 20, 2024
1 parent e12cbe3 commit b328599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer/utils/checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def read_data(self, plan: LoadPlan, planner: LoadPlanner):
log.debug(f'Rank {dist.get_global_rank()} finished transferring files to all ranks.')
dist.barrier()
log.debug(
f'Done waiting for all ranks to finish transferring files. Local checkpoint files: {os.listdir(self.destination_path)}'
f'Done waiting for all ranks to finish transferring files. Local checkpoint files: {sorted(os.listdir(self.destination_path))}'
)

# 5. Piggyback off of the FileSystemReader to read all the files now that they are downloaded.
Expand Down

0 comments on commit b328599

Please sign in to comment.