Repository navigation
[NVIDIA][AgentX] GB300 GLM-5.3 NVFP4 Dynamo+SGLang: NVIDIA megakernel points and the disaggregated curve on SGLang 1.0 / [NVIDIA][AgentX] GB300 GLM-5.3 NVFP4 Dynamo+SGLang:NVIDIA megakernel 点与 SGLang 1.0 上的分离式曲线 - #5242
nvpohanh wants to merge 8 commits into
Conversation
…l points
Serve GLM-5.3 NVFP4 on GB300 with Dynamo 1.8.0.dev20261119 and
lmsysorg/sglang:nightly-dev-20261121-a8ac8659:
- agg-megakernel: TP4 and TP8 at concurrency 1 with the NVIDIA megakernel.
- disagg-megakernel: 1P5D c30 and 1P3D c40 with megakernel TP4 decode.
- disagg: the GLM-5.2 disaggregated recipes (1P3D c40, 1P1D DEP8 c56,
3P1D DEP8 c216/c264, 4P1D DEP16 c256) moved to GLM-5.3 and this image,
with the SGLang 1.0 flag renames (--disable-{decode,prefill}-cuda-graph,
--attn-dp-size, --moe-a2a-backend flashinfer_nvlink_one_sided).
Retire the GLM-5.2 GB300 Dynamo-SGLang keys and delete their recipes, and
add GLM-5.3-NVFP4 to the gb300-nv model list.
Co-authored-by: Kaixi Matteo Chen <74564987+mattteochen@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for the contribution!
中文感谢你的贡献!
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
[by Claude Code] I've started babysitting the pipeline of this PR. I'll keep monitoring it until it passes. If a job fails, I may rerun it when the cause is infrastructure, or push a fix or a merge of the latest |
The megakernel 1P3D TP4 c40 point has the same agentic result identity (hardware, model, framework, precision, MTP, offload, topology and concurrency), so the two rows would overwrite each other. Keep the megakernel point and delete the unused recipe override. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
View unofficial run (performance): https://inferencex.semianalysis.com/inference?unofficialRun=45930462471 View unofficial run (accuracy): https://inferencex.semianalysis.com/evaluation?unofficialRun=45930462471 |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…h the runtime optimizations Replace the aggregated TP4 and TP8 concurrency-1 megakernel points with concurrency-4 points that allow at most 1 running request, so a request is always queued when the running one finishes. Both run NEXTN MTP with 3 steps and 4 draft tokens, no KV offload, SGLANG_ENABLE_NV_MEGA_RUNTIME_OPTIMIZATION=1 and --enable-torch-symm-mem, with the KV dtype, DSA decode kernel and MoE runner that the GLM-5.3 megakernel spec requires set explicitly. They use the Dynamo runtime the image ships. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@nvpohanh the sweep ended red on infra, not on accuracy or perf:
Could you re-run failed jobs, ideally keeping c012 out? |
…dynsgl-megakernel # Conflicts: # inferencex-e2e/perf-changelog.yaml
functionstackx
left a comment
There was a problem hiding this comment.
hi @nvpohanh any chance, can u tune the TTFT a bit more? it seems to have worse e2el
|
[by Claude Code] The SGLang cookbook integration of this PR's AgentX configs ( This PR has no authorized |
|
[by Claude Code] sgl-project/sglang#53390 has been merged. This PR's AgentX configs ( This PR has no authorized |
working on it! |
…ncurrency 4, add TP8 concurrency 1 The aggregated TP4 and TP8 concurrency-4 megakernel points allowed only 1 running request, so requests queued behind the running one and the queue wait dominated TTFT. Raise --max-running-requests and --cuda-graph-max-bs-decode to 4 on both, and add a TP8 concurrency-1 point that keeps both limits at 1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dynsgl-megakernel # Conflicts: # inferencex-e2e/perf-changelog.yaml
|
[by Claude Code] I've started babysitting the pipeline of this PR. I'll keep monitoring it until it passes. If a job fails, I may rerun it when the cause is infrastructure, or push a fix or a merge of the latest |

Summary
GLM-5.3 NVFP4 has no GB300 Dynamo-SGLang AgentX coverage on
main. The GB300 Dynamo-SGLang lane still runs GLM-5.2 on the October SGLang nightlies. This PR moves that lane to GLM-5.3 onlmsysorg/sglang:nightly-dev-20261121-a8ac8659(digest-pinned) with Dynamo1.8.0.dev20261119. It also replaces the low-latency points with NVIDIA megakernel points (--enable-nvidia-megakernel, sgl-project/sgl-nvidia-mega#24; the image includes sgl-project/sglang#46210).New keys. All three serve
nvidia/GLM-5.3-NVFP4oncluster:gb300-nvwith MTP (top-1). The disaggregated points use HiCache DRAM KV offload; the aggregated points use none. There are 9 points.glm5.3-fp4-gb300-dynamo-sglang-agentic-agg-megakernelagg-mk-tp4.yaml,agg-mk-variants.yamlglm5.3-fp4-gb300-dynamo-sglang-agentic-disagg-megakerneldisagg-mk-variants.yamlglm5.3-fp4-gb300-dynamo-sglang-agentic-disaggdisagg-variants.yamlmax-running-requests: 4andcuda-graph-max-bs-decode: 4, so concurrent requests run together instead of queuing behind the running one. TP8 c1 keeps both at 1.SGLANG_ENABLE_NV_MEGA_RUNTIME_OPTIMIZATION=1and--enable-torch-symm-mem.--attention-backend dsa --dsa-decode-backend trtllm,--moe-runner-backend flashinfer_trtllmand--disable-shared-experts-fusion.SGLANG_ENABLE_EMBED_REPLICATION=1(EAGLE, 5 draft steps).-disaggkey. It ports the GLM-5.2 GB300 disaggregated recipes, except 1P5D c30 and 1P3D c40, which the megakernel points replace. A non-megakernel 1P3D c40 point would share the megakernel point's result identity and overwrite it. Only the checkpoint, image and Dynamo version change, plus these flags that SGLang 1.0 removed:--disable-decode-cuda-graph --disable-prefill-cuda-graphinstead of--disable-cuda-graph.--attn-dp-size Ninstead of--dp-size N --enable-dp-attention.--moe-a2a-backend flashinfer_nvlink_one_sidedinstead offlashinfer.max-running-requestsis still divided byattn-dp-size, so every DEP point keeps 32 requests per rank, matchingcuda-graph-max-bs-decode.1.8.0.dev20261119wheel, because Dynamo 1.7 and older passEngine.async_generate(data_parallel_rank=), which this SGLang rejects.glm5.2-fp4-gb300-dynamo-sglang-agentic-aggand-disaggare retired, and their recipes are deleted. Their historical results stay in the database. The other GLM-5.2 keys, including GB300 Dynamo-TRT, are unchanged.GLM-5.3-NVFP4is added to thegb300-nvmodel list on thedata-modelsroot.Acceptance and draft. No recipe sets an acceptance length, so the launcher uses the
glm-5.3-nvfp4golden curve: 2.94 at 3 draft steps (agg) and 3.48 at 5 (disagg). The draft is the checkpoint's embedded NextN MTP head as it ships. No recipe setsSGLANG_SIMULATE_ACC_*,SGLANG_NVFP4_CKPT_FP8_NEXTN_MOEor a draft quantization.Risks:
im-gb300-r03-c012,-c013and-c015. The failures were a containerExec format error, null bytes in installed Python files, and a prefill rank hang on c013.--attn-dp-size) under Dynamo. Dynamo has routed attention-DP ranks byattn_dp_sizesince fix(sglang): count attention-DP ranks from attn_dp_size ai-dynamo/dynamo#16005.Overlap with #4706. This PR supersedes #4706, which ports the same GLM-5.2 recipes to GLM-5.3 on the October images. Both PRs define
glm5.3-fp4-gb300-dynamo-sglang-agentic-disaggandglm5.3/sglang/gb300-fp4/agentx/disagg-variants.yaml, so only one of them can merge as is.Changelog. The PR appends two entries: a regular entry for the three new keys and a
retired: trueentry for the two GLM-5.2 keys. AGENTS.md allows one block per PR. The retirement rules in CONTRIBUTING.md needretired: trueentries, which cannot carryscenario-type, and they describe mixed retirement and active entries. This PR follows the retirement rules.Plan.
python -m infx.matrix.changed --base origin/mainlists the three new keys (9 points) and the two retired keys.infx.matrix.planschedules 9 benchmark jobs and 8 GSM8K evals. TP8 c1 has no eval; TP8 c4 covers that topology.AI model disclosure
claude-opus-5-5), in Claude Code.a8ac8659, and assembled the megakernel recipes (co-authored by Kaixi Matteo Chen), master-config entries, changelog entries and this description. The aggregated concurrency-4 megakernel change was authored by Anish Shanbhag with the same model. Raising the concurrency-4 points to 4 running requests and adding TP8 c1 were done with the same model.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,agentx-fast, andevals-lastrequire a primary label;evals-onlyandagentx-fastblock 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.中文
main上没有 GLM-5.3 NVFP4 的 GB300 Dynamo-SGLang AgentX 覆盖;该 lane 仍在 10 月的 SGLang nightly 上运行 GLM-5.2。本 PR 将该 lane 迁移到 GLM-5.3,使用lmsysorg/sglang:nightly-dev-20261121-a8ac8659(按 digest 固定,包含 sgl-project/sglang#46210)和 Dynamo1.8.0.dev20261119,并用 NVIDIA megakernel 点(--enable-nvidia-megakernel,sgl-project/sgl-nvidia-mega#24)替换低延迟点。glm5.3-fp4-gb300-dynamo-sglang-agentic-agg-megakernel:聚合 TP4 c4,以及跨两节点的 TP8 c4 与 c1(NEXTN,3 步 draft)。c4 点设置max-running-requests: 4与cuda-graph-max-bs-decode: 4,并发请求一起运行,不再排队等待正在运行的请求;TP8 c1 两者均为 1。设置SGLANG_ENABLE_NV_MEGA_RUNTIME_OPTIMIZATION=1、--enable-torch-symm-mem,以及 GLM-5.3 megakernel 要求的 FP8 E4M3 KV cache、--attention-backend dsa --dsa-decode-backend trtllm、--moe-runner-backend flashinfer_trtllm与--disable-shared-experts-fusion;使用镜像自带的 Dynamo(版本相同)。glm5.3-fp4-gb300-dynamo-sglang-agentic-disagg-megakernel:1P TP1 PP4 + 5D TP4 c30、1P TP1 PP4 + 3D TP4 c40,decode 启用 megakernel。glm5.3-fp4-gb300-dynamo-sglang-agentic-disagg:迁移自 GLM-5.2 的分离式 recipe(1P1D DEP8 c56、3P1D DEP8 c216 与 c264、4P1D DEP16 c256),不含被 megakernel 点取代的 1P5D c30 与 1P3D c40(非 megakernel 的 1P3D c40 与 megakernel 点结果标识相同,会相互覆盖)。-disaggkey 的改动:除 checkpoint、镜像和 Dynamo 版本外,只替换 SGLang 1.0 已移除的参数:--disable-decode-cuda-graph --disable-prefill-cuda-graph替代--disable-cuda-graph。--attn-dp-size N替代--dp-size N --enable-dp-attention。--moe-a2a-backend flashinfer_nvlink_one_sided替代flashinfer。max-running-requests仍为 32。glm5.2-fp4-gb300-dynamo-sglang-agentic-agg与-disagg并删除其 recipe,历史结果保留在数据库中;其他 GLM-5.2 key(包括 GB300 Dynamo-TRT)不变。gb300-nv模型列表中新增GLM-5.3-NVFP4(data-models根目录)。glm-5.3-nvfp4golden 曲线(聚合 3 步 2.94,分离式 5 步 3.48);draft 为 checkpoint 自带的 NextN MTP head,不设置SGLANG_SIMULATE_ACC_*、SGLANG_NVFP4_CKPT_FP8_NEXTN_MOE或 draft 量化。im-gb300-r03-c012、-c013、-c015:容器Exec format error、Python 文件含空字节,以及 c013 上 prefill rank 挂起。--attn-dp-size)。glm5.3-fp4-gb300-dynamo-sglang-agentic-disagg与disagg-variants.yaml,因此只能合并其一。retired: true条目。AGENTS.md 规定每个 PR 只能有一个 block,而 CONTRIBUTING.md 的退役规则要求单独的retired: true条目(不能带scenario-type),并说明了常规与退役条目混合的情况。本 PR 遵循退役规则。claude-opus-5-5,在 Claude Code 中)将 GLM-5.2 分离式 recipe 迁移到 GLM-5.3 与 SGLang 1.0,对照a8ac8659的 SGLang 源码检查参数,并整理 megakernel recipe(与 Kaixi Matteo Chen 共同完成)、master config、changelog 与本说明。并发 4 的聚合 megakernel 改动由 Anish Shanbhag 使用同一模型完成;将 c4 点改为允许 4 个运行中请求并新增 TP8 c1 也由同一模型完成。🤖 Generated with Claude Code