From 346c7f46694df4949b3890da17efc12614aed2ba Mon Sep 17 00:00:00 2001 From: Saaketh Narayan Date: Tue, 3 Dec 2024 14:43:06 -0500 Subject: [PATCH] Update composer/callbacks/checkpoint_saver.py Co-authored-by: Daniel King <43149077+dakinggg@users.noreply.github.com> --- composer/callbacks/checkpoint_saver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer/callbacks/checkpoint_saver.py b/composer/callbacks/checkpoint_saver.py index 8cdf48627c..a4f94d541d 100644 --- a/composer/callbacks/checkpoint_saver.py +++ b/composer/callbacks/checkpoint_saver.py @@ -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(