Skip to content

[AMD] MiniMax-M3.1-Flash MI355X vLLM: PD-disaggregated AgentX over Mooncake / [AMD] MiniMax-M3.1-Flash MI355X vLLM:基于 Mooncake 的 PD 分离 AgentX - #5090

Merged
adibarra merged 13 commits into
mainfrom
whx/minimaxm31flash-mi355x-vllm-disagg-mooncake
Nov 24, 2026
Merged

adibarra merged 13 commits into
mainfrom
whx/minimaxm31flash-mi355x-vllm-disagg-mooncake

Conversation

@whx-sjtu

@whx-sjtu whx-sjtu commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

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 -disagg twin of the single-node key minimaxm31flash-fp4-mi355x-vllm-agentic-dspark (#5035) and uses framework: vllm with disagg: 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).

  • Pin srt-slurm to cc9db05 with merged #669. Relative to main's 2d9079c this 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 interim 669-vllm-router-mooncake.patch is gone; main's two power-telemetry patches remain.
  • Prefill admits 2x CONC, runs DBO and keeps host KV at its node share (dram-utilization 0.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.
  • 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 FULL graphs captured in multiples of 8 up to batch x 8 tokens.
  • Both roles add 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.
  • The vLLM Router setup raises the worker parent shell's soft RLIMIT_MEMLOCK to its existing hard limit before launch, matching the Infera/SGLang Mooncake lane. vllm-router.sh is 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; BF16 fc, 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:

  • srtctl does not pin each engine to its GPUs' NUMA node; the points were tuned with that pinning.
  • The tuning comparison uses one primary run per point; c40 (+12%) and c72 (+11%) have the thinnest margins.
  • Measured power remains invalid (formal_benchmark_result_missing in the collector); these results validate throughput and accuracy.
  • Some worker shutdowns required SIGKILL, and independent container/VRAM clearance was not verified.
Validation details

SA validation: PR head 7785faa2, test merge cf5c4484, srt-slurm cc9db05. 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).

Concurrency Output tok/s (12 GPUs) GSM8K strict
40 1,990.98 95.98%
48 2,446.08 96.59%
56 2,995.87 96.21%
64 3,506.97 96.36%
72 3,985.65 96.06%
80 4,488.49 97.19%

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_vllm frontier interpolated at the same x.

Point tok/s/GPU p90 interactivity vs single node TTFT p90 Errors
c40, decode cap 5 25,974 416.8 +12.1% 1.14 s 0.02%
c48, decode cap 6 31,385 395.7 +21.8% 0.98 s 0.02%
c56, decode cap 7 37,887 371.8 +27.7% 1.35 s 0.06%
c64, decode cap 8 42,834 352.9 +27.5% 2.32 s 0.06%
c72, decode cap 10 45,664 323.0 +11.3% 2.45 s 0.05%
c80, decode cap 10 50,441 319.2 +20.0% 2.57 s 0.05%
  • KV moved over Mooncake in every run: the Router queried the prefill's bootstrap server and logged no missing bootstrap info, and the decode engines' prompt throughput stayed 0.
  • A second c56 run measured 36,271 at 320.6 (-12.9%); one of its decode engines ran on a node that was 15-20% slower per request in every run it served.
AI model disclosure
  • Model/version: Claude Opus 5.5, as exposed by the Cursor agent runtime.
  • Role: tuned the points on MI355X, wrote the recipe, master config, changelog entry and srt-slurm patch, and this description, at the author's direction.
  • Codex (based on GPT-6; exact runtime model identifier unavailable): rebased the PR, preserved changelog history, synchronized the review fixes, then updated the srt-slurm pin to merged Mooncake support, removed the superseded backport, updated the PD framework classification, and added parent-shell memlock normalization.
  • 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

  • Bug fix
  • New feature
  • Configuration change
  • Documentation update
  • Other (please describe)

Checklist

  • I have completed the AI model disclosure and kept it current
  • I have tested my changes locally
  • I have updated documentation if necessary
  • If python -m infx.matrix.changed --base origin/main lists affected config keys, I have appended one new entry covering them to the physical end of inferencex-e2e/perf-changelog.yaml; if it lists none, I have added none. I have not edited historical entries
  • If this PR appends an inferencex-e2e/perf-changelog.yaml entry, it carries exactly one primary sweep label (a maintainer applies it on fork PRs): full-sweep-fail-fast (recommended), full-sweep-enabled, or non-canary-full-sweep-enabled. Optional modifiers all-evals, evals-only, and agentx-fast require a primary label; the last two block reuse while applied.
  • Before merging via reuse, a maintainer with write access to the repository 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.
中文

取代 #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)。

  • srt-slurm:固定到已包含合入 #669 的上游提交 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 健康等待均由上游实现;另外两份功耗相关补丁保留。
  • Prefill 准入 2x CONC,开 DBO,主机 KV 按其节点份额(c40-c64 的 dram-utilization 为 0.9,c72-c80 为 1.0)。c80 把 prompt 分块上限设为 4096 token、显存利用率设为 0.75,因为 0.85 会 HIP OOM。
  • 每个 decode 引擎不开 DBO,batched tokens 为 8192,c40 到 c80 的 max-num-seqs 依次为 5、6、7、8、10 和 10,FULL graph 按 8 的倍数捕获到 batch x 8 token。
  • 两个角色都新增 NCCL_DMABUF_ENABLE=0、VLLM_EXECUTE_MODEL_TIMEOUT_SECONDS=1200、3600 s HTTP keep-alive(单机为 900 s)以及 Mooncake RDMA 环境变量。
  • vLLM Router setup 在启动 worker 前,将父 shell 的 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。

风险:

  • srtctl 不把引擎绑定到其 GPU 所在的 NUMA 节点,而调优这些点时绑定了。
  • 原调优对比每个点采用一次主要测量;c40(+12%)和 c72(+11%)的余量最小。
  • 实测功耗仍无效,collector 报 formal_benchmark_result_missing;本轮结果验证吞吐和精度。
  • 部分 worker 退出需要 SIGKILL;未独立核实容器和显存回收。

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

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the contribution!

  • Review: If this PR changes files owned by someone other than a repository admin or @SemiAnalysisAI/core, ask one eligible CODEOWNER to complete the latest PR_REVIEW_CHECKLIST.md before contacting a core maintainer on Slack. Follow the template exactly, including As a PR reviewer and CODEOWNER, I have reviewed this and have, so sign-off verification triggers.
  • PR verification: Sweeps run only when the PR appends an inferencex-e2e/perf-changelog.yaml entry and carries exactly one primary label: full-sweep-fail-fast (strongly recommended; canary plus per-matrix fail-fast), full-sweep-enabled (canary; matrix jobs continue after a failure), or non-canary-full-sweep-enabled (no canary or fail-fast). The modifiers all-evals, evals-only, and agentx-fast require a primary label. On fork PRs, a maintainer applies the label. See sweep labels and reuse.
  • After merging: PR authors must ensure all GitHub Actions jobs pass. Transient failures often pass on rerun; see how to rerun failed jobs.
中文

感谢你的贡献!

  • **审阅:**如果 PR 修改的文件归属于仓库管理员及 @SemiAnalysisAI/core 之外的 CODEOWNER,请先联系一位有资格的 CODEOWNER 填写最新的 PR_REVIEW_CHECKLIST.md,再通过 Slack 联系核心维护者。必须严格遵循模板,并保留 As a PR reviewer and CODEOWNER, I have reviewed this and have,才能触发签核验证。
  • **PR 验证:**只有当 PR 在 inferencex-e2e/perf-changelog.yaml 末尾追加了条目,并且恰好带有一个主标签时,才会运行扫描:full-sweep-fail-fast(强烈推荐;canary 加逐矩阵 fail-fast)、full-sweep-enabled(有 canary;矩阵任务在失败后继续运行)或 non-canary-full-sweep-enabled(无 canary,也无 fail-fast)。修饰标签 all-evals、evals-only 和 agentx-fast 必须与主标签一起使用。fork PR 的标签由维护者添加。参见扫描标签与复用。
  • **合并后:**PR 作者必须确保所有 GitHub Actions 任务通过。临时性失败通常可以通过重新运行恢复;参见重新运行失败任务的说明。

@whx-sjtu whx-sjtu added the non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim) label Nov 16, 2026

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Findings marked 🟡 are optional suggestions and need no follow-up push.

Comment on lines +29 to +33
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'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔴 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.

Comment on lines +1 to +6
# 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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 (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.

@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

inferencex-e2e/infx diff: +41 -0

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 包的改动有更高的代码质量要求。

whx-sjtu and others added 6 commits November 21, 2026 22:42
…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]>
@whx-sjtu
whx-sjtu force-pushed the whx/minimaxm31flash-mi355x-vllm-disagg-mooncake branch from b55ab80 to 7c1f09d Compare November 21, 2026 14:45
@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

@seungrokj staged run 44917863836.

This run remains available across future /stage-results requests. Staging the same run ID again updates its staged data. Staging workflow

seungrokj and others added 2 commits November 22, 2026 18:45
…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]>
@seungrokj

Copy link
Copy Markdown
Collaborator

Draft data types: no change. The DSpark draft is the dspark/ subfolder of amd/MiniMax-M3.1-Flash-Quark-MXFP4 (revision bf06a0c5, unpinned by the config). It is byte-identical to the trainer's MiniMaxAI/MiniMax-M3.1-Flash dspark/, with the same LFS object. The safetensors header and the draft's config.json give these data types:

Part Stored data type Effective serving precision
5 layers: q/k/v/o projections, dense MLP gate/up/down FP8 E4M3 with UE8M0 1×32 scales (MXFP8); quantization_config quant_method: mxfp8, dynamic activations MXFP8 weights, dynamic MXFP8 activations
fc, Markov head (markov_w1/w2), confidence_head, norms BF16 (listed in the draft's ignore) BF16
Embedding and LM head not in the draft; shared with the target, which stores both in BF16 (the Quark config excludes lm_head) BF16
Draft KV cache — FP8 E4M3 (kv_cache_dtype: fp8, TRITON_ATTN)

The image vllm/vllm-openai-rocm:minimax-m31-flash-75bc8cf1 is a private Inferact build. Its label says it is public vLLM 4fab5a07 plus an overlay of MiniMax-M3 files, amd_kernels and FlyDSL 0.5.0. I rebuilt the image's vLLM tree from its layers. Every file cited below is byte-identical to public 4fab5a07:

In the overlay, the AMD fused draft path keeps the same data types:

  • amd/dspark_akr_fused.py runs the projections with dynamic MXFP8 activations.
  • The BF16 fc goes to amd_kernels DenseDecoderRanks4, which asserts BF16 and repacks the weight losslessly at load time.

The recipe sets no --quantization, no draft quantization and no draft dtype. The draft therefore runs as shipped, the same as on the merged single-node lane (#5035), which uses the same image and speculative config. This PR adds no draft-precision change (base: no such key).

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 ENV and the engine defaults at 4fab5a07.

Optimization Effective setting (base → head; new key) Evidence
Reduced-precision all-reduce / reduce-scatter Off. VLLM_ROCM_QUICK_REDUCE_QUANTIZATION is unset in the recipe, the launcher and the image ENV; the default is NONE, which disables quick reduce. The overlay's amd_kernels TP4 all-reduce + Gemma RMSNorm (DecoderArNorm) exchanges BF16 partials. It quantizes to MXFP8 only after the norm, as the activation input of the checkpoint's MXFP8 GEMMs. envs.py L1462-L1466, quick_all_reduce.py L186-L192
Online linear-layer quantization None. There is no --quantization; the Quark config in the checkpoint decides the formats (dense MXFP8, routed experts MXFP4). recipe disagg-mooncake-variants.yaml
Shared-expert quantization Native. The trainer ships shared experts in MXFP8 (F8_E4M3 with U8 1×32 scales). The AMD Quark export keeps them in FP8 E4M3 per-block [1,32] with E8M0 scales on all 57 layers, the same format. VLLM_ROCM_USE_AITER_FUSION_SHARED_EXPERTS=0 checkpoint headers and quantization_config
Non-native cross-indexer sharing None. No --hf-overrides; indexer_decode_cp splits indexer decode across context-parallel ranks and shares nothing. recipe attention-config
Non-native FP4 KV cache NVFP4 KV and indexer K caches (kv-cache-dtype: nvfp4, indexer_kv_dtype: nvfp4), the same as the merged single-node lane. Recorded as native: the trainer quantizes "the attention paths" during training (README L250), and the vLLM recipe lists NVFP4 KV and indexer K caches as this checkpoint's format (L208, L235). No config.json field marks the KV format. see links
SSM/KDA/Mamba state cache below FP32 N/A (no SSM, KDA or Mamba layers). —

No three-arm evaluation is attached. No model-trainer veto was found in the PR or linked issues.

中文

草稿模型数据类型:无变化。 DSpark 草稿模型是 amd/MiniMax-M3.1-Flash-Quark-MXFP4 的 dspark/ 子目录(revision bf06a0c5,config 未固定 revision)。它与训练方的 MiniMaxAI/MiniMax-M3.1-Flash dspark/ 逐字节相同,LFS 对象也相同。safetensors 头和草稿模型的 config.json 给出以下数据类型:

部分 存储数据类型 实际运行精度
5 层:q/k/v/o 投影、稠密 MLP gate/up/down FP8 E4M3,UE8M0 1×32 scale(MXFP8);quantization_config 为 quant_method: mxfp8,动态激活 MXFP8 权重,动态 MXFP8 激活
fc、Markov head(markov_w1/w2)、confidence_head、norm BF16(在草稿模型的 ignore 中) BF16
Embedding 和 LM head 草稿模型中没有;与目标模型共享,目标模型两者都以 BF16 存储(Quark config 排除 lm_head) BF16
草稿 KV cache — FP8 E4M3(kv_cache_dtype: fp8,TRITON_ATTN)

镜像 vllm/vllm-openai-rocm:minimax-m31-flash-75bc8cf1 是 Inferact 的私有构建。镜像 label 写明它是公开 vLLM 4fab5a07 加上 MiniMax-M3 文件的 overlay、amd_kernels 和 FlyDSL 0.5.0。我从镜像层还原了 vLLM 源码树,下面引用的文件都与公开的 4fab5a07 逐字节相同:

overlay 中的 AMD 融合草稿路径保持相同的数据类型:

  • amd/dspark_akr_fused.py 用动态 MXFP8 激活运行各投影。
  • BF16 的 fc 交给 amd_kernels DenseDecoderRanks4,后者断言输入为 BF16,并在加载时无损重排权重。

recipe 没有设置 --quantization、草稿 quantization 或草稿 dtype。因此草稿模型按发布精度运行,与已合入的单机 lane(#5035)相同,后者使用同一镜像和同一 speculative 配置。本 PR 没有改变草稿精度(base 中没有这个 key)。

精度敏感优化:除 checkpoint 原生格式外未使用。 精度敏感优化政策(#4705)仍未合入,这里不适用,下表记录各项设置。我检查了 prefill、两个 decode 引擎和草稿 worker,包括镜像 ENV 和 4fab5a07 的引擎默认值。

优化 实际设置(base → head;新 key) 依据
降精度 all-reduce / reduce-scatter 关闭。recipe、launcher 和镜像 ENV 都未设置 VLLM_ROCM_QUICK_REDUCE_QUANTIZATION;默认值为 NONE,即关闭 quick reduce。overlay 中 amd_kernels 的 TP4 all-reduce + Gemma RMSNorm(DecoderArNorm)交换 BF16 partial,只在 norm 之后量化为 MXFP8,作为 checkpoint 中 MXFP8 GEMM 的激活输入。 envs.py L1462-L1466,quick_all_reduce.py L186-L192
在线线性层量化 无。没有 --quantization;格式由 checkpoint 中的 Quark 配置决定(稠密层 MXFP8,路由专家 MXFP4)。 recipe disagg-mooncake-variants.yaml
共享专家量化 原生。训练方以 MXFP8(F8_E4M3 + U8 1×32 scale)发布共享专家。AMD Quark 导出在全部 57 层中保持 FP8 E4M3 per-block [1,32] + E8M0 scale,格式相同。VLLM_ROCM_USE_AITER_FUSION_SHARED_EXPERTS=0 checkpoint 头和 quantization_config
非原生跨 indexer 共享 无。没有 --hf-overrides;indexer_decode_cp 把 indexer decode 切分到 context-parallel rank 上,不共享任何内容。 recipe attention-config
非原生 FP4 KV cache NVFP4 KV 和 indexer K cache(kv-cache-dtype: nvfp4,indexer_kv_dtype: nvfp4),与已合入的单机 lane 相同。记为原生:训练方在训练中量化了“attention paths”(README L250),vLLM recipe 也把 NVFP4 KV 和 indexer K cache 列为该 checkpoint 的格式(L208,L235)。config.json 中没有字段标明 KV 格式。 见链接
SSM/KDA/Mamba 状态 cache 低于 FP32 不适用(没有 SSM、KDA 或 Mamba 层)。 —

本 PR 没有附三组对照评测。在 PR 和关联 issue 中未发现模型训练方的否决。

assert expected <= set(installs[0])


@pytest.mark.skipif(sys.platform != "linux", reason="prlimit requires Linux")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

what is need for this

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

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 分配失败。

Comment thread inferencex-e2e/configs/amd-master.yaml Outdated
model-prefix: minimaxm31flash
runner: cluster:mi355x-amds
precision: fp4
framework: vllm-disagg

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

can u have framework as vllm plz to reduce # of configs

+viz @seungrokj

Comment thread inferencex-e2e/perf-changelog.yaml Outdated
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5119

- config-keys:
- minimaxm31flash-fp4-mi355x-vllm-disagg-agentic-dspark

@functionstackx functionstackx Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

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]>
@seungrokj seungrokj added non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim) and removed non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim) labels Nov 23, 2026
@seungrokj

Copy link
Copy Markdown
Collaborator

/use 45233004275

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

@seungrokj staged run 45233004275.

This run remains available across future /stage-results requests. Staging the same run ID again updates its staged data. Staging workflow

@seungrokj

Copy link
Copy Markdown
Collaborator

/reuse-sweep-run 45233004275

@seungrokj seungrokj left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

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_MOE is 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 main or master (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:

Signed: seungrokj

@github-actions

Copy link
Copy Markdown
Contributor

✅✅✅ Verdict: PASS ✅✅✅

Passed and not applicable checks

✅ Check 0 (CODEOWNER): PASS — @seungrokj is a named owner of inferencex-e2e/configs/amd-master.yaml and of the **/mi355x-*/ srt-slurm recipe path; the other changed files (vllm-router.sh, infx/tests, perf-changelog.yaml, utils/srt-slurm) fall only under the * catch-all.

✅ Check 1 (Sweep on in-PR commit): PASS — In-PR commit a911fbfe has 13 green executed AgentX benchmark jobs (6 PD and 7 single-node) and 7 green evals in run 45233004275 (attempt 1). The only later commit is the merge 8ccb9746, and the compare with a911fbfe shows it changes only operatorx/** and .github/workflows/operatorx-sweep.yml, so it is non-material.

✅ 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 minimax-m31-flash-75bc8cf1@sha256:f8e8ab23…. Every row is within 2σ of its best sibling and of the exact-scope cohort (run 43171131215). The evals ran the same PD Mooncake recipe that is being submitted.

✅ Check 3 (Upstream recipe): PASS — vllm#67857 merged 2026-11-23 as ad227db (on vLLM main) and recipes#1262 merged 2026-11-23. The published mi355x_agentx_pd preset covers the same image digest, the prefill and decode TP4 commands, the MultiConnector/Mooncake/SimpleCPUOffload configs, the DSpark spec config, the per-concurrency overrides, and the Mooncake/AITER/HIP env. It also covers the single-node key through the mi355x_agentx preset. The router's consistent_hash policies, vllm-router 0.1.16 and the second decode engine appear only in the runbook prose; the generated router command still shows round_robin, which is informational.

✅ Check 4 (Reuse command): PASS — seungrokj (permission write, role write) posted /use 45233004275 and later /reuse-sweep-run 45233004275, each on its own line. Both name the passing run on in-PR commit a911fbfe.

✅ Check 5 (Checklist template): PASS — All 20 items of the current PR_REVIEW_CHECKLIST.md, including the nested upstream-merge item, are present and checked.

✅ Check 6 (Upstream images): PASS — Both keys use framework: vllm with vllm/vllm-openai-rocm:minimax-m31-flash-75bc8cf1@sha256:… from the upstream vLLM org, so the engine-first rule does not apply. The image is a model-enablement build (vLLM 4fab5a07 plus a MiniMax-M3 overlay). That is allowed for MiniMax-M3.1-Flash, a new model added 2026-10-23, which must later move to a main-branch image.

✅ Check 7 (Deprecated models): PASS — minimaxm31flash agentic coding is active in MODELS.md as of 2026-11-24.

✅ Check 8 (Architecture hacks): PASS — There is no --hf-overrides, model-config edit, online quantization or indexer sharing; indexer_decode_cp only splits work. MiniMax-M3.1-Flash is not grandfathered for integer all-reduce. VLLM_ROCM_QUICK_REDUCE_QUANTIZATION is unset in the recipe, the inherited env and the job logs, and it defaults to NONE at vLLM 4fab5a07 (envs.py L1462).

✅ Check 9 (Chat template): PASS — The AgentX trace replay drives the chat endpoint (reasoning-parser/tool-call-parser minimax_m3) for both the DSpark PD and single-node configs.

✅ Check 10 (Engine patches): PASS — The engine is not patched at runtime. vllm-router.sh installs the pinned vllm-router==0.1.16 and raises the parent shell's soft RLIMIT_MEMLOCK to its existing hard limit. Both are setup steps that leave the engine unchanged. The srt-slurm bump removes the interim Mooncake patch.

✅ Check 11 (Golden AL): PASS — infx.srt_slurm.synthetic_acceptance injects rejection_sample_method: synthetic and synthetic_acceptance_length: 4.04 into both roles; the c80 job log shows 4.04. That equals the golden value from minimax-m3.1-flash__dspark__native__probabilistic-block.yaml for DSpark with 7 tokens, block verification and thinking on. The evals keep real acceptance.

➖ Check 12 (Append-only): N/A — The new changelog entry has no append-only: true.

✅ Check 13 (Draft precision): PASS — The DSpark draft is the checkpoint's dspark/ subfolder (MXFP8 projections; BF16 fc and norms; BF16 embedding and LM head shared with the target). It loads through its own quantization_config with no draft quantization or dtype override. The draft KV fp8 is above the default, which inherits the target's nvfp4 (speculative.py L498). SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE does not apply to this vLLM path.

✅ Check 14 (Pareto coverage): PASS — For the one series, minimaxm31flash/agentic/mi355x_vllm/fp4/2026-11-23/P90 E2EL from run 45233004275 results_bmk, pareto_coverage counts 13 measured points and 6 on the frontier (6/5): single-node c8, c16, c32 and c64 plus PD c48 and c56.

✅ 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 a911fbfe.

➖ 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 max-model-len is 1048576. The digest-pinned image resolves. srt-slurm is pinned to cc9db05, the merge commit of NVIDIA/srt-slurm#669, which is on main. No points are removed or re-tuned, and there are no regressions. The vLLM default stream interval of 1 is ≤ 60 in every role.

Assessed commit: 8ccb9746ad699b4302eb6cd7b3d8719ba85b3997.

Resolve perf-changelog.yaml conflict by keeping both entries, with #5090 appended last.

Co-authored-by: Perplexity <[email protected]>

@adibarra adibarra left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

Created with Perplexity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants