Skip to content

[FlexShard] Configure stock torch.optim.Muon - #4138

Closed
weifengpy wants to merge 7 commits into
gh/weifengpy/57/basefrom
gh/weifengpy/57/head
Closed

weifengpy wants to merge 7 commits into
gh/weifengpy/57/basefrom
gh/weifengpy/57/head

Conversation

@weifengpy

@weifengpy weifengpy commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

Configure an exact torch.optim.Muon instance in place through supported step-executor and phased Muon APIs. Move runtime ownership into a private FlexShard integration and remove the self-hosted optimizer and Muon kernels.

Keep the existing physical-bucket, overlap, pipeline-parallel, and checkpoint behavior while switching the TorchTitan registry and Kimi recipes to stock Muon.

This change depends on the corresponding PyTorch Muon execution and phased-operation APIs.

[ghstack-poisoned]
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request Aug 13, 2026
Configure an exact torch.optim.Muon instance in place through supported step-executor and phased Muon APIs. Move runtime ownership into a private FlexShard integration and remove the self-hosted optimizer and Muon kernels.

Keep the existing physical-bucket, overlap, pipeline-parallel, and checkpoint behavior while switching the TorchTitan registry and Kimi recipes to stock Muon.

This change depends on the corresponding PyTorch Muon execution and phased-operation APIs.

ghstack-source-id: 1041dfa
Pull-Request: #4138
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request Aug 15, 2026
Configure an exact torch.optim.Muon instance in place through supported step-executor and phased Muon APIs. Move runtime ownership into a private FlexShard integration and remove the self-hosted optimizer and Muon kernels.

Keep the existing physical-bucket, overlap, pipeline-parallel, and checkpoint behavior while switching the TorchTitan registry and Kimi recipes to stock Muon.

This change depends on the corresponding PyTorch Muon execution and phased-operation APIs.

ghstack-source-id: f466be3
Pull-Request: #4138
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request Aug 15, 2026
Configure an exact torch.optim.Muon instance in place through supported step-executor and phased Muon APIs. Move runtime ownership into a private FlexShard integration and remove the self-hosted optimizer and Muon kernels.

Keep the existing physical-bucket, overlap, pipeline-parallel, and checkpoint behavior while switching the TorchTitan registry and Kimi recipes to stock Muon.

This change depends on the corresponding PyTorch Muon execution and phased-operation APIs.

ghstack-source-id: 4e55e52
Pull-Request: #4138
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request Aug 15, 2026
Configure an exact torch.optim.Muon instance in place through supported step-executor and phased Muon APIs. Move runtime ownership into a private FlexShard integration and remove the self-hosted optimizer and Muon kernels.

Keep the existing physical-bucket, overlap, pipeline-parallel, and checkpoint behavior while switching the TorchTitan registry and Kimi recipes to stock Muon.

This change depends on the corresponding PyTorch Muon execution and phased-operation APIs.

ghstack-source-id: ea16c24
Pull-Request: #4138
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request Aug 15, 2026
Configure an exact torch.optim.Muon instance in place through supported step-executor and phased Muon APIs. Move runtime ownership into a private FlexShard integration and remove the self-hosted optimizer and Muon kernels.

Keep the existing physical-bucket, overlap, pipeline-parallel, and checkpoint behavior while switching the TorchTitan registry and Kimi recipes to stock Muon.

This change depends on the corresponding PyTorch Muon execution and phased-operation APIs.

ghstack-source-id: 1d8d6fd
Pull-Request: #4138
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request Aug 15, 2026
Configure an exact torch.optim.Muon instance in place through supported step-executor and phased Muon APIs. Move runtime ownership into a private FlexShard integration and remove the self-hosted optimizer and Muon kernels.

Keep the existing physical-bucket, overlap, pipeline-parallel, and checkpoint behavior while switching the TorchTitan registry and Kimi recipes to stock Muon.

This change depends on the corresponding PyTorch Muon execution and phased-operation APIs.

ghstack-source-id: 4b5321d
Pull-Request: #4138
@tianyu-l tianyu-l closed this Oct 7, 2026
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