Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
bigning committed Jun 14, 2024
1 parent 2c77da9 commit ca46b4f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion composer/callbacks/checkpoint_saver.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ def _save_checkpoint(self, state: State, logger: Logger, wait_previous_remote_up
# Wait the previous upload tasks on all ranks
# self.wait() has dist.barrier, so it needs to be called
# on all ranks before any early return
#if wait_previous_remote_upload_tasks and self.count / self.num_concurrent_uploads == 0:
if wait_previous_remote_upload_tasks:
self.wait()

Expand Down

0 comments on commit ca46b4f

Please sign in to comment.