-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
ModelCheckpoint
's save_last
now ignores every_n_epochs
#12418
Conversation
ModelCheckpoint
trigger interactionsModelCheckpoint
's save_last
now ignores every_n_epochs
# Mode 2: save monitor=None checkpoints | ||
self._save_none_monitor_checkpoint(trainer, monitor_candidates) | ||
# Mode 3: save last checkpoints | ||
# TODO: unused method. deprecate it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left for a follow-up PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @carmocca! Looks really good to me, I just have a few questions for my knowledge and a minor test extension suggestion. Shouldn't block merging this PR once everyone concerned is happy with it :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great! very small comments.
Co-authored-by: Rohit Gupta <[email protected]>
What does this PR do?
Fixes #12391
And other minor bugs I noticed while working on this.
Does your PR introduce any breaking changes? If yes, please list them.
None
Before submitting
PR review
cc @Borda @tchaton @rohitgr7 @akihironitta @carmocca @awaelchli @ninginthecloud @jjenniferdai