Repository navigation
[AMD] MiniMax-M3.1-Flash MI355X vLLM agentic: MiniMaxAI checkpoint + MXFP4 MoE, SP prefill from c32, c64 CPU KV offload / [AMD] MiniMax-M3.1-Flash MI355X vLLM agentic:MiniMaxAI checkpoint + MXFP4 MoE,c32 起开启 SP 预填充,c64 开启 CPU KV 卸载 - #4463
benenzhu wants to merge 9 commits into
Conversation
…MXFP4 MoE, SP prefill from c16, c64 SimpleCPUOffload Signed-off-by: Taoyu Zhu <[email protected]>
Signed-off-by: Taoyu Zhu <[email protected]>
|
Thanks for the contribution!
中文感谢你的贡献!
|
从 changelog 条目中删除测量结果行。 Signed-off-by: Taoyu Zhu <[email protected]>
…ation 0.9) c64 的 CPU KV 层由 1199 GB 增加到 1349 GB(dram-utilization 0.9)。 Signed-off-by: Taoyu Zhu <[email protected]>
c16 同时运行两个 DSpark 配置:7 个草稿 + mono decode,以及 3 个草稿 + DBO + SP 预填充。 Signed-off-by: Taoyu Zhu <[email protected]>
按 review 删除概述性注释,只保留针对具体取值的单行说明。 Signed-off-by: Taoyu Zhu <[email protected]>
…entry after main's new entries) Signed-off-by: Taoyu Zhu <[email protected]>
| # c16 runs on both DSpark arms. | ||
| - { tp: 4, kv-offloading: none, spec-decoding: mtp, conc-list: [16], srt-recipe: 'agentic.yaml:zip_override_tp4_dspark7_mono[4]' } | ||
| - { tp: 4, kv-offloading: none, spec-decoding: mtp, conc-list: [16], srt-recipe: 'agentic.yaml:zip_override_tp4_dspark3[0]' } |
There was a problem hiding this comment.
🔴 If a rerun of failed jobs covers only one c16 arm, Klaud drops the other arm's c16 result and the final-sweep verification fails. The base branch had only one c16 point, so this could not happen. The two c16 rows have the same agentic_key because that key leaves out the recipe and its fingerprint. superseded_attempt_files treats an older-attempt file with the same key as replaced and discards it. Fix: keep the two c16 points from colliding, either by including recipe_fingerprint in agentic_key (artifacts.py:169-183) or by running c16 on only one arm. The first change is outside this diff.
Why this was flagged
After the split, c16 runs twice: once as 'agentic.yaml:zip_override_tp4_dspark7_mono[4]' and once as 'agentic.yaml:zip_override_tp4_dspark3[0]' (amd-master.yaml:1573-1574). Both rows produce mi355x / minimaxm31flash / vllm / fp4 / tp4 / pp1 / dcp1 / pcp1 / ep1 / dp_attention False / conc 16 / ('none',''), so agentic_key (infx/results/artifacts.py:169-183) is the same for both. superseded_attempt_files (artifacts.py:195-213) drops any file whose rows all have a lower run_attempt than the newest attempt seen for that key. If only one c16 job reruns in attempt 2, the other arm's attempt-1 file is dropped by agentic_point_files. check_coverage (klaud/validation.py:283-301) still expects both (recipe_fingerprint, 16, image) identities, so it raises "Full-sweep result coverage or consistency failed". On the base branch c16 ran on one arm only, so no two rows shared a key.
Verification: Trigger: a final sweep where only one of the two c16 jobs reruns while the other c16 job's attempt-N artifact is kept. agentic_key (infx/results/artifacts.py:123-183) leaves out recipe_fingerprint, so both c16 rows get the same key. superseded_attempt_files (artifacts.py:195-213) drops the other arm's file, and klaud/validation.py check_coverage raises "Full-sweep result coverage or consistency failed".
There was a problem hiding this comment.
Fixed in da4db81: c16 now runs on the DSpark 7 + mono arm only (it won the c16 A/B in run 40175252224), so no two points share an agentic_key.
…8 KV) Run 40175252224, both c16 arms at ~18 min of profiling: DSpark 7 + mono intvty p50 222 vs 184, p95 587 vs 340, output 623 vs 605 tok/s. One c16 point also keeps the two arms from sharing an agentic_key on partial reruns. Signed-off-by: Taoyu Zhu <[email protected]>
|
/use 40178276059 |
|
@benenzhu staged run 40178276059. This run remains available across future |
Summary
minimaxm31flash-fp4-mi355x-vllm-agentic-dspark(MiniMax-M3.1-Flash AgentX, MI355X, vLLM), same imageae868121:MiniMaxAI/MiniMax-M3.1-Flashinstead ofamd/MiniMax-M3.1-Flash-Quark-MXFP4.quantization-config {"moe":"mxfp4"}quantizes the NVFP4 routed experts to MXFP4 at load, so the MoE still runs W4A4 on AITER (AITER_MXFP4_MXFP4).VLLM_ROCM_MINIMAX_M3_SP_PREFILL=1on top of DBO. The image turns it on for this checkpoint; on the Quark export it stays off, because the MXFP8 dense kernels sit where the SP code does not look.SimpleCPUOffloadConnector(eager), 1349 GB of host memory (dram-utilization 0.9 of the TP4 lane), about 24M tokens. The c64 working set outgrows the 14.2M-token GPU KV cache; the CPU tier serves the misses.AI model disclosure
claude-opus-5-5) via Claude Code, the only model involved.PR checklist and change type
Type of Change
Checklist
python -m infx.matrix.changed --base origin/mainlists affected config keys, I have appended one new entry covering them to the physical end ofinferencex-e2e/perf-changelog.yaml; if it lists none, I have added none. I have not edited historical entriesinferencex-e2e/perf-changelog.yamlentry, it carries exactly one primary sweep label (a maintainer applies it on fork PRs):full-sweep-fail-fast(recommended),full-sweep-enabled, ornon-canary-full-sweep-enabled. Optional modifiersall-evals,evals-only, andagentx-fastrequire a primary label; the last two block reuse while applied.OWNER/MEMBER/COLLABORATOR) has commented/use <run_id>(or the legacy/reuse-sweep-run) on this PR. Do this only once there is a final full sweep that is all green with evals passing, since after this comment the primary sweep label will no longer automatically kick off new sweeps. Remove and re-add the primary sweep label to force a new sweep.中文
概要
minimaxm31flash-fp4-mi355x-vllm-agentic-dspark(MiniMax-M3.1-Flash AgentX,MI355X,vLLM),镜像不变(ae868121):amd/MiniMax-M3.1-Flash-Quark-MXFP4改为MiniMaxAI/MiniMax-M3.1-Flash。quantization-config {"moe":"mxfp4"}在加载时把 NVFP4 路由专家量化为 MXFP4,MoE 仍在 AITER 上以 W4A4 运行(AITER_MXFP4_MXFP4)。VLLM_ROCM_MINIMAX_M3_SP_PREFILL=1。镜像对该 checkpoint 启用 SP;Quark 导出的 checkpoint 上 SP 不生效,因为其 MXFP8 dense kernel 不在 SP 代码查找的位置。SimpleCPUOffloadConnector(eager),主机内存 1349 GB(TP4 lane 的 dram-utilization 0.9),约 24M token。c64 的工作集超出 14.2M token 的 GPU KV cache,未命中的部分由 CPU 层提供。改动类型:配置变更。检查清单见上方折叠区。
AI 模型使用说明:Claude Opus 5.5(
claude-opus-5-5),通过 Claude Code 使用,是唯一参与的模型,负责配方与配置修改、changelog 条目和 PR 说明。