-
Notifications
You must be signed in to change notification settings - Fork 423
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
Add FSDP strategy #1553
Add FSDP strategy #1553
Conversation
a6e0543
to
225c707
Compare
Branch is currently failing in torch 1.11 due to FSDP imports. I think it is necessary to gate all FSDP features behind torch 1.12 |
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.
Mostly minor nits. The design seems reasonable to me. Can do testing and a deeper pass once its ready for final review
0a74b19
to
99e6fe9
Compare
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.
minor style nits to be consistent in codebase. its a little bit of a pain lol im fine doing a followup cleanup PR if this takes a while.
No comments on functionality, will approve once tests pass!
Co-authored-by: Mihir Patel <mihir.v.patel7@gmail.com>
Co-authored-by: Mihir Patel <mihir.v.patel7@gmail.com>
Co-authored-by: Mihir Patel <mihir.v.patel7@gmail.com>
Co-authored-by: Mihir Patel <mihir.v.patel7@gmail.com>
Also Id just disable the linters in the files from pytorch, eg |
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.
Approving to unblock. Slack me for specific followups, or otherwise will be offline
This PR adds alpha support for FSDP with Composer.