Skip to content

[Device Mesh][ez] Clean up unused parameters and duplicate codes - #167581

Closed
fduwjj wants to merge 2 commits into
gh/fduwjj/235/basefrom
gh/fduwjj/235/head
Closed

fduwjj wants to merge 2 commits into
gh/fduwjj/235/basefrom
gh/fduwjj/235/head

Conversation

@fduwjj

@fduwjj fduwjj commented Nov 11, 2025 •

Copy link
Copy Markdown
Collaborator

Stack from ghstack (oldest at bottom):

While refactoring the code, I found we re-init _flatten_mapping and still keep _flatten_mesh_list inside code which is not needed anymore. Let's remove it.

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

@pytorch-bot

pytorch-bot Bot commented Nov 11, 2025 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ No Failures

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

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

@pytorch-bot pytorch-bot Bot added the oncall: distributed Add this issue/PR to distributed oncall triage queue label Nov 11, 2025
fduwjj added a commit that referenced this pull request Nov 11, 2025
@fduwjj fduwjj added release notes: DeviceMesh ciflow/trunk Trigger trunk jobs on your pull request topic: not user facing topic category labels Nov 11, 2025
… codes"


While refactoring the code, I found we re-init `_flatten_mapping` and still keep `_flatten_mesh_list ` inside code which is not needed anymore. Let's remove it.

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

[ghstack-poisoned]
@fduwjj

fduwjj commented Nov 12, 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

Silv3S pushed a commit to Silv3S/pytorch that referenced this pull request Nov 18, 2025
…orch#167581)

While refactoring the code, I found we re-init `_flatten_mapping` and still keep `_flatten_mesh_list ` inside code which is not needed anymore. Let's remove it.

Pull Request resolved: pytorch#167581
Approved by: https://github.com/fegin
@github-actions
github-actions Bot deleted the gh/fduwjj/235/head branch December 12, 2025 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged oncall: distributed Add this issue/PR to distributed oncall triage queue release notes: DeviceMesh topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants