-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[DTensor] Rewrite doc of TupleStrategy #158132
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
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/158132
Note: Links to docs will display an error until the docs builds have been completed. ❌ 3 Cancelled Jobs, 1 Unrelated FailureAs of commit a7839d6 with merge base b4476ca ( CANCELLED JOBS - The following jobs were cancelled. Please retry:
UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
cc H-Huang awgu wanchaol fegin fduwjj wz337 d4l3k [ghstack-poisoned]
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.
yeah I agree with this explanation:
TupleStrategy corresponds to the case where each output is the computation result of a subset of inputs, and those subsets are non-overlapped. That being said, the sharding decisions of those subsets are independent.
cc H-Huang awgu wanchaol fegin fduwjj wz337 d4l3k [ghstack-poisoned]
|
@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 |
Merge failedReason: 3 jobs have failed, first few of them are: inductor / unit-test / cuda12.8-py3.12-gcc9-sm86 / build, inductor / unit-test / linux-jammy-cpu-py3.9-gcc11-inductor / build, inductor / linux-jammy-cpu-py3.9-gcc11-inductor / build Details for Dev Infra teamRaised by workflow job |
|
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 4 checks: inductor / unit-test / cuda12.8-py3.12-gcc9-sm86 / build, inductor / unit-test / linux-jammy-cpu-py3.9-gcc11-inductor / build, inductor / linux-jammy-cpu-py3.9-gcc11-inductor / build, pull / cuda12.8-py3.10-gcc9-sm75 / test (pr_time_benchmarks, 1, 1, linux.g4dn.metal.nvidia.gpu, unstable) Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
This helped identify buggy sharding rules during debugging, why not check it in. Pull Request resolved: #158133 Approved by: https://github.com/XilunWu, https://github.com/zpcore ghstack dependencies: #158132
Summary: This helped identify buggy sharding rules during debugging, why not check it in. Approved by: https://github.com/XilunWu, https://github.com/zpcore ghstack dependencies: #158132 Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/1839e8d04b81ee6eda0cff6fbfc218a7a600f6f7 Rollback Plan: Differential Revision: D78929245
Stack from ghstack (oldest at bottom):
cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @d4l3k