Skip to content

[DeviceMesh][2D] Use concatenate for 2D (FSDP+TP) instead of getting from root mesh - #165492

Closed
fduwjj wants to merge 8 commits into
gh/fduwjj/224/basefrom
gh/fduwjj/224/head
Closed

fduwjj wants to merge 8 commits into
gh/fduwjj/224/basefrom
gh/fduwjj/224/head

Conversation

@fduwjj

@fduwjj fduwjj commented Oct 15, 2025 •

Copy link
Copy Markdown
Collaborator

@pytorch-bot

pytorch-bot Bot commented Oct 15, 2025 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ No Failures

As of commit 263bff9 with merge base 000f495 (image):
💚 Looks good so far! There are no failures yet. 💚

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

fduwjj added a commit that referenced this pull request Oct 15, 2025
…from root mesh

ghstack-source-id: 9097367
Pull Request resolved: #165492
@pytorch-bot pytorch-bot Bot added oncall: distributed Add this issue/PR to distributed oncall triage queue release notes: distributed (fsdp) release notes category labels Oct 15, 2025
@fduwjj
fduwjj requested review from fegin, tianyu-l and wz337 October 15, 2025 00:14
@fduwjj fduwjj added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 15, 2025

@fegin fegin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice, let's wait for all the tests and can you also import this PR so that we can also trigger all the internal tests?

…of getting from root mesh"


With concatenate API, we can directly combine two meshes together rather than getting the spmd mesh from root.

cc H-Huang awgu wanchaol fegin wz337 wconstab d4l3k pragupta msaroufim dcci

[ghstack-poisoned]
fduwjj added a commit that referenced this pull request Oct 15, 2025
…from root mesh

ghstack-source-id: ac0e2a1
Pull Request resolved: #165492
…of getting from root mesh"


With concatenate API, we can directly combine two meshes together rather than getting the spmd mesh from root.

cc H-Huang awgu wanchaol fegin wz337 wconstab d4l3k pragupta msaroufim dcci

[ghstack-poisoned]
fduwjj added a commit that referenced this pull request Oct 15, 2025
…from root mesh

ghstack-source-id: f341f70
Pull Request resolved: #165492
…of getting from root mesh"


With concatenate API, we can directly combine two meshes together rather than getting the spmd mesh from root.

cc H-Huang awgu wanchaol fegin wz337 wconstab d4l3k pragupta msaroufim dcci

[ghstack-poisoned]
fduwjj added a commit that referenced this pull request Oct 16, 2025
…from root mesh

ghstack-source-id: 647d5cb
Pull Request resolved: #165492
…of getting from root mesh"


With concatenate API, we can directly combine two meshes together rather than getting the spmd mesh from root.

cc H-Huang awgu wanchaol fegin wz337 wconstab d4l3k pragupta msaroufim dcci

[ghstack-poisoned]
…of getting from root mesh"


With concatenate API, we can directly combine two meshes together rather than getting the spmd mesh from root.

cc H-Huang awgu wanchaol fegin wz337 wconstab d4l3k pragupta msaroufim dcci

[ghstack-poisoned]
fduwjj added a commit that referenced this pull request Oct 23, 2025
…from root mesh

ghstack-source-id: 6250c76
Pull Request resolved: #165492
…of getting from root mesh"


With concatenate API, we can directly combine two meshes together rather than getting the spmd mesh from root.

cc H-Huang awgu wanchaol fegin wz337 wconstab d4l3k pragupta msaroufim dcci

[ghstack-poisoned]
fduwjj added a commit that referenced this pull request Oct 24, 2025
…from root mesh

ghstack-source-id: 0b2966e
Pull Request resolved: #165492
@fduwjj

fduwjj commented Oct 24, 2025

Copy link
Copy Markdown
Collaborator Author

@fduwjj has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

…of getting from root mesh"


With concatenate API, we can directly combine two meshes together rather than getting the spmd mesh from root.

cc H-Huang awgu wanchaol fegin wz337 wconstab d4l3k pragupta msaroufim dcci

Differential Revision: [D85409698](https://our.internmc.facebook.com/intern/diff/D85409698)

[ghstack-poisoned]
fduwjj added a commit that referenced this pull request Oct 27, 2025
…from root mesh

ghstack-source-id: 82357a1
Pull Request resolved: #165492
@fduwjj

fduwjj commented Oct 27, 2025

Copy link
Copy Markdown
Collaborator Author

@fduwjj has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@fduwjj

fduwjj commented Oct 27, 2025

Copy link
Copy Markdown
Collaborator Author

@pytorchbot merge

@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

tianrengao pushed a commit that referenced this pull request Oct 30, 2025
…from root mesh (#165492)

With concatenate API, we can directly combine two meshes together rather than getting the spmd mesh from root.

Differential Revision: [D85409698](https://our.internmc.facebook.com/intern/diff/D85409698)
Pull Request resolved: #165492
Approved by: https://github.com/fegin
ghstack dependencies: #163358
@github-actions
github-actions Bot deleted the gh/fduwjj/224/head branch November 28, 2025 02:18
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 (fsdp) release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants