Skip to content

Commit

Permalink
Update composer/callbacks/checkpoint_saver.py
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel King <43149077+dakinggg@users.noreply.github.com>
  • Loading branch information
snarayan21 and dakinggg authored Dec 3, 2024
1 parent 0ee6b77 commit 346c7f4
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 @@ -533,7 +533,7 @@ def _save_checkpoint(self, state: State, logger: Logger):

# symlinks stay the same with sharded checkpointing
if self.latest_remote_file_name is not None:
symlink_name = self.latest_remote_file_name.format(state,).lstrip('/') + '.symlink'
symlink_name = self.latest_remote_file_name.format(state).lstrip('/') + '.symlink'

# create and upload a symlink file
symlink_filename = os.path.join(
Expand Down

0 comments on commit 346c7f4

Please sign in to comment.