Skip to content

[3/4] Add MiniMax-M3.1-Flash recipes - #4583

Merged
Zhichenzzz merged 5 commits into
zhichen/minimax-m3-docsfrom
zhichen/minimax-m3.1-flash-support
Nov 1, 2026
Merged

Zhichenzzz merged 5 commits into
zhichen/minimax-m3-docsfrom
zhichen/minimax-m3.1-flash-support

Conversation

@Zhichenzzz

@Zhichenzzz Zhichenzzz commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

MiniMax-M3.1-Flash shares MiniMax-M3's architecture apart from MSA attention on every layer and a RoPE base of 1e7, so it reuses the M3 plugin and bridge. The release ships MXFP8 linears and NVFP4 routed experts; prepare dequantizes it to BF16 with tools/convert_minimax_m3_to_bf16.py before the torch_dist conversion. Adds the MiniMax-M3.1-Flash-bf16 and MiniMax-M3.1-Flash-4layer-bf16 recipes and their model args.

Stack: #4581 → #4582 → #4583 (this) → #4584.

Validation

ci-sglang-pr: #47612

MiniMax-M3.1-Flash shares MiniMax-M3's architecture apart from MSA attention
on every layer and a RoPE base of 1e7, so it reuses the M3 plugin and bridge.
The release ships MXFP8 linears and NVFP4 routed experts; prepare dequantizes
it to BF16 with tools/convert_minimax_m3_to_bf16.py before the torch_dist
conversion. Adds the full-model and 4-layer recipes and their model args.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

Same as the MiniMax-M3 4-layer test, from CharyZeng/MiniMax-M3.1-Flash-4layer-bf16:
layers 0,1,3,4 of the release dequantized to BF16 by tools/convert_minimax_m3_to_bf16.py.
@Zhichenzzz

Copy link
Copy Markdown
Collaborator Author

/rerun-test tests/e2e/megatron/model_scripts/test_minimax_m3_1_flash_4layer_ci.py

@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

❌ tests/e2e/megatron/model_scripts/test_minimax_m3_1_flash_4layer_ci.py failed on stage-c-4-gpu-h200 in 1h14m51s — workflow run

The execution job failed; inspect the workflow run for the failing step.

@Zhichenzzz

Copy link
Copy Markdown
Collaborator Author

/rerun-test tests/e2e/megatron/model_scripts/test_minimax_m3_1_flash_4layer_ci.py

@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

✅ tests/e2e/megatron/model_scripts/test_minimax_m3_1_flash_4layer_ci.py passed on stage-c-4-gpu-h200 in 22m22s — workflow run

@Zhichenzzz

Copy link
Copy Markdown
Collaborator Author

/rerun-test tests/e2e/megatron/model_scripts/test_minimax_m3_1_flash_4layer_ci.py

@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

❌ tests/e2e/megatron/model_scripts/test_minimax_m3_1_flash_4layer_ci.py failed on stage-c-4-gpu-h200 in 35m01s — workflow run

The execution job failed; inspect the workflow run for the failing step.

@Zhichenzzz

Copy link
Copy Markdown
Collaborator Author

/rerun-test tests/e2e/megatron/model_scripts/test_minimax_m3_1_flash_4layer_ci.py

@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

✅ tests/e2e/megatron/model_scripts/test_minimax_m3_1_flash_4layer_ci.py passed on stage-c-4-gpu-h200 in 10m06s — workflow run

@Zhichenzzz
Zhichenzzz enabled stacked auto-merge (squash) November 1, 2026 19:52
@Zhichenzzz
Zhichenzzz merged commit 3a7659a into main Nov 1, 2026
37 of 40 checks passed
@Zhichenzzz
Zhichenzzz deleted the zhichen/minimax-m3.1-flash-support branch November 1, 2026 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants