Repository navigation
fix: improve GB200 DSv4.1 low-concurrency tails / 改善低并发尾延迟 - #3097
Conversation
将 GB200 的图捕获下限设为 64,以覆盖低并发 AgentX 子代理;保留完整轨迹和 AL 3.51。
|
Thanks for the contribution! Please reach out to respective companies' CODEOWNER to fill in the latest PR_REVIEW_CHECKLIST.md before pinging core maintainer on Slack for review. In order for the signoff PR check bot to trigger, you must follow the PR_REVIEW_CHECKLIST.md template correctly, including the phrase For PR verification, add the PR authors are responsible for ensuring that after merging, all GitHub Action jobs fully pass. A lot of the time, failures are just flakes and simply re-running the failed jobs will fix it. See GitHub's docs on re-running failed jobs 感谢你的贡献!请联系相应公司的 CODEOWNER 填写最新的 PR_REVIEW_CHECKLIST.md,然后再在 Slack 上联系核心维护者进行审阅。为了触发 signoff PR 检查机器人,你必须正确遵循 PR_REVIEW_CHECKLIST.md 模板,包括保留英文语句 如需进行 PR 验证,请为此 PR 添加 PR 作者有责任确保合并后所有 GitHub Action 任务完全通过。 很多时候失败只是偶发抖动(flake),重新运行失败的任务即可解决。参见 GitHub 关于重新运行失败任务的文档 |
1 similar comment
|
Thanks for the contribution! Please reach out to respective companies' CODEOWNER to fill in the latest PR_REVIEW_CHECKLIST.md before pinging core maintainer on Slack for review. In order for the signoff PR check bot to trigger, you must follow the PR_REVIEW_CHECKLIST.md template correctly, including the phrase For PR verification, add the PR authors are responsible for ensuring that after merging, all GitHub Action jobs fully pass. A lot of the time, failures are just flakes and simply re-running the failed jobs will fix it. See GitHub's docs on re-running failed jobs 感谢你的贡献!请联系相应公司的 CODEOWNER 填写最新的 PR_REVIEW_CHECKLIST.md,然后再在 Slack 上联系核心维护者进行审阅。为了触发 signoff PR 检查机器人,你必须正确遵循 PR_REVIEW_CHECKLIST.md 模板,包括保留英文语句 如需进行 PR 验证,请为此 PR 添加 PR 作者有责任确保合并后所有 GitHub Action 任务完全通过。 很多时候失败只是偶发抖动(flake),重新运行失败的任务即可解决。参见 GitHub 关于重新运行失败任务的文档 |
补充 PR #3097 的性能变更记录链接。
There was a problem hiding this comment.
Beyond the inline finding, I also checked whether the new DSV41_MIN_CUDAGRAPH_CAPTURE_SIZE floor could break the doubling loop in dsv41flash_fp4_vllm_mtp.sh (a floor >=2048 would make the < 2048 while-condition false immediately) — the value actually set in launch_gb200-nv.sh is 64, well under that cap, so c1/c2/c4/c8 all resolve to 64 as intended and the new parametrized tests in runners/test_dsv41flash_capture.py confirm the doubling still kicks in correctly for larger concurrency (c16 -> 128).
Extended reasoning...
The already-confirmed inline finding (perf-changelog.yaml using pull/TBD, which the changelog validator rejects) is a real CI-blocking issue, so a human/author fix is needed regardless. I additionally traced the CAPTURE_SIZE floor logic end-to-end: launch_gb200-nv.sh exports DSV41_MIN_CUDAGRAPH_CAPTURE_SIZE=64 only for the dsv41flash/vllm/single-node path, and the benchmark script seeds CAPTURE_SIZE from that var with a default of 1. Since 64 is far below the loop's < 2048 ceiling, the while-loop still executes normally for higher concurrencies (verified against the new test_dsv41flash_capture.py parametrization, e.g. c16 -> 128), so the candidate concern that a large floor could short-circuit the loop does not apply to the value actually used here. This is a narrow, concrete addition beyond the existing finding, not a restatement of it.
| description: | ||
| - "Set a 64-token CUDA graph capture floor for GB200 DSpark at c1/c2/c4; preserve c8+ sizing, full AgentX traces, AL 3.51, and Engram UVA" | ||
| - "将 GB200 DSpark 的 c1/c2/c4 CUDA graph 最小捕获范围设为 64 tokens;保持 c8+ 大小、完整 AgentX 轨迹、AL 3.51 和 Engram UVA" | ||
| pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/TBD |
There was a problem hiding this comment.
🔴 New changelog entry uses pull/TBD as its pr-link, but validate_perf_changelog.py only accepts a numeric PR link or the literal XXX placeholder (PR_LINK_PLACEHOLDERS / CANONICAL_PR_LINK), so this entry fails the changelog gate run in CI (run-sweep.yml) and blocks merge. Fix: use https://github.com/SemiAnalysisAI/InferenceX/pull/XXX (or the real PR number) instead of TBD.
Extended reasoning...
infx/workflows/validate_perf_changelog.py:validate_added_pr_link checks link not in PR_LINK_PLACEHOLDERS and link != expected; PR_LINK_PLACEHOLDERS = {"XXX", ".../pull/XXX"} and CANONICAL_PR_LINK requires \d+ after pull/. pull/TBD matches neither the digit regex nor the XXX placeholder set, so on a PR CI run (pr_number set) this raises ChangelogValidationError, failing the changelog gate step referenced in run-sweep.yml before merge.
Verification: normal (mechanism corrected). The new entry appended by this PR at perf-changelog.yaml:7605 uses pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/TBD. The pr-link contract only accepts a canonical numeric link or the literal XXX placeholder: infx/workflows/validate_perf_changelog.py lines 21-27 define CANONICAL_PR_LINK = pull/\d+ and `PR_LINK_PLACEHOLDERS = {"XXX",… | normal…
|
/reuse-sweep-run |
Conflict in perf-changelog.yaml: both sides appended entries at the end. Keep upstream PR #3097 (dsv41flash GB200 DSpark CUDA graph floor) then our PR #2719 entry last. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
…ly_202611171508 [skip-sweep] - Update both entries from rocm/atom-dev:nightly_202611110332 (ATOM 920a200a3) to rocm/atom-dev:nightly_202611171508 (ATOM 5f3ae2b5b, Mooncake 206d634), pinned by digest, and move the AToMesh router from 920a200a3 to the same ATOM commit. - Add single-node TP8 points at concurrency 1 and 2 (new key glm5.2-fp4-mi355x-atom-disagg-agentic-mtp-agg). Both entries now use framework atom instead of atom-disagg, so the single-node and disaggregated ATOM points form one curve. - Drop 1P1D concurrency 128 and 1P3D concurrency 12 and 16. 1P1D 56, 72, 96 and 112, 1P2D 56 and 1P3D 24 remain. - The TP8 server runs ATOM's GLM-5.2 mono decode (ATOM_MONO_ENABLE=1) and the DSA indexer mono decode on FP8 KV and index caches, with MTP at three draft tokens and the golden acceptance 2.99. It admits 2 requests, captures graphs at 1 and 2, and uses max-num-batched-tokens 16384 and gpu-memory-utilization 0.95. - The disaggregated points keep their recipes and set ATOM_MONO_ENABLE=0 on prefill and decode, so their decode stays on the path the previous image ran. - The disaggregated workers raise RLIMIT_MEMLOCK's soft limit to the hard limit before they start (setup script raise-memlock-soft-limit.sh). Slurm sets the soft limit to 8 MiB, and the ionic driver charges every GPU KV registration against it before falling back to peer memory, so without the raise each Mooncake KV registration fails with ENOMEM. - Weights run as shipped in amd/GLM-5.2-MXFP4 with no online quantization, AITER quick reduce is unset, and the mono decode's all-reduce sums BF16 partials in FP32. - Relevant ATOM changes in the image: ROCm/ATOM#3266 (GLM-5.2 mono decode on the checkpoint's BF16 attention), #3350 (mono mailbox polling stalls during concurrent transfers), #3043 (FP8 indexer prefill logits and key gathers in bounded passes), #3097 and #3324 (shared Mooncake Store loads and restores) and #3147 (P/D decode admission bounded by pending receive KV bytes). - Draft data types: no change. The MTP draft (model.layers.78) ships in BF16 and is excluded from the checkpoint's MXFP4 quantization, so ATOM loads it in BF16 at both the old and new commit; it shares the target's FP8 KV cache, as before. - 两个条目的镜像从 rocm/atom-dev:nightly_202611110332(ATOM 920a200a3)更新为 rocm/atom-dev:nightly_202611171508(ATOM 5f3ae2b5b,Mooncake 206d634),按 digest 固定;AToMesh router 也从 920a200a3 改为同一 ATOM commit。 - 新增并发 1 和 2 的单机 TP8 测试点(新键 glm5.2-fp4-mi355x-atom-disagg-agentic-mtp-agg)。两个条目的 framework 都由 atom-disagg 改为 atom,使单机与分离式 ATOM 测试点归入同一条曲线。 - 删除 1P1D 并发 128 以及 1P3D 并发 12 和 16。保留 1P1D 56、72、96、112,1P2D 56 和 1P3D 24。 - TP8 服务端运行 ATOM 的 GLM-5.2 mono decode(ATOM_MONO_ENABLE=1)和 DSA indexer mono decode,KV cache 与 index cache 均为 FP8;MTP 使用 3 个草稿 token,golden 接受长度为 2.99。最多接纳 2 个请求,graph 捕获大小为 1 和 2,max-num-batched-tokens 16384,gpu-memory-utilization 0.95。 - 分离式测试点保留原配方,并在预填充与解码上设置 ATOM_MONO_ENABLE=0,使其 decode 保持在上一版镜像运行的路径上。 - 分离式 worker 启动前把 RLIMIT_MEMLOCK 的软限制提升到硬限制(setup 脚本 raise-memlock-soft-limit.sh)。Slurm 把软限制设为 8 MiB,而 ionic 驱动在回退到 peer memory 之前会把每次 GPU KV 注册计入该限制;不提升的话,每次 Mooncake KV 注册都会以 ENOMEM 失败。 - 权重按 amd/GLM-5.2-MXFP4 发布原样运行,不做在线量化;未设置 AITER quick reduce;mono decode 的 all-reduce 以 FP32 累加 BF16 部分和。 - 镜像中相关的 ATOM 改动:ROCm/ATOM#3266(在 checkpoint 的 BF16 attention 上运行 GLM-5.2 mono decode)、#3350(并发传输时的 mono mailbox 轮询卡顿)、#3043(FP8 indexer 预填充 logits 与 key gather 分批进行)、#3097 和 #3324(共享 Mooncake Store 的加载与恢复)以及 #3147(按待接收 KV 字节数限制 P/D decode 的准入)。 - 草稿模型数据类型:不变。MTP 草稿(model.layers.78)以 BF16 发布,并被排除在 checkpoint 的 MXFP4 量化之外,因此 ATOM 在新旧 commit 下都以 BF16 加载它;它与目标模型共用 FP8 KV cache,与之前相同。 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…TOM curve / feat(agentx):GLM-5.2 MI355X ATOM 曲线新增单机 TP8 mono 测试点 (#5120) * feat(agentx): add single-node TP8 mono points to the GLM-5.2 MI355X ATOM curve Add glm5.2-fp4-mi355x-atom-disagg-agentic-mtp-agg: one TP8 node at concurrency 1 and 2 running ATOM's GLM-5.2 mono decode on the shipped BF16 attention (ROCm/ATOM#3266), the DSA indexer mono decode on an FP8 index cache and MTP at three draft tokens. framework atom-disagg with disagg false puts these points on the disaggregated points' mooncake-atom series. Drop 1P1D concurrency 128 and 1P3D concurrency 12 and 16, pin ATOM_MONO_ENABLE=0 on the disaggregated roles, and move both entries to rocm/atom-dev:nightly_202611171508 (ATOM 5f3ae2b5b). 为 GLM-5.2 MI355X ATOM 曲线新增单机 TP8 mono 测试点:新增 glm5.2-fp4-mi355x-atom-disagg-agentic-mtp-agg,单台 TP8 节点在并发 1 和 2 下运行 ATOM 的 GLM-5.2 mono decode(按发布原样的 BF16 attention, ROCm/ATOM#3266)、FP8 index cache 上的 DSA indexer mono decode,以及 3 个 草稿 token 的 MTP。framework 为 atom-disagg 且 disagg 为 false,使这些 测试点与分离式测试点同属 mooncake-atom 曲线。删除 1P1D 并发 128 与 1P3D 并发 12、16,分离式各角色固定 ATOM_MONO_ENABLE=0,两个条目均改用 rocm/atom-dev:nightly_202611171508(ATOM 5f3ae2b5b)。 Co-Authored-By: Claude Opus 5.5 <[email protected]> * chore(changelog): link the GLM-5.2 TP8 mono entry to #5120 将 GLM-5.2 TP8 mono 条目的链接指向 #5120。 Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(agentx): raise the GLM-5.2 MI355X ATOM P/D workers' memlock soft limit Slurm now starts job steps on the MI355X nodes with an 8 MiB RLIMIT_MEMLOCK soft limit; the hard limit is unlimited. The ionic driver charges each GPU KV registration against the soft limit before it falls back to peer memory, and the remapped container root has no CAP_IPC_LOCK, so every Mooncake KV registration of the ATOM P/D workers failed with ENOMEM. A setup script lifts the worker shell's soft limit to the hard limit before ATOM starts, as the vLLM and SGLang Mooncake recipes already do. 中文:MI355X 节点上 Slurm 现在以 8 MiB 的 RLIMIT_MEMLOCK soft limit 启动作业 (hard limit 为 unlimited)。ionic 驱动在回退到 peer memory 之前,会先把每次 GPU KV 注册计入 soft limit;容器内 remap 的 root 没有 CAP_IPC_LOCK,因此 ATOM P/D worker 的每次 Mooncake KV 注册都以 ENOMEM 失败。新增的 setup script 在 ATOM 启动前把 worker shell 的 soft limit 提到 hard limit,与 vLLM、SGLang 的 Mooncake 配方做法一致。 Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(changelog): state the GLM-5.2 MTP draft data type in the MI355X ATOM AgentX entry - The MTP draft (model.layers.78) ships in BF16 and is excluded from the checkpoint's MXFP4 quantization, so ATOM loads it in BF16 at both the old and new commit; its KV cache keeps the target's FP8, as before. - MTP 草稿层(model.layers.78)以 BF16 发布,并被排除在检查点的 MXFP4 量化之外,因此 ATOM 在新旧两个提交中都以 BF16 加载它;其 KV 缓存仍与目标模型一致使用 FP8,与之前相同。 Co-Authored-By: Claude Opus 5.5 <[email protected]> * chore(agentx): put the GLM-5.2 MI355X ATOM entries on one curve Both GLM-5.2 MI355X ATOM entries, the disaggregated one and the new single-node TP8 one, use framework atom instead of atom-disagg, so their points join the other single-node ATOM points on one curve per engine. The config keys keep their names. 中文:GLM-5.2 MI355X 的两个 ATOM 条目(分离式条目和新增的单机 TP8 条目) 改用 framework atom 而不是 atom-disagg,使它们的测试点与其他单机 ATOM 测试点归入同一条曲线(每个引擎一条曲线)。config key 名称保持不变。 Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(agentx): GLM-5.2 MI355X ATOM: single-node TP8 mono points, nightly_202611171508 [skip-sweep] - Update both entries from rocm/atom-dev:nightly_202611110332 (ATOM 920a200a3) to rocm/atom-dev:nightly_202611171508 (ATOM 5f3ae2b5b, Mooncake 206d634), pinned by digest, and move the AToMesh router from 920a200a3 to the same ATOM commit. - Add single-node TP8 points at concurrency 1 and 2 (new key glm5.2-fp4-mi355x-atom-disagg-agentic-mtp-agg). Both entries now use framework atom instead of atom-disagg, so the single-node and disaggregated ATOM points form one curve. - Drop 1P1D concurrency 128 and 1P3D concurrency 12 and 16. 1P1D 56, 72, 96 and 112, 1P2D 56 and 1P3D 24 remain. - The TP8 server runs ATOM's GLM-5.2 mono decode (ATOM_MONO_ENABLE=1) and the DSA indexer mono decode on FP8 KV and index caches, with MTP at three draft tokens and the golden acceptance 2.99. It admits 2 requests, captures graphs at 1 and 2, and uses max-num-batched-tokens 16384 and gpu-memory-utilization 0.95. - The disaggregated points keep their recipes and set ATOM_MONO_ENABLE=0 on prefill and decode, so their decode stays on the path the previous image ran. - The disaggregated workers raise RLIMIT_MEMLOCK's soft limit to the hard limit before they start (setup script raise-memlock-soft-limit.sh). Slurm sets the soft limit to 8 MiB, and the ionic driver charges every GPU KV registration against it before falling back to peer memory, so without the raise each Mooncake KV registration fails with ENOMEM. - Weights run as shipped in amd/GLM-5.2-MXFP4 with no online quantization, AITER quick reduce is unset, and the mono decode's all-reduce sums BF16 partials in FP32. - Relevant ATOM changes in the image: ROCm/ATOM#3266 (GLM-5.2 mono decode on the checkpoint's BF16 attention), #3350 (mono mailbox polling stalls during concurrent transfers), #3043 (FP8 indexer prefill logits and key gathers in bounded passes), #3097 and #3324 (shared Mooncake Store loads and restores) and #3147 (P/D decode admission bounded by pending receive KV bytes). - Draft data types: no change. The MTP draft (model.layers.78) ships in BF16 and is excluded from the checkpoint's MXFP4 quantization, so ATOM loads it in BF16 at both the old and new commit; it shares the target's FP8 KV cache, as before. - 两个条目的镜像从 rocm/atom-dev:nightly_202611110332(ATOM 920a200a3)更新为 rocm/atom-dev:nightly_202611171508(ATOM 5f3ae2b5b,Mooncake 206d634),按 digest 固定;AToMesh router 也从 920a200a3 改为同一 ATOM commit。 - 新增并发 1 和 2 的单机 TP8 测试点(新键 glm5.2-fp4-mi355x-atom-disagg-agentic-mtp-agg)。两个条目的 framework 都由 atom-disagg 改为 atom,使单机与分离式 ATOM 测试点归入同一条曲线。 - 删除 1P1D 并发 128 以及 1P3D 并发 12 和 16。保留 1P1D 56、72、96、112,1P2D 56 和 1P3D 24。 - TP8 服务端运行 ATOM 的 GLM-5.2 mono decode(ATOM_MONO_ENABLE=1)和 DSA indexer mono decode,KV cache 与 index cache 均为 FP8;MTP 使用 3 个草稿 token,golden 接受长度为 2.99。最多接纳 2 个请求,graph 捕获大小为 1 和 2,max-num-batched-tokens 16384,gpu-memory-utilization 0.95。 - 分离式测试点保留原配方,并在预填充与解码上设置 ATOM_MONO_ENABLE=0,使其 decode 保持在上一版镜像运行的路径上。 - 分离式 worker 启动前把 RLIMIT_MEMLOCK 的软限制提升到硬限制(setup 脚本 raise-memlock-soft-limit.sh)。Slurm 把软限制设为 8 MiB,而 ionic 驱动在回退到 peer memory 之前会把每次 GPU KV 注册计入该限制;不提升的话,每次 Mooncake KV 注册都会以 ENOMEM 失败。 - 权重按 amd/GLM-5.2-MXFP4 发布原样运行,不做在线量化;未设置 AITER quick reduce;mono decode 的 all-reduce 以 FP32 累加 BF16 部分和。 - 镜像中相关的 ATOM 改动:ROCm/ATOM#3266(在 checkpoint 的 BF16 attention 上运行 GLM-5.2 mono decode)、#3350(并发传输时的 mono mailbox 轮询卡顿)、#3043(FP8 indexer 预填充 logits 与 key gather 分批进行)、#3097 和 #3324(共享 Mooncake Store 的加载与恢复)以及 #3147(按待接收 KV 字节数限制 P/D decode 的准入)。 - 草稿模型数据类型:不变。MTP 草稿(model.layers.78)以 BF16 发布,并被排除在 checkpoint 的 MXFP4 量化之外,因此 ATOM 在新旧 commit 下都以 BF16 加载它;它与目标模型共用 FP8 KV cache,与之前相同。 Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: seungrokj <[email protected]> Co-authored-by: Cam Quilici <[email protected]>
Raise GB200 DSpark CUDA graph capture to a minimum of 64 for c1/c2/c4 subagent fan-out. Preserve c8+ sizing, the full AgentX trace, synthetic AL 3.51, and Engram UVA. B300 c1 evidence: CI, ITL P90/P99 38.74/41.42 → 2.62/3.45 ms; other points require sweep validation.
将 GB200 DSpark 的 CUDA graph 最小捕获范围设为 64,以覆盖 c1/c2/c4 子代理并发。保持 c8+ 大小、完整 AgentX 轨迹、合成 AL 3.51 和 Engram UVA;B300 c1 已验证改善,其他点由 sweep 验证。
Validation / 验证:12 behavioral tests, Bash syntax, exact c1/c2/c4 matrix / 12 项行为测试、Bash 语法及精确 c1/c2/c4 矩阵。
Note
Low Risk
GB200-only benchmark launcher env and capture sizing; no auth, data, or serving API changes beyond vLLM graph capture parameters for one agentic recipe.
Overview
Sets a 64-token minimum for vLLM
--max-cudagraph-capture-sizeon GB200 single-node DeepSeek-V4.1-Flash DSpark AgentX runs by exportingDSV41_MIN_CUDAGRAPH_CAPTURE_SIZE=64inlaunch_gb200-nv.shand honoring that floor indsv41flash_fp4_vllm_mtp.shbefore the existingCONC * (1 + NUM_SPEC_TOKENS)doubling loop. c1/c2/c4 capture sizes move from 8/16/32 to 64; c8+ behavior is unchanged when the computed target already exceeds 64.DSpark speculative config (five tokens, synthetic AL 3.51), 1M context, and Engram UVA are untouched. Documentation (EN/ZH) and
perf-changelog.yamlrecord the GB200 recipe change.runners/test_dsv41flash_capture.pyadds parametrized tests that stub the benchmark script and assert capture sizing plus eval vs throughput speculative settings.Reviewed by Cursor Bugbot for commit 343628b. Bugbot is set up for automated code reviews on this repo. Configure here.