Skip to content

[Docs][ROCm] Add MiniMax-M3.1-Flash MI355X TP4 AgentX preset - #64805

Merged
hongxiayang merged 2 commits into
vllm-project:mainfrom
Fangzhou-Ai:recipe/minimaxm31flash-mi355x-agentx-quark
Oct 31, 2026
Merged

hongxiayang merged 2 commits into
vllm-project:mainfrom
Fangzhou-Ai:recipe/minimaxm31flash-mi355x-agentx-quark

Conversation

@Fangzhou-Ai

Copy link
Copy Markdown
Collaborator

Overview

Add the opt-in mi355x_agentx preset to the MiniMax-M3.1-Flash recipe: the MI355X TP4 AgentX lane from InferenceX #4671 on the Quark MXFP4 checkpoint, concurrency 1 to 64.

Claims

  • Adds one preset, scoped to the mxfp4 variant, with seven concurrency points that the builder can render: 1/2/4/8 (seven-token DSpark with mono decode, FP8 KV cache), 16/32 (seven-token DSpark with DBO, NVFP4 KV cache, 0.85 memory), and 64 (three-token DSpark with DBO and a host-DRAM KV tier through SimpleCPUOffloadConnector, 0.90 memory).
  • Every point's generated command carries the same serving flags as the InferenceX run for that point.
  • The runbook records measured results and two limitations (below).
  • No existing rendering changes.

Validation

From a vllm-project/recipes checkout at d460fcc, with this branch as the vllm source:

node scripts/validate-source.mjs --source vllm --dir "$VLLM_CHECKOUT/recipes"
node --test scripts/test-guide-html.mjs scripts/test-presets.mjs scripts/test-schema.mjs
pre-commit run typos --files recipes/models/MiniMaxAI/MiniMax-M3.1-Flash.yaml

The source validator passes, 47 of 47 renderer tests pass, and typos passes. Building the JSON API on main and on this branch gives 22,575 identical files; the only differences are the new presets/mi355x_agentx.json and the new entry in the two parent JSONs (MiniMax-M3.1-Flash.json and the promoted amd/MiniMax-M3.1-Flash-Quark-MXFP4.json).

All seven rendered commands were compared flag by flag with the vllm serve commands in the InferenceX job logs. Serving flags and relevant environment variables match at every point, except that the harness flags (--host, --port, --device-ids, --served-model-name, --disable-uvicorn-access-log, --max-model-len, --trust-remote-code) are not part of the preset, throughput runs used synthetic rejection where the preset keeps block rejection, and VLLM_ROCM_MINIMAX_M3_SP_PREFILL=1 (set at concurrency 64 by InferenceX) is omitted because it had no effect on this checkpoint.

Existing GPU evidence, not a new GPU run from this PR: InferenceX run 41003224750 at a328b4435 passed all seven performance points and GSM8K at concurrency 8, 32 and 64 (0.964, 0.959, 0.957 strict exact match, 1,319 samples each). Per-point interactivity and throughput are in the runbook (single run).

Details

Not a duplicate. The recipe has presets for B300, GB200 and GB300 but none for MI355X AgentX. Open PRs touching this model are code changes (#64448, #64273), not recipe presets.

Why the DBO points pass the DBO flags directly. The prefill_dbo_sp feature's modes set their own thresholds (8192, or 16384 with SP on the default checkpoint only) and a feature's flags win over a preset's args. This lane runs the 16384-token DBO threshold without SP, so the preset passes --enable-dbo and the thresholds itself, with the V2 model runner env the feature would set.

Limitations, also in the runbook.

  • Concurrency 64 needed a rerun: the first attempt hung at its first load from the host KV tier (23 fetches in progress, none completing, then a sample_tokens RPC timeout) and the rerun passed. The offload point is less proven than the others.
  • Sequence-parallel prefill does not apply to the Quark checkpoint: the server logged it as off even with the variable set.

AI assistance was used (Claude Sonnet 5.5, claude-sonnet-5-5, via Claude Code): it drafted the preset, ran the validation above, and compared the rendered commands with the InferenceX job logs. The submitter reviewed the changes.

Add the opt-in mi355x_agentx preset from InferenceX vllm-project#4671 on the Quark
MXFP4 checkpoint: seven-token DSpark with mono decode up to concurrency
8, seven-token DSpark with DBO at 16 and 32, and three-token DSpark with
DBO and a host-DRAM KV tier at 64.

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Fangzhou Ai <31551580+Fangzhou-Ai@users.noreply.github.com>
@Fangzhou-Ai
Fangzhou-Ai requested a review from esmeetu as a code owner October 30, 2026 19:51

@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 pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@mergify

mergify Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

@mergify mergify Bot added recipe minimax rocm Related to AMD ROCm labels Oct 30, 2026
@github-project-automation github-project-automation Bot moved this to Todo in AMD Oct 30, 2026
@hongxiayang
hongxiayang enabled auto-merge (squash) October 30, 2026 19:58
@github-actions github-actions Bot added the ready ONLY add when PR is ready to merge/full CI is needed label Oct 30, 2026
@hongxiayang
hongxiayang disabled auto-merge October 31, 2026 21:08
github-actions Bot added a commit to vllm-project/recipes that referenced this pull request Oct 31, 2026
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@hongxiayang
hongxiayang enabled auto-merge (squash) October 31, 2026 21:16
@hongxiayang

Copy link
Copy Markdown
Contributor

/ci run

@github-actions

Copy link
Copy Markdown

✅ Triggered Buildkite CI #98963 for commit a478c2178d96.

@hongxiayang
hongxiayang merged commit b03e788 into vllm-project:main Oct 31, 2026
13 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in AMD Oct 31, 2026
vllm-recipes-publisher Bot pushed a commit to vllm-project/recipes that referenced this pull request Oct 31, 2026
vllm-project/vllm@main:recipes 3f9d18473869 → 564ac0de1b22 [latest.vllm]
vllm-project/vllm@3f9d184...564ac0d

Commits:
- vllm-project/vllm@564ac0de1b22 [Docs][ROCm] Mistral Large 4 recipe: adds TP4 and lowest-latency presets  (vllm-project/vllm#64792)
- vllm-project/vllm@b03e78881268 [Docs][ROCm] Add MiniMax-M3.1-Flash MI355X TP4 AgentX preset (vllm-project/vllm#64805)

Recipes:
- MiniMaxAI/MiniMax-M3.1-Flash (modified): https://recipes.vllm.ai/MiniMaxAI/MiniMax-M3.1-Flash
- mistralai/Mistral-Large-4-1T-A52B (modified): https://recipes.vllm.ai/mistralai/Mistral-Large-4-1T-A52B

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions Bot added a commit to monkeyLoveding/recipes that referenced this pull request Oct 31, 2026
…mni@beeedd99df33

vllm-project/vllm@main:recipes 17550580e932 → 564ac0de1b22 [latest.vllm]
vllm-project/vllm@1755058...564ac0d

Commits:
- vllm-project/vllm@564ac0de1b22 [Docs][ROCm] Mistral Large 4 recipe: adds TP4 and lowest-latency presets  (vllm-project/vllm#64792)
- vllm-project/vllm@b03e78881268 [Docs][ROCm] Add MiniMax-M3.1-Flash MI355X TP4 AgentX preset (vllm-project/vllm#64805)
- vllm-project/vllm@3f9d18473869 [Docs][ROCm] Add DeepSeek-V4.1-Flash MI355X TP8 concurrency-1 AgentX preset (vllm-project/vllm#64804)

Recipes:
- MiniMaxAI/MiniMax-M3.1-Flash (modified): https://recipes.vllm.ai/MiniMaxAI/MiniMax-M3.1-Flash
- deepseek-ai/DeepSeek-V4.1-Flash (modified): https://recipes.vllm.ai/deepseek-ai/DeepSeek-V4.1-Flash
- mistralai/Mistral-Large-4-1T-A52B (modified): https://recipes.vllm.ai/mistralai/Mistral-Large-4-1T-A52B

vllm-project/vllm-omni@main:recipes aa04b1caf72f → beeedd99df33 [latest.vllm-omni]
vllm-project/vllm-omni@aa04b1c...beeedd9

Commits:
- vllm-project/vllm-omni@beeedd99df33 [Model] Add Kokoro-82M single-stage TTS (vllm-project/vllm-omni#9637)

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions Bot added a commit to Yogaraj-Alamenda/recipes that referenced this pull request Oct 31, 2026
…mni@beeedd99df33

vllm-project/vllm@main:recipes 58f245c69dd3 → 564ac0de1b22 [latest.vllm]
vllm-project/vllm@58f245c...564ac0d

Commits:
- vllm-project/vllm@564ac0de1b22 [Docs][ROCm] Mistral Large 4 recipe: adds TP4 and lowest-latency presets  (vllm-project/vllm#64792)
- vllm-project/vllm@b03e78881268 [Docs][ROCm] Add MiniMax-M3.1-Flash MI355X TP4 AgentX preset (vllm-project/vllm#64805)
- vllm-project/vllm@3f9d18473869 [Docs][ROCm] Add DeepSeek-V4.1-Flash MI355X TP8 concurrency-1 AgentX preset (vllm-project/vllm#64804)

Recipes:
- MiniMaxAI/MiniMax-M3.1-Flash (modified): https://recipes.vllm.ai/MiniMaxAI/MiniMax-M3.1-Flash
- deepseek-ai/DeepSeek-V4.1-Flash (modified): https://recipes.vllm.ai/deepseek-ai/DeepSeek-V4.1-Flash
- mistralai/Mistral-Large-4-1T-A52B (modified): https://recipes.vllm.ai/mistralai/Mistral-Large-4-1T-A52B

vllm-project/vllm-omni@main:recipes 0cc590a075d7 → beeedd99df33 [latest.vllm-omni]
vllm-project/vllm-omni@0cc590a...beeedd9

Commits:
- vllm-project/vllm-omni@beeedd99df33 [Model] Add Kokoro-82M single-stage TTS (vllm-project/vllm-omni#9637)

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions Bot added a commit to Roderick-Wu/recipes that referenced this pull request Oct 31, 2026
…mni@3189c3720f2a

vllm-project/vllm@main:recipes d90e35cffa21 → 564ac0de1b22 [latest.vllm]
vllm-project/vllm@d90e35c...564ac0d

Commits:
- vllm-project/vllm@564ac0de1b22 [Docs][ROCm] Mistral Large 4 recipe: adds TP4 and lowest-latency presets  (vllm-project/vllm#64792)
- vllm-project/vllm@b03e78881268 [Docs][ROCm] Add MiniMax-M3.1-Flash MI355X TP4 AgentX preset (vllm-project/vllm#64805)
- vllm-project/vllm@3f9d18473869 [Docs][ROCm] Add DeepSeek-V4.1-Flash MI355X TP8 concurrency-1 AgentX preset (vllm-project/vllm#64804)

Recipes:
- MiniMaxAI/MiniMax-M3.1-Flash (modified): https://recipes.vllm.ai/MiniMaxAI/MiniMax-M3.1-Flash
- deepseek-ai/DeepSeek-V4.1-Flash (modified): https://recipes.vllm.ai/deepseek-ai/DeepSeek-V4.1-Flash
- mistralai/Mistral-Large-4-1T-A52B (modified): https://recipes.vllm.ai/mistralai/Mistral-Large-4-1T-A52B

vllm-project/vllm-omni@main:recipes 5b7f2c0e0f3e → 3189c3720f2a [latest.vllm-omni]
vllm-project/vllm-omni@5b7f2c0...3189c37

Commits:
- vllm-project/vllm-omni@beeedd99df33 [Model] Add Kokoro-82M single-stage TTS (vllm-project/vllm-omni#9637)

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions Bot added a commit to yiminghub2024/recipes that referenced this pull request Oct 31, 2026
…mni@3189c3720f2a

vllm-project/vllm@main:recipes d90e35cffa21 → 564ac0de1b22 [latest.vllm]
vllm-project/vllm@d90e35c...564ac0d

Commits:
- vllm-project/vllm@564ac0de1b22 [Docs][ROCm] Mistral Large 4 recipe: adds TP4 and lowest-latency presets  (vllm-project/vllm#64792)
- vllm-project/vllm@b03e78881268 [Docs][ROCm] Add MiniMax-M3.1-Flash MI355X TP4 AgentX preset (vllm-project/vllm#64805)
- vllm-project/vllm@3f9d18473869 [Docs][ROCm] Add DeepSeek-V4.1-Flash MI355X TP8 concurrency-1 AgentX preset (vllm-project/vllm#64804)

Recipes:
- MiniMaxAI/MiniMax-M3.1-Flash (modified): https://recipes.vllm.ai/MiniMaxAI/MiniMax-M3.1-Flash
- deepseek-ai/DeepSeek-V4.1-Flash (modified): https://recipes.vllm.ai/deepseek-ai/DeepSeek-V4.1-Flash
- mistralai/Mistral-Large-4-1T-A52B (modified): https://recipes.vllm.ai/mistralai/Mistral-Large-4-1T-A52B

vllm-project/vllm-omni@main:recipes 5b7f2c0e0f3e → 3189c3720f2a [latest.vllm-omni]
vllm-project/vllm-omni@5b7f2c0...3189c37

Commits:
- vllm-project/vllm-omni@beeedd99df33 [Model] Add Kokoro-82M single-stage TTS (vllm-project/vllm-omni#9637)

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

This branch was previously deployed

1 inactive deployment
recipes-preview — a478c217 Deployed Oct 31, 2026 by hongxiayang via dispatch #234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minimax ready ONLY add when PR is ready to merge/full CI is needed recipe rocm Related to AMD ROCm

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants