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
[FSDP] Fixed device_mesh
and auto wrap
#119064
Conversation
[ghstack-poisoned]
ghstack-source-id: 73185b4d742035bd982e63d1c13416ff8a9c6324 Pull Request resolved: #119064
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/119064
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit f2b9157 with merge base 9afd539 (): This comment was automatically generated by Dr. CI and updates every 15 minutes. |
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! Thanks for the quick fix!
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
If the user passes `device_mesh`, then we should not forward the process groups to the children during auto wrap and instead just rely on the `device_mesh` argument. This should fix #118906. Pull Request resolved: #119064 Approved by: https://github.com/wz337
If the user passes `device_mesh`, then we should not forward the process groups to the children during auto wrap and instead just rely on the `device_mesh` argument. This should fix pytorch#118906. Pull Request resolved: pytorch#119064 Approved by: https://github.com/wz337
Stack from ghstack (oldest at bottom):
device_mesh
and auto wrap #119064If the user passes
device_mesh
, then we should not forward the process groups to the children during auto wrap and instead just rely on thedevice_mesh
argument. This should fix #118906.cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @penguinwu @fegin @XilunWu @wanchaol @fduwjj @wz337 @tianyu-l @wconstab @yf225