Skip to content

[DTensor] Hook up output tensor_meta to expand util - #170827

Closed
wconstab wants to merge 1 commit into
gh/wconstab/481/basefrom
gh/wconstab/481/head
Closed

wconstab wants to merge 1 commit into
gh/wconstab/481/basefrom
gh/wconstab/481/head

Conversation

@wconstab

@wconstab wconstab commented Dec 18, 2025 •

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

Enforce tensor_meta is not none for new single-dim rules.

Allow tensor_meta to continue to be None for existing rules for now. We
should consider in the future asserting tensor_meta is required in
DTensorSpec, but for now we just try to limit the bleeding.

Enforce tensor_meta is not none for new single-dim rules.

Allow tensor_meta to continue to be None for existing rules for now. We
should consider in the future asserting tensor_meta is required in
DTensorSpec, but for now we just try to limit the bleeding.

[ghstack-poisoned]
@pytorch-bot

pytorch-bot Bot commented Dec 18, 2025 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/170827

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit d896dc3 with merge base 1984725 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

wconstab added a commit that referenced this pull request Dec 18, 2025
Enforce tensor_meta is not none for new single-dim rules.

Allow tensor_meta to continue to be None for existing rules for now. We
should consider in the future asserting tensor_meta is required in
DTensorSpec, but for now we just try to limit the bleeding.

ghstack-source-id: 395e4fe
Pull Request resolved: #170827
@wconstab
wconstab requested review from bdhirsh and fmassa December 18, 2025 23:58
@wconstab wconstab added the release notes: distributed (dtensor) release notes category label Dec 19, 2025
@wconstab
wconstab requested review from weifengpy and zpcore December 19, 2025 16:32
@wconstab

Copy link
Copy Markdown
Contributor Author

@pytorchbot merge

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Dec 19, 2025
@pytorchmergebot

Copy link
Copy Markdown
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

xgz2 pushed a commit that referenced this pull request Dec 22, 2025
Enforce tensor_meta is not none for new single-dim rules.

Allow tensor_meta to continue to be None for existing rules for now. We
should consider in the future asserting tensor_meta is required in
DTensorSpec, but for now we just try to limit the bleeding.
Pull Request resolved: #170827
Approved by: https://github.com/dolpm
ghstack dependencies: #170615, #167677, #170359
krastogi-in pushed a commit to krastogi-in/pytorch that referenced this pull request Jan 9, 2026
Enforce tensor_meta is not none for new single-dim rules.

Allow tensor_meta to continue to be None for existing rules for now. We
should consider in the future asserting tensor_meta is required in
DTensorSpec, but for now we just try to limit the bleeding.
Pull Request resolved: pytorch#170827
Approved by: https://github.com/dolpm
ghstack dependencies: pytorch#170615, pytorch#167677, pytorch#170359
SergeyTyshkevich pushed a commit to SergeyTyshkevich/chart2 that referenced this pull request Jan 19, 2026
Enforce tensor_meta is not none for new single-dim rules.

Allow tensor_meta to continue to be None for existing rules for now. We
should consider in the future asserting tensor_meta is required in
DTensorSpec, but for now we just try to limit the bleeding.

ghstack-source-id: bd8e2bb
Pull Request resolved: pytorch/pytorch#170827
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 release notes: distributed (dtensor) release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants