Skip to content

Commit

Permalink
fix (#2725)
Browse files Browse the repository at this point in the history
  • Loading branch information
irenedea authored Nov 17, 2023
1 parent 1b28293 commit ea2ceff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer/callbacks/checkpoint_saver.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def _save_checkpoint(self, state: State, logger: Logger):
except FileExistsError as e:
raise FileExistsError(
f'Uploading checkpoint failed with error: {e}. overwrite was set to {self.overwrite}. To overwrite checkpoints with Trainer, set save_overwrite to True.'
)
) from e

# symlinks stay the same with sharded checkpointing
if self.latest_remote_file_name is not None:
Expand Down

0 comments on commit ea2ceff

Please sign in to comment.