Repository navigation
[AMD][MI35X] M31 flash vllm config update - #5035
Conversation
…nd its serving recipe Pin vllm/vllm-openai-rocm:minimax-m31-flash-75bc8cf1 by digest. The image turns on its amd_kernels routes (GEMM, MoE, qkv, attention, indexer, norm, draft, sampling, top-p, SP prefill) by default, so the recipe drops the nightly's env switches and serves every point on the NVFP4 KV cache with DBO, breakable CUDA graphs up to 2048 tokens and 8 renderer workers. - c1-c16: DSpark 7, GPU KV only; the c1-c8 mono decode lane is removed. - c32-c64: SimpleCPUOffload tier (1349 GB) with LRU eviction; c32 moves to the dram search-space row, c64 keeps DSpark 3. - Batch-sharded sampling from c2 (vLLM refuses it below max-num-seqs 4 at TP4). Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: benzhuzhu <[email protected]>
|
Thanks for the contribution!
中文感谢你的贡献!
|
…dy includes The srt-slurm pin 2d9079c contains NVIDIA/srt-slurm#664 (TileRT multi-node decode) and #666 (post_eval.container_image), so both patches fail to apply and every srt launch stops in the checkout step. Same deletion as #5019. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: benzhuzhu <[email protected]>
| # c1-c16: DSpark 7 with the KV cache on the GPUs. Batch-sharded sampling | ||
| # splits the sampler across the TP ranks; vLLM refuses it when max-num-seqs is | ||
| # below the TP size, so c1 runs without it. | ||
| zip_override_tp4_dspark7: | ||
| roles: | ||
| agg: | ||
| env: | ||
| VLLM_USE_BREAKABLE_CUDAGRAPH: '1' | ||
| args: | ||
| compilation-config: '{"cudagraph_mode":"FULL_AND_PIECEWISE","cudagraph_capture_sizes":[1,2,4,8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,256,384,512,768,1024,1536,2048,3072,4096,6144,8192]}' | ||
| speculative-config: '{"method":"dspark","num_speculative_tokens":7,"attention_backend":"TRITON_ATTN","kv_cache_dtype":"fp8","draft_sample_method":"probabilistic","rejection_sample_method":"block"}' | ||
| max-num-seqs: [32, 64] | ||
| max-num-seqs: [2, 4, 8, 16, 32] | ||
| enable-batch-sharded-sampling: [null, true, true, true, true] | ||
| benchmark: | ||
| env: | ||
| CONC: ['16', '32'] | ||
| CONC: ['1', '2', '4', '8', '16'] | ||
|
|
||
| # c64: DSpark 3 (the blog's MI355X draft length from c8) on the NVFP4 KV cache | ||
| # with sequence-parallel prefill, 0.90 memory utilization, and a CPU KV tier. The c64 working set | ||
| # outgrows the 14.2M-token GPU KV cache; SimpleCPUOffloadConnector (eager) | ||
| # holds about 24M tokens in 1349 GB of host memory (dram-utilization 0.9 of the | ||
| # TP4 lane) and serves the misses. | ||
| override_tp4_dspark3_c64_offload: | ||
| # c32-c64: the working set outgrows the GPU KV cache, so | ||
| # SimpleCPUOffloadConnector (eager) keeps about 24M tokens in 1349 GB of host | ||
| # memory (dram-utilization 0.9 of the TP4 lane). LRU eviction drops the least | ||
| # recently used prefixes from their tail, so a hot session's chain stays | ||
| # whole. c64 runs DSpark 3 at 0.90 memory utilization. |
There was a problem hiding this comment.
🟡 nit (optional): Two new recipe comments break the AGENTS.md comment rule against section headers and restating code. "c1-c16: DSpark 7 with the KV cache on the GPUs." is a header for an override. "c64 runs DSpark 3 at 0.90 memory utilization." repeats the zipped values at lines 111-115. Fix: delete those two sentences. Keep the reasons around them: the batch-sharded sampling/TP note, the GPU KV overflow, and the LRU eviction rationale.
Why this was flagged
AGENTS.md "Comments (mandatory, every file)" bans header comments that describe a recipe, override or section. It also says comments must never restate the code. The diff adds the opener "c1-c16: DSpark 7 with the KV cache on the GPUs." at agentic.yaml:88, which only describes zip_override_tp4_dspark7 and its speculative-config. It also adds "c64 runs DSpark 3 at 0.90 memory utilization." at agentic.yaml:106. That sentence repeats gpu-memory-utilization: [0.85, 0.9] and the second speculative-config entry at lines 111-114. These lines do not affect runtime. They are a convention violation that the repo rule marks mandatory, and they will drift from the values when the zip lists change.
Verification: AGENTS.md:56 says "No header comments describing a file, topology, config, recipe, override, or section." AGENTS.md:58 says "never restate the code." Line 88, "# c1-c16: DSpark 7 with the KV cache on the GPUs.", sits directly above zip_override_tp4_dspark7: (line 91). Line 106, "c64 runs DSpark 3 at 0.90 memory utilization.", repeats line 111 and line 114. Nothing breaks at runtime.
|
The recipe: vllm-project/vllm#67272 |
|
/use 43171131215 |
|
@benenzhu staged run 43171131215. This run remains available across future |
|
Ingest report — ✅ Results ingested into the Ingest workflow · Merge Ingest run · Benchmark source run
benchmarkFiles 8, rawBenchmarkRows 14, coveredByPerJobFiles 7, purgedPoints 0, failedRunRows 0, runStatsNew 0, runStatsDuplicate 0, evalSamplesNew 1319, gpuMetricSamplesNew 144600, powerPublicationPoints 7, changelogEntriesWritten 1 Counts cover only this run. Rows: benchmark_results, eval_results, agentic rows linked to a trace, gpu_metrics series. This comment updates if the ingest is rerun. 中文Ingest 报告 — ✅ 结果已写入 上表仅统计本次运行写入的数据,各行单位依次为 benchmark_results 行、eval_results 行、已关联 trace 的 agentic 行和 gpu_metrics 序列。重新运行 ingest 时本评论会原地更新。 |
…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]>
…oncake / [AMD] MiniMax-M3.1-Flash MI355X vLLM:基于 Mooncake 的 PD 分离 AgentX (#5090) * feat(minimaxm31flash): add MI355X vLLM PD-disaggregated Mooncake AgentX Signed-off-by: whx-sjtu <[email protected]> Co-authored-by: Cursor <[email protected]> * fix(minimaxm31flash): read the shared HF cache on MI355X Mooncake PD 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]> * fix(srt-slurm): sync Mooncake backport with upstream review fixes * chore(srt-slurm): use merged Mooncake support and drop backport * fix(minimaxm31flash): classify Mooncake PD as vllm-disagg [skip ci] [skip-sweep] * fix(srt): raise vLLM worker memlock to the hard limit [skip ci] [skip-sweep] * chore(srt): remove memlock diagnostic output [skip ci] [skip-sweep] * ci(minimaxm31flash): run full Mooncake PD validation * docs(changelog): align the MiniMax-M3.1-Flash MI355X vLLM PD AgentX entry 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]> * config(amd): pair the MiniMax-M3.1-Flash MI355X vLLM PD key with the 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]> --------- Signed-off-by: whx-sjtu <[email protected]> Co-authored-by: Cursor <[email protected]> Co-authored-by: seungrokj <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: seungrokj <[email protected]> Co-authored-by: Alec Ibarra <[email protected]> Co-authored-by: Perplexity <[email protected]>
No description provided.