Skip to content

[FlexShard] Restore explicit optimizer reshard API - #4137

Closed
weifengpy wants to merge 5 commits into
gh/weifengpy/56/basefrom
gh/weifengpy/56/head
Closed

weifengpy wants to merge 5 commits into
gh/weifengpy/56/basefrom
gh/weifengpy/56/head

Conversation

@weifengpy

@weifengpy weifengpy commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

Restore flex_optimizer_reshard as the public configuration front door while preserving the optimizer object, exact class, and declared step method.

Compile DistributedMuon redistribution state into a private binding before installation, keep physical bucket semantics explicit, and validate frozen parameter/FQN membership across steps and checkpoint loads.

Keep build_distributed_muon as the convenience path and document the lifecycle and future integration boundary.

[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request Aug 15, 2026
Restore flex_optimizer_reshard as the public configuration front door while preserving the optimizer object, exact class, and declared step method.

Compile DistributedMuon redistribution state into a private binding before installation, keep physical bucket semantics explicit, and validate frozen parameter/FQN membership across steps and checkpoint loads.

Keep build_distributed_muon as the convenience path and document the lifecycle and future integration boundary.

ghstack-source-id: 85ec1bb
Pull-Request: #4137
weifengpy added a commit that referenced this pull request Aug 15, 2026
Restore flex_optimizer_reshard as the public configuration front door while preserving the optimizer object, exact class, and declared step method.

Compile DistributedMuon redistribution state into a private binding before installation, keep physical bucket semantics explicit, and validate frozen parameter/FQN membership across steps and checkpoint loads.

Keep build_distributed_muon as the convenience path and document the lifecycle and future integration boundary.

ghstack-source-id: 85ec1bb
Pull-Request: #4137
submartingales pushed a commit to botcanlearn/torchtitan-upstream that referenced this pull request Aug 15, 2026
Restore flex_optimizer_reshard as the public configuration front door while preserving the optimizer object, exact class, and declared step method.

Compile DistributedMuon redistribution state into a private binding before installation, keep physical bucket semantics explicit, and validate frozen parameter/FQN membership across steps and checkpoint loads.

Keep build_distributed_muon as the convenience path and document the lifecycle and future integration boundary.

ghstack-source-id: 85ec1bb
Pull-Request: pytorch/torchtitan#4137
[ghstack-poisoned]
[ghstack-poisoned]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/8gpu CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants