-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Add ZeroRedundancyOptimizer Recipe #1375
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
Conversation
|
Deploy preview for pytorch-tutorials-preview ready! Built with commit 7b4e3bc https://deploy-preview-1375--pytorch-tutorials-preview.netlify.app |
| ---------------------------------- | ||
|
|
||
| The idea of `ZeroRedundancyOptimizer` comes from the | ||
| `DeepSpeed/ZeRO project <https://github.com/microsoft/DeepSpeed>`_ that shards |
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.
we can add another reference here, I can look that up, the idea is older than that actually and it was in a public NLP framework
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.
Hey @blefaudeux, let me know which reference link we should add here. thanks!
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.
It has been in Marian for a while it seems, before Zero (I learnt that recently)
https://github.com/marian-nmt/marian-dev
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.
added
blefaudeux
left a comment
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 except for one sentence, minor
6e7720a to
99ec1b8
Compare
|
Hey @brianjo, this recipe is ready and the test failures look irrelevant. Shall we land? |
|
Let me see if we can get that fixed, and I'll merge it tomorrow. Nikita is looking into it. Thanks! |
Co-authored-by: Brian Johnson <[email protected]>
Co-authored-by: Brian Johnson <[email protected]>

No description provided.