Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion smdebug/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.8"
__version__ = "1.0.8b"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

1 change: 1 addition & 0 deletions smdebug/core/state_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def _get_checkpoint_files_in_dir(self, cp_dir):
file != METADATA_FILENAME
and file != METADATA_FILENAME_S3_UPLOADED
and "sagemaker-uploaded" not in file
and "sagemaker-uploading" not in file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: This won't scale well. Can we keep track of a list of files not to append and then do something like:

if all([metadata_file not in file for metadata_file in metadata_files]) 

):
checkpoint_files.append(os.path.join(child, file))
return sorted(checkpoint_files)
Expand Down