diff --git a/composer/utils/checkpoint.py b/composer/utils/checkpoint.py index ccb9b5df3d..2af494e68b 100644 --- a/composer/utils/checkpoint.py +++ b/composer/utils/checkpoint.py @@ -172,7 +172,7 @@ def is_checkpoint_legacy_sharded(object_store: Optional[ObjectStore], source_pat metadata_destination = os.path.join(str(temp_dir), '.metadata') object_store.download_object(object_name=metadata_path, filename=metadata_destination) return False - except FileNotFoundError as e: + except FileNotFoundError: return True