[Klaud Cold] glm5.2-fp4-b200-sglang-agentic-mtp: extend the AgentX curve to concurrency 48 with EP8/DEP8 arms / 以 EP8/DEP8 分支将 GLM-5.2 B200 SGLang AgentX 曲线扩展至并发度 48 - #2828
Conversation
Append concurrency points 20, 24, 28, 32, 40, and 48 to the TP8 HiCache MTP arm of glm5.2-fp4-b200-sglang-agentic-mtp. The new points reuse the 169 GB/rank HiCache target pool that c12 and c16 already select; the c1/c4/c8 ratio-mode points and the c12/c16 points are unchanged, so the entry is append-only. 为 glm5.2-fp4-b200-sglang-agentic-mtp 的 TP8 HiCache MTP 分支追加并发度 20、24、28、32、40、48。新增点沿用 c12/c16 已使用的每 rank 169 GB HiCache 目标池;c1/c4/c8 的比例模式及 c12/c16 保持不变,因此为 append-only 条目。 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
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 关于重新运行失败任务的文档 |
补全 perf-changelog 条目中的 PR 链接(#2828)。 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
There was a problem hiding this comment.
Code review found no issues
No high-confidence issues detected in this change.
One verified lower-impact observation (a convention, logging or cleanup point) was not posted.
This review covers commit 64e97b2, which is no longer the latest commit on this pull request; later commits are not covered by it.
|
see unofficial run visualizer at https://inferencex.semianalysis.com/inference?unofficialRun=33924246839 |
…8 arms Past concurrency 20 the low-latency TP8 arm no longer moves the Pareto front, so it now stops at 20 and concurrency 20 through 48 run on two new arms: EP8 (expert-parallel MoE with TP attention) and DEP8 (EP8 with attention-DP behind sglang-router). The recipe script already carried the DP-attention branch; the EAGLE draft-MoE backend override it needed is now gated on EP_SIZE > 1 so the plain EP8 arm gets it too. The TP8 c1-c16 points are byte-identical, so the entry stays append-only. TP8 低延迟分支在并发度 20 之后不再改善帕累托前沿,因此止于 20;并发度 20 至 48 改由两个新分支承担:EP8(专家并行 MoE,TP 注意力)与 DEP8(EP8 加注意力 DP, 经 sglang-router 路由)。脚本已有 DP 注意力分支;其所需的 EAGLE 草稿 MoE 后端 覆盖现改为按 EP_SIZE > 1 触发,使纯 EP8 分支同样生效。TP8 的 c1–c16 点逐字节 不变,条目保持 append-only。 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…-sglang-agentic-mtp-conc48
|
see unofficial run visualizer at https://inferencex.semianalysis.com/inference?unofficialRun=33945277986 |
Summary / 摘要
Extend the GLM-5.2 NVFP4 B200 SGLang AgentX MTP curve (
glm5.2-fp4-b200-sglang-agentic-mtp) from concurrency 16 to 48. Past concurrency 20 the low-latency TP8 arm no longer moves the Pareto front, so the curve is now three arms, all TP8 with HiCache host-DRAM offload:tp: 8[1, 4, 8, 12, 16, 20]tp: 8, ep: 8[20, 24, 28, 32, 40, 48]tp: 8, ep: 8, dp-attn: true+sglang-router 0.3.2[20, 24, 28, 32, 40, 48]将 GLM-5.2 NVFP4 B200 SGLang AgentX MTP 曲线(
glm5.2-fp4-b200-sglang-agentic-mtp)的并发度从 16 扩展到 48。并发度 20 之后 TP8 低延迟分支不再改善帕累托前沿,因此曲线改为三个分支(均为 TP8 加 HiCache 主机内存卸载):TP8 止于 20;新增 EP8(tp: 8, ep: 8)与 DEP8(tp: 8, ep: 8, dp-attn: true,经sglang-router 0.3.2路由)覆盖 20、24、28、32、40、48。Changes / 改动
configs/nvidia-master.yaml— TP8conc-listgains 20; EP8 and DEP8 search-space entries added; entry comment rewritten.benchmarks/single_node/agentic/glm5.2_fp4_b200_sglang_mtp.shDEFAULT_HICACHE_SIZE=169now also matches20|24|28|32|40|48. The12|16arm is byte-identical and c1/c4/c8 still take ratio mode, so no existing point changes behavior. The 169 GB/rank pool plus the 38.73 GB/rank DSA indexer stays at about 1,662 GB across 8 ranks, inside the 1,731 GB this config exposes oncluster:b200-nscale; with attention-DP each rank pins the same pool for its own sessions.--speculative-moe-a2a-backend none --speculative-moe-runner-backend triton) is now gated onEP_SIZE > 1instead ofDP_ATTENTION=true. Its comment already said it is needed whenever expert parallelism puts an all-to-all in the MoE path, which is true for the plain EP8 arm as well.EP_SIZE=1(every existing point) is untouched.--enable-dp-attention, 32768 chunked prefill, sglang-router with consistent hashing on the correlation id) was already in the script and is unchanged.perf-changelog.yaml— appended entry markedappend-only: true.configs/nvidia-master.yaml:TP8conc-list新增 20;新增 EP8 与 DEP8 搜索空间条目;重写条目注释。benchmarks/single_node/agentic/glm5.2_fp4_b200_sglang_mtp.shDEFAULT_HICACHE_SIZE=169的分支新增匹配20|24|28|32|40|48;12|16分支逐字节不变,c1/c4/c8 仍为比例模式,现有点行为不变。每 rank 169 GB 目标池加 38.73 GB DSA 索引器在 8 rank 下约 1,662 GB,仍在本配置于cluster:b200-nscale暴露的 1,731 GB 之内;注意力 DP 下每个 rank 为自身会话固定同样大小的池。--speculative-moe-a2a-backend none --speculative-moe-runner-backend triton)改为按EP_SIZE > 1触发,而非DP_ATTENTION=true。注释本已说明只要专家并行在 MoE 路径引入 all-to-all 就需要该覆盖,纯 EP8 分支同样适用。EP_SIZE=1(所有现有点)不受影响。--enable-dp-attention、32768 分块预填充、按 correlation id 一致性哈希的 sglang-router)脚本中原已存在,未改动。perf-changelog.yaml:追加条目并标记append-only: true。Verification / 验证
generate_sweep_configs.py test-configrenders 18 jobs: TP8[1, 4, 8, 12, 16, 20], EP8[20, 24, 28, 32, 40, 48], DEP8[20, 24, 28, 32, 40, 48]; all steps ≥ 2.utils/process_changelog.py --base-ref origin/main --head-ref HEADaccepts the append-only entry and schedules exactly the 13 new points: TP8 c20, EP8 c20–c48, DEP8 c20–c48.bash -non the recipe script passes.generate_sweep_configs.py test-config生成 18 个任务:TP8[1, 4, 8, 12, 16, 20]、EP8[20, 24, 28, 32, 40, 48]、DEP8[20, 24, 28, 32, 40, 48],步长均 ≥ 2。utils/process_changelog.py --base-ref origin/main --head-ref HEAD接受 append-only 条目,仅调度 13 个新点:TP8 c20、EP8 c20–c48、DEP8 c20–c48。配方脚本
bash -n通过。Sibling PR #2829 extends the B300 curve to 48.
同系列 PR #2829 将 B300 曲线扩展至 48。
🤖 Generated with Claude Code
Note
Low Risk
Benchmark and recipe configuration only; existing conc ≤16 TP8 behavior is preserved and changes are gated on new EP/DEP topology and higher concurrencies.
Overview
Extends the GLM-5.2 NVFP4 B200 SGLang AgentX MTP benchmark (
glm5.2-fp4-b200-sglang-agentic-mtp) from concurrency 16 to 48 by wiring three search-space arms innvidia-master.yaml: low-latency TP8 through conc 20, new EP8 (tp: 8, ep: 8) and DEP8 (EP8 plusdp-attn: truebehind sglang-router 0.3.2) for conc 20–48. Existing TP8 points through 16 are unchanged.The B200 recipe script adjusts serving for those arms only: HiCache uses the 169 GB/rank absolute pool from conc 12 through 48 (not just 12/16); cookbook low-latency flags (
fp8KV, cutedsl, max-prefill) apply whenever DP attention is off, including plain EP8; and the EAGLE draft-MoE workaround (--speculative-moe-a2a-backend none, triton runner) is gated onEP_SIZE > 1instead ofDP_ATTENTION=trueso EP8 initializes correctly. An append-onlyperf-changelog.yamlentry documents the 13 new sweep points.Reviewed by Cursor Bugbot for commit dc6e956. Bugbot is set up for automated code reviews on this repo. Configure here.