Repository navigation
[AMD] MiniMax-M3.1-Flash MI355X vLLM: PD-disaggregated AgentX over Mooncake / [AMD] MiniMax-M3.1-Flash MI355X vLLM:基于 Mooncake 的 PD 分离 AgentX - #5090
Conversation
|
Thanks for the contribution!
中文感谢你的贡献!
|
| environment: | ||
| NCCL_SOCKET_IFNAME: '@fabric.socket-ifname' | ||
| GLOO_SOCKET_IFNAME: '@fabric.socket-ifname' | ||
| NCCL_IB_HCA: '@fabric.rdma-devices' | ||
| NCCL_IB_GID_INDEX: '@fabric.rdma-gid-index' |
There was a problem hiding this comment.
🔴 Every sweep job on mi355x-amds may re-download the 240 GB checkpoint per engine, or fail to load it, instead of reading the shared HF cache. This recipe sets no HF_HOME, so the engines ignore the cache the cluster mounts at /hf_hub_cache/hub (runners.yaml:834). Every other mi355x-amds multi-node recipe that loads an hf: model sets it, as do the gb200 and gb300 MiniMax-M3.1-Flash disagg-mooncake.yaml recipes. Fix: add HF_HOME: /hf_hub_cache and HF_HUB_CACHE: /hf_hub_cache/hub to base.environment, so prefill and both decode engines resolve the shared snapshot.
Why this was flagged
The trigger is any matrix point from minimaxm31flash-fp4-mi355x-vllm-agentic-dspark-disagg, launched through python -m infx.launch on cluster:mi355x-amds. That model has no models.entries record on mi355x-amds (runners.yaml:790-795), so models.model_paths returns {} for agentic points (models.py:159-169) and srtctl must resolve hf:amd/MiniMax-M3.1-Flash-Quark-MXFP4 itself. The cluster mounts shared-hf-hub-cache at /hf_hub_cache/hub (runners.yaml:833-834). Neither environment (lines 29-33) nor common_env (lines 93-121) sets HF_HOME or HF_HUB_CACHE. Without it, the three vLLM engines fall back to the container's default cache. Unless the runner already exports HF_HOME, that means three 240 GB downloads into writable container layers per job, two of them on the decode node, or a load failure. The PR says srtctl has never run this lane end to end, so no run has tested this.
Verification: Trigger: any sweep point of minimaxm31flash-fp4-mi355x-vllm-agentic-dspark-disagg launched through infx.launch on mi355x-amds. runners.yaml:833-834 mounts the shared cache at /hf_hub_cache/hub. The new recipe's common_env and role envs (variants file lines 29-33, 90-117, 128-130) set no HF_HOME, HF_HUB_CACHE or HUGGINGFACE_HUB_CACHE.
| # MiniMax-M3.1-Flash AgentX on MI355X with vLLM PD disaggregation: one TP4 prefill and two | ||
| # TP4 decode engines move KV over vLLM's MooncakeConnector (RDMA, prefill writes into | ||
| # decode) behind vllm-router with consistent-hash routing. Checkpoint, image and engine | ||
| # settings follow the single-node lane | ||
| # (single_node/srt-slurm-recipes/minimaxm31flash/vllm/mi355x-fp4/agentic.yaml); DBO runs on | ||
| # the prefill only. |
There was a problem hiding this comment.
🟡 (optional) Maintainers get new header and provenance comment blocks that AGENTS.md's mandatory Comments rule forbids in every file. The recipe opens with a block describing its topology and saying settings follow the single-node lane, a header plus history. Fix: delete the three descriptive blocks, and keep any measured reason as a one-line comment on the exact key it explains (for example the CONC/8 decode cap on max-num-seqs). Same pattern at 3 sites (disagg-mooncake-variants.yaml:1-6, disagg-mooncake-variants.yaml:144-146, configs/amd-master.yaml:976-978). [also at: inferencex-e2e/configs/amd-master.yaml:978 - nit: Maintainers get descriptive header comments that the mandatory comment rule in AGENTS.md forbids in every file. The new master-config entry opens with a 3-line block…]
Why this was flagged
AGENTS.md:56-57 says: "No header comments describing a file, topology, config, recipe, override, or section" and "No history: ... where it came from". disagg-mooncake-variants.yaml:1-6 is a file header that describes the topology and says the settings follow the single-node lane's agentic.yaml, which is provenance. disagg-mooncake-variants.yaml:144-146 is a section header that sits above all the override_cNN blocks and describes them. configs/amd-master.yaml:976-978 is a header that describes the new config entry and its topology. The base branch has none of these blocks. A pre-existing header at amd-master.yaml:1059 is precedent only and does not make the rule optional. The rule says git and perf-changelog.yaml are the record, and the changelog entry already says all of this.
Verification: AGENTS.md:54-58 says: "No header comments describing a file, topology, config, recipe, override, or section." It also bans history. The new recipe opens with that kind of header at disagg-mooncake-variants.yaml:1-6. The new master-config entry at amd-master.yaml:976-978 opens the same way. Nothing breaks at runtime because of these comments.
bd9d171 to
5a71a2c
Compare
0e7d4eb to
c144093
Compare
73a493b to
a269a42
Compare
|
Generally most InferenceX submissions don't need to add changes to the infx package. On the off chance they do, generally the diff is small. Please prompt your agent to clean your PR to keep your diff to only necessary & minimal changes too. We have an increased code quality bar for changes to the infx package. 中文大多数 InferenceX 提交通常不需要修改 infx 包。即使确实需要,改动通常也很小。请让你的 agent 清理 PR,使改动只包含必要且最小的内容。infx 包的改动有更高的代码质量要求。 |
Signed-off-by: whx-sjtu <[email protected]> Co-authored-by: Cursor <[email protected]>
…engines Set HF_HOME and HF_HUB_CACHE in the prefill and decode env so the engines and srtctl's pre-download resolve the shared hub cache, drop the header comments AGENTS.md forbids, and fill in the changelog pr-link. Co-authored-by: Cursor <[email protected]> Signed-off-by: whx-sjtu <[email protected]>
b55ab80 to
7c1f09d
Compare
|
@seungrokj staged run 44917863836. This run remains available across future |
…i355x-vllm-disagg-mooncake # Conflicts: # inferencex-e2e/perf-changelog.yaml
…ntry with the diff - Add MiniMax-M3.1-Flash PD-disaggregated AgentX on MI355X under vllm-disagg, on the single-node lane's image vllm/vllm-openai-rocm:minimax-m31-flash-75bc8cf1: one TP4 prefill and two TP4 decode vLLM engines move KV over MooncakeConnector (RDMA) behind vllm-router 0.1.16 with consistent-hash routing, at concurrency 40, 48, 56, 64, 72 and 80 (DRAM utilization 0.9 at c40-c64, 1.0 at c72-c80). - Both roles keep the single-node serving args: NVFP4 KV and indexer caches, DSpark with 7 speculative tokens, AITER MoE, block size 128 and 1M context. - Prefill admits 2x CONC with DBO at 32768 batched tokens and holds a SimpleCPUOffloadConnector host KV tier of 1349 GB (1499 GB at c72 and c80); at c80 it schedules at most 4096 tokens of a prompt per step at 0.75 GPU memory utilization. - Each decode engine runs without DBO at 8192 batched tokens, with max-num-seqs 5, 6, 7, 8, 10 and 10 from c40 to c80 and CUDA graphs captured in multiples of 8 up to 8x that batch. - Both roles set NCCL_DMABUF_ENABLE=0, VLLM_EXECUTE_MODEL_TIMEOUT_SECONDS=1200, a 3600 s HTTP keep-alive (900 s on single node) and the Mooncake RDMA env (GID index, traffic class, one concurrent MR registration, 600 s connector timeout; 1 GiB max MR size on prefill, 256 MiB on decode). - Bump utils/srt-slurm from 2d9079c to cc9db05 (21 commits), which adds NVIDIA/srt-slurm#669: one bootstrap port per prefill engine and Router start after every worker's health check. The shared vllm-router.sh setup script now raises the worker parent shell's soft RLIMIT_MEMLOCK to its hard limit. - Draft data type unchanged: the DSpark draft from the checkpoint's dspark/ subfolder runs as shipped, with MXFP8 attention and MLP projections, BF16 fc, norms and the shared target embedding and LM head, and an FP8 E4M3 draft KV cache. - 在 MI355X 上以 vllm-disagg 新增 MiniMax-M3.1-Flash PD 分离 AgentX,沿用单机 lane 的镜像 vllm/vllm-openai-rocm:minimax-m31-flash-75bc8cf1:1 个 TP4 prefill 和 2 个 TP4 decode vLLM 引擎通过 MooncakeConnector(RDMA)传输 KV,前端为采用一致性哈希路由的 vllm-router 0.1.16,并发为 40、48、56、64、72 和 80(c40-c64 的 DRAM 利用率为 0.9,c72-c80 为 1.0)。 - 两个角色都沿用单机的服务参数:NVFP4 KV 和 indexer cache、7 个推测 token 的 DSpark、AITER MoE、block size 128 和 1M 上下文。 - Prefill 准入 2x CONC,开 DBO,batched tokens 为 32768,并带 1349 GB 的 SimpleCPUOffloadConnector 主机 KV 层(c72 和 c80 为 1499 GB);c80 时每步最多调度一个 prompt 的 4096 个 token,GPU 显存利用率为 0.75。 - 每个 decode 引擎不开 DBO,batched tokens 为 8192,c40 到 c80 的 max-num-seqs 依次为 5、6、7、8、10 和 10,CUDA graph 按 8 的倍数捕获到该 batch 的 8 倍。 - 两个角色都设置 NCCL_DMABUF_ENABLE=0、VLLM_EXECUTE_MODEL_TIMEOUT_SECONDS=1200、3600 s HTTP keep-alive(单机为 900 s)以及 Mooncake RDMA 环境变量(GID index、traffic class、一个并发 MR 注册、600 s connector 超时;最大 MR 大小 prefill 为 1 GiB,decode 为 256 MiB)。 - 将 utils/srt-slurm 从 2d9079c 升级到 cc9db05(21 个提交),其中包含 NVIDIA/srt-slurm#669:每个 prefill 引擎一个 bootstrap 端口,并在所有 worker 健康检查通过后启动 Router。共享的 vllm-router.sh setup 脚本现在会把 worker 父 shell 的 RLIMIT_MEMLOCK 软限制提升到硬限制。 - 草稿模型数据类型不变:checkpoint dspark/ 子目录中的 DSpark 草稿模型按发布精度运行,attention 和 MLP 投影为 MXFP8,fc、norm 以及与目标模型共享的 embedding 和 LM head 为 BF16,草稿 KV cache 为 FP8 E4M3。 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Draft data types: no change. The DSpark draft is the
The image
In the overlay, the AMD fused draft path keeps the same data types:
The recipe sets no Accuracy-sensitive optimizations: none beyond the checkpoint's native formats. The accuracy-sensitive optimization policy (#4705) is still open, so it is not applied here; the settings are recorded below. I checked the prefill, both decode engines and the draft worker, including the image
No three-arm evaluation is attached. No model-trainer veto was found in the PR or linked issues. 中文草稿模型数据类型:无变化。 DSpark 草稿模型是
镜像
overlay 中的 AMD 融合草稿路径保持相同的数据类型:
recipe 没有设置 精度敏感优化:除 checkpoint 原生格式外未使用。 精度敏感优化政策(#4705)仍未合入,这里不适用,下表记录各项设置。我检查了 prefill、两个 decode 引擎和草稿 worker,包括镜像
本 PR 没有附三组对照评测。在 PR 和关联 issue 中未发现模型训练方的否决。 |
| assert expected <= set(installs[0]) | ||
|
|
||
|
|
||
| @pytest.mark.skipif(sys.platform != "linux", reason="prlimit requires Linux") |
There was a problem hiding this comment.
what is need for this
There was a problem hiding this comment.
resource.prlimit is Linux-only, so this guard skips the test on other platforms. The test ensures the setup script raises the parent launch process's soft memlock limit to its existing hard limit. Raising only the setup child's limit would leave workers unchanged and could reintroduce the RDMA QP allocation failure.
中文
resource.prlimit 仅支持 Linux,因此其他平台跳过这项测试。测试确保 setup 脚本把父启动进程的 memlock 软限制提升至已有硬限制。若只修改 setup 子进程,worker 的限制不会改变,可能再次出现 RDMA QP 分配失败。
| model-prefix: minimaxm31flash | ||
| runner: cluster:mi355x-amds | ||
| precision: fp4 | ||
| framework: vllm-disagg |
There was a problem hiding this comment.
can u have framework as vllm plz to reduce # of configs
+viz @seungrokj
| pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5119 | ||
|
|
||
| - config-keys: | ||
| - minimaxm31flash-fp4-mi355x-vllm-disagg-agentic-dspark |
There was a problem hiding this comment.
delete the /reuse comments and update perfchange and the agg image too to form one curve +viz @seungrokj
…single-node key - Rename minimaxm31flash-fp4-mi355x-vllm-disagg-agentic-dspark to minimaxm31flash-fp4-mi355x-vllm-agentic-dspark-disagg and serve it as framework vllm (disagg true), following the #4928 single-node/-disagg key pair. - The changelog block now lists both minimaxm31flash-fp4-mi355x-vllm-agentic-dspark (from #5035, rerun unchanged) and the -disagg key, so both topologies are measured in one sweep. - Rename the PD recipe base name to minimaxm31flash-fp4-mi355x-vllm-agentic-dspark-disagg-mooncake. - 将 minimaxm31flash-fp4-mi355x-vllm-disagg-agentic-dspark 重命名为 minimaxm31flash-fp4-mi355x-vllm-agentic-dspark-disagg,并以 framework vllm(disagg true)运行,沿用 #4928 的单节点 / -disagg 成对 key 方式。 - changelog 条目同时列出 minimaxm31flash-fp4-mi355x-vllm-agentic-dspark(来自 #5035,原样重跑)和 -disagg key,使两种拓扑在同一次 sweep 中测量。 - 将 PD recipe 的 base name 改为 minimaxm31flash-fp4-mi355x-vllm-agentic-dspark-disagg-mooncake。 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
/use 45233004275 |
|
@seungrokj staged run 45233004275. This run remains available across future |
|
/reuse-sweep-run 45233004275 |
seungrokj
left a comment
There was a problem hiding this comment.
As a PR reviewer and CODEOWNER, I have reviewed this and have:
Checklist items
- Verified that as of the moment of typing this, this is the latest version of PR_REVIEW_CHECKLIST.md
- Verified that the general code quality meets the InferenceX standard and does not make the code quality any worse.
- Verified that this PR has passed PR validation. Please link to GitHub Action workflow that shows this.
- Verified that this PR passes evals. Please link to GitHub Action workflow that shows this.
- Verified that speculative decoding PRs uses chat templates to align the AL distribution to real world
- Verified that every draft model and draft head is served as it ships: the draft that ships with the served checkpoint, at its stored precision, through the pinned upstream image's default handling, with the shipped and effective draft precision recorded in the additional detail section. No submission-side quantization, dtype override, checkpoint substitution, or patch may lower draft precision below that default, regardless of eval results or AL. Explicitly verified that
SGLANG_NVFP4_CKPT_FP8_NEXTN_MOEis not enabled in the effective recipe, including inherited settings; enabling it is prohibited going forward, and historical runs do not grant an exception. See Draft-model precision for what counts as the default and the MLPerf comparison. - For agentic workloads: verified that speculative-decoding configs (EAGLE / MTP / draft models) run with simulated synthetic acceptance, with the acceptance-length value taken from the committed golden AL curve in infx/golden_al_distribution/ for that model, thinking mode, and draft length. A submission may choose any supported draft length, but it may not substitute a different acceptance target.
- Verified against the current MODELS.md that this PR does not submit a deprecated model, scenario, or model-scenario combination.
- Verified that the model architecture isn't changed with benchmark hacks like using --hf-overrides to skipping indexer for every x layers on models that don't natively support this. As a general rule, we won't accept optimizations that reduces the number of model architecture FLOPs. Anything that makes that same computation run faster is fair game; target/verifier FLOPs at lower precisions is fine, given that the config passes private evals, but this does not permit lowering draft-model or draft-head precision below what ships. As an general north star princple, we should only use optimizations which is used in production by customers that care about accuracy
- Verified that new models disable integer all-reduce, with SGLang ROCm explicitly setting
ROCM_QUICK_REDUCE_QUANTIZATION=NONE. Existing models are grandfathered per MODELS.md. - For affected Dynamo TRT-LLM benchmarks, verified that iteration/KV-cache metrics are collected and published under the pinned Dynamo implementation and effective engine settings. Resolve the installed Dynamo version separately from the container tag; use supported metrics controls without requiring KV events. Record the version and configuration evidence in the additional detail section. See verifier Check 17. N/A for unaffected serving paths or frameworks without these Dynamo settings.
- If an company claims that they support vLLM/SGLang as first class LLM inference engines on their hardware, I have verified that the respective vLLM submission made using upstream https://hub.docker.com/u/vllm docker repo, upstream SGLang https://hub.docker.com/u/lmsysorg docker repo. The only exceptions are for new hardware, such as MI455X UALoE72, Vera Rubin NVL72, Rubin NVL8, etc., and for new model architectures where there is an actual reason why vLLM/SGLang does not fundamentally support them yet as supported by vLLM/SGLang community maintainers
- For official InferenceX (non-preview), verified that established models use official upstream engine images built from
mainormaster(or the equivalent default development branch), or meet the community-engine branch exception: the upstream maintainers (Inferact for vLLM, RadixArk for SGLang, and LightSeek for TokenSpeed) approve the branch/image for the submission, the upstream PRs must merge in a timely manner after submission, and the submission must then move to a main-branch image. For this exception, linked the upstream PRs, maintainer approval, and image build/source provenance in the additional detail section. New models using model-enablement branches must transition within a reasonable time after release. See MODELS.md. - If an company claims that they support vLLM/SGLang as first class upstream in-tree LLM inference engines on their hardware, I have have verified that the respective vLLM/SGLang submission has been made before additional frameworks (TRT-LLM, ATOM, etc.). The only exceptions are for new hardware, such as MI455X UALoE72, Vera Rubin NVL72, Rubin NVL8, etc., and for new model architectures where there is an actual reason why vLLM/SGLang does not fundamentally support them yet.
- Verified that every affected vLLM/SGLang production serving configuration in this PR, including Dynamo deployments, is documented in the official vLLM recipes and/or the SGLang cookbook, for both single-node and multi-node aggregated and disaggregated serving. The documentation covers production-useful flags, environment variables, and launch commands (including prefill, decode, and router/frontend commands for disaggregation); InferenceX-only benchmark/harness settings are excluded with reasoning in the additional detail section:
- I linked the corresponding upstream PR in the vLLM recipe repo or SGLang cookbook source repo and verified that it is MERGED before this InferenceX PR merges. An opened, draft, or closed-without-merge upstream PR does not satisfy this requirement. If the matching recipe was already published, I linked the published recipe/cookbook page in the additional detail section below.
- Verified that this PR does not patch the inference engine or serving stack — the pinned image must run as shipped. This covers .patch files / git apply / patch, inline patches embedded in benchmark scripts (e.g. a python3/sed heredoc that rewrites installed engine sources before serving), in-place edits of site-packages, monkey-patching, overwriting container files, and installing forked/rebuilt engine wheels on top of the pinned image. The only exception is a patch covered by a filled-out waiver at docs/waiver/
<PR_NUMBER>.md— named after the PR that introduces the patch and filed in that same PR, stating what is patched, why the unmodified upstream image cannot run this benchmark, the upstream PR/issue link, and the removal plan — which I have linked below in the additional detail section. - If this PR uses
append-only: true, verified that it only adds generated points or recipe variants inside a selected existing config/scenario and existing same-image visual curve: every previously generated point remains present with the same recipe, no prior point is removed or rerun, and every benchmark-affecting change in the complete diff can affect only the corresponding newly appended points (never an existing point), regardless of which file contains it. - If any of the above criteria cannot reasonably be satisfied, I have provided additional reasoning below.
- Reported measured throughput/E2EL Pareto counts and evidence per affected curve (≥5 points strongly recommended). Below 5 or unverifiable: tag a core maintainer for review; recorded admin bypass required before merge. N/A if no curves are affected. Details.
Additional detail section:
- Draft data types and accuracy-sensitive optimizations: #5090 (comment)
- Recipes:
Signed: seungrokj
✅✅✅ Verdict: PASS ✅✅✅Passed and not applicable checks✅ Check 0 (CODEOWNER): PASS — ✅ Check 1 (Sweep on in-PR commit): PASS — In-PR commit ✅ Check 2 (Evals): PASS — Run 45233004275 ran 6 PD GSM8K evals (strict 96.21%–96.44%) and the single-node c64 eval (96.29%), each with n=1319 on image ✅ Check 3 (Upstream recipe): PASS — vllm#67857 merged 2026-11-23 as ✅ Check 4 (Reuse command): PASS — ✅ Check 5 (Checklist template): PASS — All 20 items of the current ✅ Check 6 (Upstream images): PASS — Both keys use ✅ Check 7 (Deprecated models): PASS — ✅ Check 8 (Architecture hacks): PASS — There is no ✅ Check 9 (Chat template): PASS — The AgentX trace replay drives the chat endpoint ( ✅ Check 10 (Engine patches): PASS — The engine is not patched at runtime. ✅ Check 11 (Golden AL): PASS — ➖ Check 12 (Append-only): N/A — The new changelog entry has no ✅ Check 13 (Draft precision): PASS — The DSpark draft is the checkpoint's ✅ Check 14 (Pareto coverage): PASS — For the one series, minimaxm31flash/agentic/mi355x_vllm/fp4/2026-11-23/P90 E2EL from run 45233004275 ✅ Check 15 (PR description): PASS — The body's claims match the pinned recipe and the run. These include the 1P(TP4)+2D(TP4) topology, concurrency 40–80, decode max-num-seqs 5/6/7/8/10/10, c80 at 4096 tokens and 0.75 memory, DRAM utilization 0.9/1.0, and PD GSM8K 96.21%–96.44% with single-node 96.29% on ➖ Check 16 (NVIDIA overview): N/A — Only MI355X (AMD) configurations are affected. ➖ Check 17 (Metrics publication): N/A — These are vLLM/vllm-router configs, not Dynamo TRT-LLM. ✅ Check 18 (Recipe consistency): PASS — Both changelog keys generate at the pinned SHA. The master config (1×TP4 prefill, 2×TP4 decode, 12 GPUs) agrees with the recipe roles, and Assessed commit: |
Resolve perf-changelog.yaml conflict by keeping both entries, with #5090 appended last. Co-authored-by: Perplexity <[email protected]>
adibarra
left a comment
There was a problem hiding this comment.
LGTM
Created with Perplexity
Supersedes #4973 (MoRI-IO). Ready for review. Depends on recipes#1262, then vLLM#67857.
Adds
minimaxm31flash-fp4-mi355x-vllm-agentic-dspark-disagg: MiniMax-M3.1-Flash AgentX on MI355X with one TP4 prefill and two TP4 decoders, Mooncake KV transfer, and vllm-router 0.1.16. Concurrency 40-80 (step 8), 12 GPUs. Image, checkpoint, DSpark and NVFP4 caches follow #5035.Following #4928, the PD key is the
-disaggtwin of the single-node keyminimaxm31flash-fp4-mi355x-vllm-agentic-dspark(#5035) and usesframework: vllmwithdisagg: true, so both topologies sit under vLLM on the dashboard. The changelog block lists both keys, so this PR's sweep also reruns the unchanged single-node points (concurrency 1-64).cc9db05with merged #669. Relative to main's2d9079cthis pulls in 21 commits, including the Infera frontend, the Launcher ABC ([NV] DSR1 FP8 GB300 Dynamo TRT (1k8k) #654) and llm-d SGLang ([NV] dsr1 fp4 b200 trt agg mtp update #642). This PR's interim669-vllm-router-mooncake.patchis gone; main's two power-telemetry patches remain.dram-utilization0.9 at c40-c64, 1.0 at c72-c80). At c80 it caps prompt chunks at 4096 tokens and runs at 0.75 GPU memory, since 0.85 hits HIP OOM.NCCL_DMABUF_ENABLE=0,VLLM_EXECUTE_MODEL_TIMEOUT_SECONDS=1200, a 3600 s HTTP keep-alive (900 s on single node) and the Mooncake RDMA env.RLIMIT_MEMLOCKto its existing hard limit before launch, matching the Infera/SGLang Mooncake lane.vllm-router.shis shared with nine other recipes (DSv4.1-Flash and MiniMax-M3.1-Flash on B200/B300/GB200/GB300/MI355X, Kimi-K3.1 GB200 disagg), which run this step too; their config keys are unchanged. The engine image is unchanged.Draft data types: no change. The DSpark draft from the checkpoint's
dspark/subfolder runs as shipped: MXFP8 attention and MLP projections; BF16fc, norms and the shared target embedding and LM head; FP8 E4M3 draft KV cache. Accuracy-sensitive optimizations: none beyond the checkpoint's native formats. Quick reduce is off (NONE), there is no online quantization, shared experts are native MXFP8, there is no index sharing, and the NVFP4 KV and indexer caches are the checkpoint's QAT format. #4705 is not applied. Evidence: issuecomment-7090430008.Outside-srtctl tuning measured an 11%–28% gain over the #5035 single-node curve (run 43171131215) at equal p90 interactivity.
SA sweep 44917863836 passed six throughput points and six GSM8K evaluations on attempt 1, with no QP creation or Mooncake KV-transfer errors observed. After the key rename, SA sweep 45233004275 on a911fbf passed all six PD points and all seven single-node points, with GSM8K strict-match 96.21%–96.44% on the six PD evals and 96.29% on the single-node c64 eval; it is the run staged for this PR.
Risks:
formal_benchmark_result_missingin the collector); these results validate throughput and accuracy.Validation details
SA validation: PR head
7785faa2, test mergecf5c4484, srt-slurmcc9db05. Each throughput point completed its 3600 s target window. Each GSM8K evaluation used all 1319 samples, 5-shot, temperature 0, and natural probabilistic draft sampling with block rejection. Strict-match accuracy was 95.98%–97.19%, above the 90% floor. All six AL gates passed (3.9559–4.0601 against golden AL 4.04).The original outside-srtctl tuning comparison against #5035 follows.
One 3600 s AgentX run per point with aiperf, golden acceptance length 4.04. Throughput is (input + output) tok/s per GPU over 12 GPUs; interactivity is 1 / p90 full-response ITL, the dashboard's x axis. The single-node value is the
mi355x_vllmfrontier interpolated at the same x.AI model disclosure
claude-opus-5-5(Claude Code, for reviewer seungrokj): merged main, rewrote the changelog entry to match the diff, checked draft data types and accuracy-sensitive optimizations in the image's source, and updated this description.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./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.中文
取代 #4973(MoRI-IO)。可以 review。上游 vLLM recipe 为 vllm-project/vllm#67857,它需要先合入 vllm-project/recipes#1262(AMD 上支持 Mooncake PD)。
新增
minimaxm31flash-fp4-mi355x-vllm-agentic-dspark-disagg:MiniMax-M3.1-Flash 在 MI355X 上跑 AgentX,1 个 TP4 prefill 和 2 个 TP4 decode vLLM 引擎通过MooncakeConnector传输 KV,前端为 vllm-router 0.1.16,并发 40 到 80、步长 8(每个点 12 卡)。镜像、checkpoint、DSpark、NVFP4 cache 和引擎参数沿用 #5035 的单机 lane。参照 #4928,PD key 是单机 key
minimaxm31flash-fp4-mi355x-vllm-agentic-dspark(#5035)的-disagg配对 key,使用framework: vllm加disagg: true,两种拓扑在 dashboard 上都归在 vLLM 下。changelog 条目同时列出两个 key,因此本 PR 的 sweep 也会原样重跑单机点(并发 1-64)。cc9db05,删除本 PR 临时使用的669-vllm-router-mooncake.patch。相对 main 的2d9079c,共引入 21 个提交,包括 Infera 前端、Launcher ABC([NV] DSR1 FP8 GB300 Dynamo TRT (1k8k) #654)和 llm-d SGLang([NV] dsr1 fp4 b200 trt agg mtp update #642)。每个引擎的 bootstrap 端口、实际 connector 解析和 worker 健康等待均由上游实现;另外两份功耗相关补丁保留。dram-utilization为 0.9,c72-c80 为 1.0)。c80 把 prompt 分块上限设为 4096 token、显存利用率设为 0.75,因为 0.85 会 HIP OOM。NCCL_DMABUF_ENABLE=0、VLLM_EXECUTE_MODEL_TIMEOUT_SECONDS=1200、3600 s HTTP keep-alive(单机为 900 s)以及 Mooncake RDMA 环境变量。RLIMIT_MEMLOCK软限制提升到现有硬限制,与 Infera/SGLang Mooncake 路径采用的准备方式一致;硬限制保持不变,引擎镜像不打补丁。vllm-router.sh还被另外九个 recipe 共用(B200/B300/GB200/GB300/MI355X 上的 DSv4.1-Flash 和 MiniMax-M3.1-Flash,以及 Kimi-K3.1 GB200 disagg),它们也会执行这一步,但其 config key 不变。草稿模型数据类型:无变化。 checkpoint
dspark/子目录中的 DSpark 草稿模型按发布精度运行:attention 和 MLP 投影为 MXFP8;fc、norm 以及与目标模型共享的 embedding 和 LM head 为 BF16;草稿 KV cache 为 FP8 E4M3。精度敏感优化:除 checkpoint 原生格式外未使用。 quick reduce 关闭(NONE),没有在线量化,共享专家为原生 MXFP8,没有 index 共享,NVFP4 KV 和 indexer cache 是 checkpoint 的 QAT 格式。#4705 未应用。依据:issuecomment-7090430008。在 MI355X 上用同一镜像、参数和拓扑实测(不经 srtctl 启动):在相同 p90 interactivity 下,六个点都比 #5035 单机曲线(run 43171131215)高 11% 到 28%,详见上方 Validation details。
SA sweep 44917863836 首轮六个性能点和六档 GSM8K 全部通过,未发现 QP 创建或 Mooncake KV 传输错误。每档均为完整 1319 样本、5-shot、自然 probabilistic + block,strict-match 为 95.98%–97.19%,六档 AL 检查均通过。key 改名后,SA sweep 45233004275(a911fbfe4)六个 PD 点和七个单机点全部通过,六档 PD GSM8K strict-match 为 96.21%–96.44%,单机 c64 为 96.29%;本 PR staging 使用该 run。
风险:
formal_benchmark_result_missing;本轮结果验证吞吐和精度。AI 模型说明:Claude Opus 5.5(Cursor agent 运行时提供的标识),按作者要求在 MI355X 上调优这些点,并编写 recipe、master config、changelog 条目、srt-slurm 补丁和本说明。Codex(基于 GPT-6;运行时未提供可核实的精确模型标识)将 PR rebase 到 main 并解决仅追加 changelog 的冲突,同步 NVIDIA/srt-slurm#669 的检视修复,并在其合入后更新 srt-slurm pin、删除已被上游替代的 Mooncake 补丁,并更新 PD 的 framework 分类,以及为启动 worker 的父 shell 补充 memlock 限额调整。
claude-opus-5-5(Claude Code,为 reviewer seungrokj 工作)合入 main,按 diff 重写 changelog 条目,在镜像源码中核对草稿模型数据类型和精度敏感优化,并更新本说明。🤖 Generated with Claude Code