-
Notifications
You must be signed in to change notification settings - Fork 296
[feat][OSS] elastic and pytorch compatible checkpoints #310
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
Merged
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
5f2baaa
WIP
blefaudeux 9e98ac8
fix a loading issue, add a reproducibility unit test
blefaudeux b464e00
would need more checks, but getting there, saving a purely pytorch state
blefaudeux fc91d15
should be good to go, the OSS unit tests are still pretty horrible
blefaudeux 70712ef
tentatively solving torch 1.5 compatibility
blefaudeux 0b749d4
minimizing changes with this PR, removed some code reordering to make…
blefaudeux 2ae05f2
adding a test to prove the inter operability with upstream pytorch
blefaudeux 4d59014
updating the changelog
blefaudeux 2754e76
eager state pruning
blefaudeux 3468c0e
torch1.5 compat, this is infinite
blefaudeux fbee662
reverting the torch1.5 broken fix, the state is very strange in that …
blefaudeux 5589c74
WIP - need to properly handle multiple param groups
blefaudeux 25c2c11
fix + adding this to unit tests
blefaudeux 8d8b923
Merge branch 'oss_views_fix' into oss_elastic_checkpoints
blefaudeux 802c78e
Merge remote-tracking branch 'upstream/master' into oss_elastic_check…
blefaudeux ce59fd7
raise an exception if not consolidated
blefaudeux 6a3b043
unit test fix following botched merge, now needs to make sure that gr…
blefaudeux aa29155
some improvement, still need some careful thinking
blefaudeux 9135d54
should be gtg for torch1.6+. torch 1.5 has a different state indexing
blefaudeux 89d14c8
cleanup, still no torch1.5 support but ordering the state dict the wa…
blefaudeux 378d8f1
pytorch 1.5 compat
blefaudeux 2b78172
comment cleanup
blefaudeux 6975075
code review + update from torch PR, remove two loops
blefaudeux 485242c
Merge remote-tracking branch 'upstream/master' into oss_elastic_check…
blefaudeux 3837a18
docfix
blefaudeux 05e84a0
review, thanks Mandeep !
blefaudeux 0d321d9
code review, thanks Mandeep! Penelope mode
blefaudeux 4f8f61a
updated changelog, merge
blefaudeux b1f9527
Merge remote-tracking branch 'origin/master' into oss_elastic_checkpo…
blefaudeux ab9f242
linting Pipe files..
blefaudeux b6d6f5a
isort pipe files, not sure how they got it wrong
blefaudeux 25ca53d
[feature] Automate wheel builds on new releases (#342)
blefaudeux bf2a352
[chore] Fix lint errors that broke master (#348)
anj-s 24713da
removing the cpu test, not too interesting anyway
blefaudeux c25db63
Merge remote-tracking branch 'upstream/master' into oss_elastic_check…
blefaudeux 2dabbcc
removing gloo for now
blefaudeux a07f3f9
Merge branch 'shardedddp-cpu-testfix' into oss_elastic_checkpoints
blefaudeux 830a664
linting, align with new master
blefaudeux 8fb98ce
linting, align with new master
blefaudeux 8b99fe7
removing a clone which is not needed I believe
blefaudeux d29a240
adding multiple groups to the ddp parity test
blefaudeux 29bc4bd
Merge remote-tracking branch 'origin/master' into oss_elastic_checkpo…
blefaudeux File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,3 +25,4 @@ venv/ | |
| ENV/ | ||
| env.bak/ | ||
| venv.bak/ | ||
| .vscode/* | ||
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.