KEMBAR78
[DTensor] Rewrite doc of TupleStrategy by wconstab · Pull Request #158132 · pytorch/pytorch · GitHub
Skip to content

Conversation

@wconstab
Copy link
Contributor

@wconstab wconstab commented Jul 11, 2025

@pytorch-bot
Copy link

pytorch-bot bot commented Jul 11, 2025

🔗 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 Failure

As of commit a7839d6 with merge base b4476ca (image):

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.

@pytorch-bot pytorch-bot bot added ciflow/inductor oncall: distributed Add this issue/PR to distributed oncall triage queue labels Jul 11, 2025
cc H-Huang awgu wanchaol fegin fduwjj wz337 d4l3k

[ghstack-poisoned]
Copy link
Contributor

@XilunWu XilunWu left a 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]
@wconstab wconstab added the release notes: distributed (dtensor) release notes category label Jul 11, 2025
@wconstab
Copy link
Contributor Author

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jul 11, 2025
@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

@wconstab
Copy link
Contributor Author

@pytorchbot merge -i

@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

pytorchmergebot pushed a commit that referenced this pull request Jul 17, 2025
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
facebook-github-bot pushed a commit that referenced this pull request Jul 24, 2025
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
@github-actions github-actions bot deleted the gh/wconstab/423/head branch August 11, 2025 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request Merged oncall: distributed Add this issue/PR to distributed oncall triage queue release notes: distributed (dtensor) release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants