-
Notifications
You must be signed in to change notification settings - Fork 24.2k
Adding XPU support to DTensor examples. #152973
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/152973
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit e31997f with merge base 7a0781e ( 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.
Pls. use the torch.accelerator
to generalize the code.
torch/distributed/tensor/examples/comm_mode_features_example.py
Outdated
Show resolved
Hide resolved
To add the ciflow label This helps ensure we don't trigger CI on this PR until it is actually authorized to do so. Please ping one of the reviewers if you do not have access to approve and run workflows. |
@githubsgi , could you help resolve the conflicts? |
e31997f
to
5683965
Compare
Adds XPU support to visualize_sharding_example.py and comm_mode_features_example.py .
topic: not user facing
cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k