-
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
progressive restoring of trainer state #7652
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello @awaelchli! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-06-17 07:49:49 UTC |
Codecov Report
@@ Coverage Diff @@
## master #7652 +/- ##
=======================================
- Coverage 92% 91% -0%
=======================================
Files 207 207
Lines 13374 13485 +111
=======================================
+ Hits 12246 12317 +71
- Misses 1128 1168 +40 |
awaelchli
added
checkpointing
Related to checkpointing
distributed
Generic distributed-related topic
feature
Is an improvement or enhancement
labels
May 24, 2021
This was referenced Jun 4, 2021
11 tasks
ananthsub
reviewed
Jun 10, 2021
pytorch_lightning/plugins/training_type/training_type_plugin.py
Outdated
Show resolved
Hide resolved
11 tasks
11 tasks
awaelchli
force-pushed
the
feature/resume
branch
from
June 12, 2021 13:03
95a7cb4
to
3aef4e4
Compare
awaelchli
force-pushed
the
feature/resume
branch
from
June 12, 2021 13:09
6d453f6
to
3cc54b8
Compare
awaelchli
commented
Jun 16, 2021
awaelchli
commented
Jun 16, 2021
carmocca
approved these changes
Jun 16, 2021
tchaton
approved these changes
Jun 16, 2021
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.
LGTM !
carmocca
reviewed
Jun 17, 2021
justusschock
approved these changes
Jun 17, 2021
Co-authored-by: Carlos Mocholí <[email protected]>
12 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
checkpointing
Related to checkpointing
distributed
Generic distributed-related topic
feature
Is an improvement or enhancement
ready
PRs ready to be merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Fixes #7535
Includes the changes from #7955, target branch will be changed to master.
The restore flow before:
The restore flow now:
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:
Did you have fun?
Make sure you had fun coding 🙃
Follow up to this PR
Make plugin decide if we want to restore model weights before or after call to
configure_sharded_model
hook as per #7535 (comment)