-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[torch][fsdp] More informative assertion error when rank mismatch #113765
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
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/113765
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit dee59a2 with merge base d40d270 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D51322046 |
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. cc. @fegin
@dongyuzheng Please sign CLA |
/easycla |
e06c568
to
e3c1b7f
Compare
This pull request was exported from Phabricator. Differential Revision: D51322046 |
…torch#113765) Summary: I had a job fail due to rank mismatch but didn't find enough information in the assertion message. This change makes the message more informative. Test Plan: CI tests and I ran a test job which failed as expected: ``` Rank 1 has different values for step: 8016.0. Other ranks: 7870.0 ``` Reviewed By: wz337, fegin Differential Revision: D51322046
e3c1b7f
to
dee59a2
Compare
This pull request was exported from Phabricator. Differential Revision: D51322046 |
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
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 |
Summary: I had a job fail due to rank mismatch but didn't find enough information in the assertion message. This change makes the message more informative.
Test Plan:
CI tests and I ran a test job which failed as expected:
Differential Revision: D51322046