-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Clean up last ModelCheckpoint
makedirs
call to IOPlugin
#11035
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1700,10 +1700,6 @@ def world_size(self) -> int: | |
# some training types define a world size | ||
return getattr(self.training_type_plugin, "world_size", 1) | ||
|
||
@property | ||
def should_rank_save_checkpoint(self) -> bool: | ||
return self.training_type_plugin.should_rank_save_checkpoint | ||
|
||
Comment on lines
-1703
to
-1706
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. since this is publicly exposed, this needs to go through a deprecation process There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. noted in summary with context There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. thanks for adding the context! i believe the initial removal was incorrect, and we should honor the deprecation process There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
@property | ||
def _distrib_type(self) -> _StrategyType: | ||
return self._accelerator_connector._distrib_type | ||
|
Uh oh!
There was an error while loading. Please reload this page.