Repository navigation
[Doc] cookbook: Refresh SemiAnalysis AgentX launches to InferenceX main (GLM-5.2 NVFP4 B300 agg TP4, Dynamo frontend counts) - #44065
Merged
nvpohanh merged 1 commit intoOct 14, 2026
Conversation
nvpohanh
requested review from
JustinTong0323,
sogalin,
wisclmy0611 and
zijiexia
as code owners
October 13, 2026 13:20
This was referenced Oct 13, 2026
Contributor
|
LGTM |
faradawn
approved these changes
Oct 13, 2026
…ain (GLM-5.2 NVFP4 B300 agg TP4, Dynamo frontend counts) Regenerate the Agentic Long-Context Deployment data of GLM-5.2, DeepSeek-V4, DeepSeek-V4.1, Qwen3.5 and Qwen3.8-Flash-Next from InferenceX main (01e3b46a) with only two open InferenceX PRs overlaid: sgl-project#3953 (GLM-5.2 NVFP4 B300 Dynamo+SGLang aggregated TP4, in progress at its head) and sgl-project#3927 (DeepSeek-V4.1 GB200 SGLang, pinned to its /use run). - InferenceX sgl-project#3859 and sgl-project#3836 merged; their lanes are now pinned to the same runs on main. - InferenceX sgl-project#3817, sgl-project#2978, sgl-project#3606 and sgl-project#3860 are no longer overlaid: their PR-only lanes (DeepSeek-V4 B300 Dynamo+SGLang, Qwen3.5 B300 Dynamo+SGLang pareto) are removed, and the lanes they revised go back to their measured main versions. - The four GLM-5.2 GB200 Dynamo+SGLang lanes are pinned to the InferenceX sgl-project#3401 run the dashboard has served since 2026-10-07. - Dynamo frontend replica counts (and nginx on single-node jobs) now match the nodes each SemiAnalysis job allocated. Only the generated data files change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
nvpohanh
force-pushed
the
pohanh/cookbook-agentx-refresh-1013
branch
from
October 14, 2026 04:17
ed14a1c to
40c283f
Compare
Collaborator
Author
|
looks good locally. force-merge to unblock SA AgentX submission. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[by Claude Code]
Motivation
Refresh the cookbook's interactive Agentic Long-Context Deployment sections (#42726, #43083, #43799, #43983) on GLM-5.2, DeepSeek-V4, DeepSeek-V4.1, Qwen3.5 and Qwen3.8-Flash-Next against the latest InferenceX
main. Only two open InferenceX PRs stay overlaid. The configurations are mirrored from SemiAnalysis submissions as raw launch commands, each linked to the run that measured it.This PR adds the GLM-5.2 NVFP4 B300 Dynamo+SGLang aggregated TP4 submission from InferenceX #3953. It stops overlaying four open InferenceX PRs that are not ready for submission. Lanes that exist only in those PRs leave the pages, and lanes they had revised go back to their measured
mainversions. It also corrects two pipeline errors: the number of Dynamo frontends shown, and four GLM-5.2 GB200 lanes that were pinned to outdated runs. The Deployment panels are unchanged.Source
InferenceX
main(01e3b46a), with these open InferenceX PRs overlaid:glm5.2-fp4-b300-dynamo-sglang-agentic-agg-tp4/useyet: in progress, PR head56b2949adsv41flash-fp4-gb200-sglang-agentic-dspark/use), verifiedA lane from a PR without an authorized
/userun is rendered at the PR head and labeled "In progress in SA InferenceX AgentX". It switches to the measured run on the next sync after a/usecomment or a merge.Changes in the overlay list since #43983:
main. InferenceX #3859 (dsv41flash-fp4-gb300-sglang-agentic-dspark) and InferenceX #3836 (glm5.2-fp8-b300-sglang-agentic-mtp). Both lanes are now pinned to their dashboard runs onmain: run 38221097558 and run 38304664439. These are the runs their/usecomments named, and the commands are unchanged.What this PR does
Only the generated data files change. The component (
_agentx.jsx), page text, Deployment panels and Playgrounds are untouched.GLM-5.2 NVFP4 B300 Dynamo+SGLang (InferenceX #3953), new. Two deployments of one aggregated TP4 engine on 4 of a B300 node's 8 GPUs, behind a Dynamo frontend with the KV router. "Agg TP4" covers c1, c8, c16 and c20. "Agg TP4·DPA4" (DP4 attention with the prefill delayer) covers c24, c32 and c48. Both run EAGLE MTP 5-1-6 on the checkpoint's built-in NextN head with HiCache (host DRAM), on
lmsysorg/sglang:nightly-dev-cu13-20260901-07c8f729withai-dynamo1.5.0.dev20260903. The lane is in progress at the PR head until it gets a/userun. The Mooncake tier is shown as not available because this image predates the external linker.Lanes of the PRs that are no longer overlaid. The pages now show what InferenceX
mainhas for these lanes:dsv4-fp4-b300-dynamo-sglang-agentic-aggand-disagg, 5 deployments) are removed. Those keys exist only in that PR.dsv4-fp4-b300-sglang-agentic-hicache-mtpgoes back from the in-progress revision of InferenceX #3606 (Agg TP4, TP8 and DEP8) to its measuredmainversion: InferenceX #2918, run 34595563156,nightly-dev-20260901-07c8f729. That version has Agg TP8 at c1–c32 and Agg DEP8 with HiCache at c32–c576.dsv4-fp4-b300-sglang-agentic-hicache-eagle, Agg TP4 and Agg TP8 at c1–c32) have a derived HiCache variant. It took its flags from [Bug] #3817's lane and now takes them from the B300 SGLang HiCache lane above, so--hicache-ratio 2.75 --hicache-write-policy write_throughbecomes--hicache-ratio 3 --hicache-write-policy write_back.dsv41flash-fp4-gb300-dynamo-sglang-agentic-disagggoes back from the 8 in-progress deployments of InferenceX #3860 to the 3 measured onmain: InferenceX #3598, run 37260940238. These are 1P2D at c16–c64, 1P1D at c96 and c160, and 2P1D at c256.qwen3.5-fp4-b300-dynamo-sglang-agentic-pareto, 4 deployments) are removed. That key exists only in that PR.GLM-5.2 GB200 Dynamo+SGLang re-pinned (fix). Since InferenceX #3401 merged on 2026-10-07, the dashboard has served
glm5.2-fp4-gb200-dynamo-sglang-agentic-agg,-disagg,-mtpand-mtp-aggfrom run 37506762704. The pipeline had cached that day's dashboard changelog before Failed run multiple-nodes between two nodes #3401 landed, so earlier cookbook PRs kept these lanes on the August runs of InferenceX #2620 and InferenceX #2642. Now they are pinned to the Failed run multiple-nodes between two nodes #3401 run. The workers setSGLANG_NVFP4_CKPT_FP8_NEXTN_MOE=0instead of1(Failed run multiple-nodes between two nodes #3401: "Preserve draft precision"). The disaggregated and MTP lanes runlmsysorg/sglang:v0.5.18-cu130(the arm64 digest SA pinned) instead ofv0.5.17-cu130andnightly-dev-cu13-20260805-211ee642. Nothing else in the commands changes.Dynamo frontend counts (fix). The pipeline previously rendered each launch on the job's nodes plus two spare nodes. With multiple frontends enabled, srt-slurm puts a frontend on every non-head node, so these deployments showed two more
dynamo.frontendreplicas than SemiAnalysis launched. Single-node deployments also showed an nginx that never ran. The launches are now rendered on exactly the nodes each job allocated, using srt-slurm's own sbatch node count. This was checked against four real SemiAnalysis job logs. A 6-node GLM-5.2 GB200 1P4D job ran 5 frontends, where the page showed 7. A 1-node Qwen3.5 B300 1P1D job ran one frontend with no nginx, and pinned prefill and decode to GPUs 0–3 and 4–7 of the same node. Affected: 29 deployments in 19 lanes.These deployments change in three ways. The frontend replica count is corrected. nginx is removed where the job had one node, and the frontend then listens on port 8000. The two single-node Qwen3.5 disaggregated lanes also change their worker GPU pinning. Worker commands are unchanged.
How the commands are produced
The pipeline and rules are the same as in #42726, #43083, #43799 and #43983, with these changes:
mainnow builds each srt-slurm recipe from a fragment plus shared blocks, and binds the matrix point at launch (InferenceX #3805, #3809, #3818, #3820 and #3824, merged on 2026-10-13). A lane pinned to such a commit (here only [Bug] RecursionError: maximum recursion depth exceeded while calling a Python object #3953, whose head merged that refactor) is rendered from the recipe that InferenceX's own binder (infx generate) produces at that commit. For [Bug] RecursionError: maximum recursion depth exceeded while calling a Python object #3953, this gives the same server commands as the pre-refactor headcaa2199edid.--prefill-delayer-max-delay-passes, an SGLang scheduler setting for--enable-prefill-delayerthat [Bug] RecursionError: maximum recursion depth exceeded while calling a Python object #3953 uses at c48.Each lane is rendered at the exact commit of the run that produced its dashboard data. For an open PR, that is the run named by its authorized
/usecomment, or the PR head when there is none. SA-only settings are removed: the benchmark harness, cluster paths and caches, telemetry, and InferenceX's synthetic speculative acceptance (disclosed per deployment). Placeholders replace IPs, ports and NICs. Router and KV-offload variants that were not run are derived and labeled "Derived — not run".qwen3.5-fp8-h100-sglang-agentic(H100 without MTP) has never produced dashboard data, so there is no run to pin it to.The data files are generated, so there is no hand-written code to review here.
Validation
mint validate(strict build) andmint broken-links --check-anchors --check-redirectspass.node docs/scripts/check_cookbook_configs.mjspasses, and so doespre-commit run --all-files.mint dev, opening every tab. That is 2,144 command sets: GLM-5.2 328, DeepSeek-V4 316, DeepSeek-V4.1 396, Qwen3.5 1,028 and Qwen3.8-Flash-Next 76. The rendered commands match the expected text exactly. For every deployment, the "Copy link" URL of a non-default selection was reopened in a fresh tab and restored the same selection and tab (116 links).main, the only changes are the ones listed above. GLM-5.2 adds 28 [Bug] RecursionError: maximum recursion depth exceeded while calling a Python object #3953 command sets (7 points × 2 routers × 2 KV tiers). DeepSeek-V4, DeepSeek-V4.1 and Qwen3.5 drop 88, 12 and 20 command sets with the lanes and deployments removed above. The remaining changes are the GLM-5.2 GB200 re-pin, the reverted DeepSeek-V4 / DeepSeek-V4.1 lanes, the re-derived DeepSeek-V4 EAGLE HiCache variant, and the frontend topology. Every other deployment renders byte-identical commands on all five pages, including the derived router and KV-offload variants. That includes InferenceX #3836, InferenceX #3859 and InferenceX #3927, and all of Qwen3.8-Flash-Next.main).sglang.launch_server,dynamo.sglang,sglang_router.launch_routeranddynamo.frontendcommand (1,848 distinct, across 29 images) parses with the argument parsers of its own submission image (CPU only). The 58 commands that are new in this PR were parsed now:v0.5.18-cu130ran in the amd64 build of that tag. SA pinned its arm64 digest, and both platforms carry the same SGLang build (71de97b2, one build run). Their Dynamo commands were checked against the Dynamo source build at71eb001ethat the run used.dev-cu13-nightly-09242. The 10 derived HiCache commands of the DeepSeek-V4 B300 SGLang lane's Agg TP8 points ran in theirs,nightly-dev-20260901-07c8f729.No serving or benchmark runs were performed for this PR; the numbers live in the linked SemiAnalysis runs. SGLang CI was not triggered.
🤖 Generated with Claude Code
CI States
Latest PR Test (Base): ✅ Run #38510642994
Latest PR Test (Extra): ❌ Run #38510642945
Latest PR Test (AMD ROCm 10): ➖ No AMD PR run found for this commit.