Skip to content

[NVIDIA][AgentX] Append GB300 DSV4.1-Flash Dynamo + SGLang TP2/EP2 c16 and 3P1D c1228 points (append-only, follows #4595) / [NVIDIA][AgentX] 追加 GB300 DSV4.1-Flash Dynamo + SGLang TP2/EP2 c16 和 3P1D c1228 点(仅追加,接续 #4595) - #4679

Merged
cquil11 merged 19 commits into
mainfrom
nvpohanh/dsv41flash-gb300-dynsgl-append-tep2-3p1d
Oct 30, 2026

Conversation

@nvpohanh

@nvpohanh nvpohanh commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

Append-only follow-up to #4595 (now merged). It adds back two points to the GB300 DeepSeek-V4.1-Flash Dynamo + SGLang AgentX curve to close the interactivity/E2EL gap between agg TP4 c16 and disagg 5P1D c2884. Existing points are untouched, so the sweep runs only these two points.

Config key Image (unchanged) Added point Recipe override
dsv41flash-fp4-gb300-dynamo-sglang-agentic-agg nightly-dev-cu13-20261029-c10e0e17 TP2/EP2 c16 (1 node) agg-variants.yaml:override_tp2_c16
dsv41flash-fp4-gb300-dynamo-sglang-agentic-dspark-disagg-hicache nightly-dev-cu13-20261028-586355a8 3 × DEP2 prefill + 1 × DEP16 decode, c1228 disagg-dep16-hicache-variants.yaml:override_3p1d_dep2_dep16_c1228
中文

本 PR 是 #4595(已合并)的仅追加(append-only)后续。它为 GB300 DeepSeek-V4.1-Flash Dynamo + SGLang AgentX 曲线补回两个点,以填补 agg TP4 c16 与 disagg 5P1D c2884 之间的交互性/E2EL 空档。现有点保持不变,因此 sweep 只运行这两个新点。

AI model disclosure

weireweire and others added 15 commits October 28, 2026 10:59
…HiCache

Root cause: at c7480 the Mooncake external linker reads L3 hits layer by
layer on the forward path; after the AgentX turn burst, prefill stalls on
those reads (about 40 % of wall time), device prefixes age out, and the
deployment does not recover.

Fix: a new config key on nightly-dev-cu13-20261027-5884e4fe (Dynamo
1.7.0.dev20261026) with 9 and 10 DEP2 prefill workers and one DEP16
decode. Prefill keeps evicted prefixes in a local host-DRAM HiCache tier
(ratio 1.8, write-back, direct I/O); decode keeps SGLang's default polling
interval of 1. Dynamo 1.7 backend admission limits are raised so turns
queue in the scheduler, and NVIDIA/srt-slurm#629 is backported so the
readiness wait asks /health?instances=true when /health is status-only.
The agg and dspark-disagg keys are listed so they rerun in the same sweep.

Validation: on GB300 with the same recipe and AgentX client, 10 x DEP2
batch 128 gave 924,652 tok/s/GPU at p90 117.2 tok/s/user over 3600 s.
…6-hicache

# Conflicts:
#	inferencex-e2e/perf-changelog.yaml
…6-hicache

# Conflicts:
#	inferencex-e2e/perf-changelog.yaml
…ightly and drop TP2/EP2 c16

nightly-dev-cu13-20261028-586355a8 includes sgl-project/sglang#46404. Raise the Dynamo 1.7 backend admission limits as on the disagg rows. TP2/EP2 c16 sits far below the line from TP4 c16 to the disaggregated points, so it is removed with its override.
… 20261028 nightly and retire the Mooncake-linker disagg key

The hicache key now runs on nightly-dev-cu13-20261028-586355a8, which includes
sgl-project/sglang#46404. On that image the KV pool sizes at 890 B/token, so
hicache-ratio drops to 1.2 (1.8 exceeds host memory) and decode
mem-fraction-static to 0.75 (0.85 runs out of memory at graph capture).

Points: 5P c2884 (bs40), 8P c4096 (bs64) and 10P c7480 (bs160). The 9P and 10P
bs128 c7480 points are dropped; bs160 is higher at the same interactivity. The
dspark-disagg key on 65633129 and its recipe are retired.
At decode batch 160, 9 x DEP2 reaches the same p90 interactivity as 10 x DEP2
with two fewer GPUs, so its throughput per GPU is higher.
…6-hicache

# Conflicts:
#	inferencex-e2e/perf-changelog.yaml
…ightly and use the megakernel runtime-optimization switch at TP4 c1

nightly-dev-cu13-20261029-c10e0e17 bundles sgl-nvidia-mega 54b428921749
(megakernel API 2, sgl-project/sglang#47145), so TP4 c1 starts with
--enable-nvidia-megakernel again. SGLANG_ENABLE_NV_MEGA_RUNTIME_OPTIMIZATION
(sgl-project/sglang#47105) replaces the 16 runtime-optimization variables the
recipe set one by one.
…6-hicache

# Conflicts:
#	inferencex-e2e/perf-changelog.yaml
…2.65.2

Main bumped inferencex-e2e/utils/srt-slurm to v2.65.2 (#4601), which includes
NVIDIA/srt-slurm#629, so runners/srt-slurm/patches/629-dynamo-health-instances.patch
and its README row are removed and the changelog entry no longer mentions it.
…points (append-only)

Fill the interactivity/E2EL gap between agg TP4 c16 and disagg 5P1D c2884
on each config's existing image: agg TP2/EP2 c16 with its previous
per-point settings, and a 3 x DEP2 / 1 x DEP16 c1228 point on the prefill
HiCache disagg recipe with the previous c1228 decode sizing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@nvpohanh
nvpohanh requested a review from RohitNagraj as a code owner October 30, 2026 14:45

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Findings marked 🟡 are optional suggestions and need no follow-up push.

Comment thread inferencex-e2e/perf-changelog.yaml Outdated
- "Add back two points to the GB300 DSV4.1-Flash Dynamo + SGLang curve to fill the interactivity/E2EL gap between agg TP4 c16 and disagg 5P1D c2884, on each config's existing image."
- "Agg TP2/EP2 c16 (override_tp2_c16) on nightly-dev-cu13-20261029-c10e0e17, with the same per-point settings it had before it was removed: flashmla, decoder SWA bounded replay, prefill CUDA graphs disabled, prefill-decode-interval 96, swa-prefix-tails 1024, max-running-requests 32, Engram host table per rank. It inherits the base Dynamo 1.7 admission limits."
- "Disagg 3 × DEP2 prefill and 1 × DEP16 decode at c1228 (override_3p1d_dep2_dep16_c1228) on nightly-dev-cu13-20261028-586355a8, with the prefill host-DRAM HiCache base recipe and the retired key's c1228 decode sizing: max-running-requests 384, decode CUDA graph batch 24, disaggregation-decode-extra-slots 36."
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/XXXX

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 The new changelog entry fails PR changelog validation and blocks merge preparation, because its pr-link uses a four-X placeholder the tooling does not accept. validate_added_pr_link accepts only the exact strings in PR_LINK_PLACEHOLDERS (XXX and .../pull/XXX, three X's) or the real .../pull/<number>. .../pull/XXXX matches none of these. Fix: set pr-link to this PR's real URL, or to the exact accepted placeholder https://github.com/SemiAnalysisAI/InferenceX/pull/XXX.

Why this was flagged

The appended block at perf-changelog.yaml:11695 sets pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/XXXX. On PR runs, compare_entries (validate_perf_changelog.py:159) calls validate_added_pr_link for every added entry. That function raises "new PR entry must use ... or an XXX placeholder" whenever the link is neither in PR_LINK_PLACEHOLDERS (validate_perf_changelog.py:21-24, which holds only three-X forms) nor the expected PR URL (line 113). With no PR number it applies CANONICAL_PR_LINK (pull/\d+) instead, which also rejects the link (line 108). At merge time, prepare_perf_changelog_merge.py:108 raises "appended entry ... has unexpected pr-link" for the same value. The entry therefore fails changelog CI and cannot be rewritten to the real link at merge. That stops the append-only sweep for the two new points and its /use merge. Every earlier entry in the file uses a numeric link, and CONTRIBUTING.md:210 shows the three-X placeholder.

Verification: The appended block ends with pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/XXXX. PR_LINK_PLACEHOLDERS (validate_perf_changelog.py:21-24) holds only "XXX" and ".../pull/XXX". validate_added_pr_link raises for any link that is neither a placeholder nor .../pull/{pr_number}. merge_with_reuse.merge_pr hits this via compare_entries (prepare_perf_changelog_merge.py:88).

Comment on lines +139 to +143
# Decode ranks read Engram rows from peer shards instead of a host table.
SGLANG_OPT_DSV41_ENGRAM_PEER_SHARDS: "1"
SGLANG_DSV4_KV_LAYOUT: v41_new
# One gateway process saturates a CPU core serving 16 DP ranks; with 8, one
# instance stalls at high concurrency.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 nit (optional): Two new decode comments record history, which AGENTS.md forbids in recipe comments. Line 139 ("instead of a host table") names what was replaced. Lines 142-143 ("with 8, one instance stalls at high concurrency") record a past result. Fix: keep only the technical reason for each value, e.g. "# One gateway process saturates a CPU core serving 16 DP ranks.", and drop the "instead of a host table" clause.

Why this was flagged

AGENTS.md comment rule (4) bans history comments in every file: what something replaced, where it came from, or past results. Only short technical explanations of a specific line are allowed. The renamed recipe adds # Decode ranks read Engram rows from peer shards instead of a host table. at disagg-dep16-hicache-variants.yaml:139, which describes the replaced setting. It also adds # ...; with 8, one instance stalls at high concurrency. at lines 142-143, which records an earlier run's outcome. The base recipe's gateway comment held only the technical reason. Nothing breaks at runtime; this is a convention slip a maintainer would ask to change.

Verification: The base disagg-variants.yaml decode env had SGLANG_ENABLE_DSV41_ENGRAM_HOST_TABLE: "1" and DYN_SGL_GATEWAY_WORKERS: "8". AGENTS.md:57 says: "No history: how code evolved, what it replaced, where it came from, or past results." Still, both clauses are new and point back at the replaced decode settings, which is what the rule forbids. Nothing breaks at runtime.

@cquil11 cquil11 added the non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim) label Oct 30, 2026
# Conflicts:
#	inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/dsv41flash/sglang/gb300-fp4/agentx/disagg-dep16-hicache-variants.yaml
#	inferencex-e2e/configs/nvidia-master.yaml
#	inferencex-e2e/perf-changelog.yaml
@cquil11 cquil11 changed the title [NVIDIA][AgentX] Append GB300 DSV4.1-Flash Dynamo + SGLang TP2/EP2 c16 and 3P1D c1228 points (append-only, follows #4595) [NVIDIA][AgentX] Append GB300 DSV4.1-Flash Dynamo + SGLang TP2/EP2 c16 and 3P1D c1228 points (append-only, follows #4595) / [NVIDIA][AgentX] 追加 GB300 DSV4.1-Flash Dynamo + SGLang TP2/EP2 c16 和 3P1D c1228 点(仅追加,接续 #4595) Oct 30, 2026
@cquil11

cquil11 commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

/use 41081085818

@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

@cquil11 staged run 41081085818.

This run remains available across future /stage-results requests. Staging the same run ID again updates its staged data. Staging workflow

@cquil11
cquil11 merged commit b6257a7 into main Oct 30, 2026
26 checks passed
@cquil11
cquil11 deleted the nvpohanh/dsv41flash-gb300-dynsgl-append-tep2-3p1d branch October 30, 2026 18:25
@github-actions

Copy link
Copy Markdown
Contributor

Ingest report — ✅ Results ingested into the production database.

Ingest workflow · Merge Ingest run · Benchmark source run

Category new duplicate skipped unmapped failed
benchmark 2 0 0 0 0
eval 0 0 0 0 0
trace 2 0 0 0 0
power 0 0 2 0 0

benchmarkFiles 2, rawBenchmarkRows 2, coveredByPerJobFiles 0, purgedPoints 0, failedRunRows 0, runStatsNew 0, runStatsDuplicate 0, evalSamplesNew 0, gpuMetricSamplesNew 0, powerPublicationPoints 2, 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 报告 — ✅ 结果已写入 production 数据库。

上表仅统计本次运行写入的数据,各行单位依次为 benchmark_results 行、eval_results 行、已关联 trace 的 agentic 行和 gpu_metrics 序列。重新运行 ingest 时本评论会原地更新。

weireweire added a commit that referenced this pull request Nov 2, 2026
…t covers

Root cause: #4679 added agg TP2/EP2 c16 back to fill the interactivity gap
between agg TP4 c16 and disagg 5P c2884, at ~58k tok/s/GPU.

Fix: add 3 x DEP2 prefill + DEP16 decode at c1024 (decode CUDA graph batch
20, max-running-requests 320, extra slots 30) and remove override_tp2_c16 and
its search-space entry.

Validation: 302b78cc fast run with this recipe: ~320k tok/s/GPU projected full
at conv p90 288-294 (agg TP2/EP2 c16 published: 57,670 @ 292.4) and
E2E-normalized p90 107.9 vs 91.4.
nvpohanh added a commit that referenced this pull request Nov 6, 2026
…sagg points on the 20261030 nightly / [NVIDIA][AgentX] 在 20261030 nightly 上重新调整 GB300 DSV4.1-Flash Dynamo + SGLang HiCache 分离式点位 (#4673)

* Retune the GB300 DSV4.1-Flash Dynamo + SGLang HiCache disagg points

Add 5P bs48 c3615, 6P bs64 c4370 and 7P bs96 c5540 with the decode cap at the
P/D equilibrium batch, and 7P c5800 and 9P c7480 at cap 192 with total_requests
decode balancing. Drop 8P c4096. Each point's bound recipe matches the measured
run's resolved config apart from the unused Mooncake services.

* Link the retuned HiCache disagg changelog entry to #4673

* Reword the dropped c4096 note and record the decode extra slots of the new points

* Move the GB300 DSV4.1-Flash Dynamo + SGLang agg and HiCache disagg keys to the 20261030 nightly

nightly-dev-cu13-20261030-302b78cc (index digest d4b7701d) bundles SGLang
52604e1d46, 181 commits after 586355a8, and Dynamo 1.7.0.dev20261029. Recipes
are unchanged; the points are being re-measured on this image before the sweep.

* Drop the 7P free-cap c5800 HiCache point, which 7P BS 96 c5540 dominates

In 3600 s runs on 586355a8, 7P BS 96 c5540 gave 1,031,199 tok/s/GPU at p90
interactivity 155.2 and 7P BS 192 c5800 gave 1,029,432 at 127.1.

* Add the 3P1D c1024 HiCache point and drop the agg TP2/EP2 c16 point it covers

Root cause: #4679 added agg TP2/EP2 c16 back to fill the interactivity gap
between agg TP4 c16 and disagg 5P c2884, at ~58k tok/s/GPU.

Fix: add 3 x DEP2 prefill + DEP16 decode at c1024 (decode CUDA graph batch
20, max-running-requests 320, extra slots 30) and remove override_tp2_c16 and
its search-space entry.

Validation: 302b78cc fast run with this recipe: ~320k tok/s/GPU projected full
at conv p90 288-294 (agg TP2/EP2 c16 published: 57,670 @ 292.4) and
E2E-normalized p90 107.9 vs 91.4.

* Keep one GB300 DSV4.1-Flash Dynamo + SGLang HiCache point per interactivity range

Root cause: the disagg key carried neighbouring points that add little to the
curve (5P c3615 next to 5P c2884, 9P batch 160 next to 9P batch 192, and the
new 3P c1024 next to 3P c1228).

Fix: drop override_5p1d_dep2_dep16_b48_c3615, override_9p1d_dep2_dep16_b160_c7480
and override_3p1d_dep2_dep16_b20_c1024 with their search-space entries, and
rewrite this PR's changelog entry for the final point set.

Validation: rule 18(g) on mean interactivity and tput per GPU with the 302b
3600 s fulls: published 9P batch 160 lies under the 7P c5540 - 9P batch 192
line (+0.6%), agg TP2/EP2 c16 under the agg TP4 c16 - 3P c1228 line, and
8P c4096 under the 5P - 6P line; 5P bs48 cost 0.6% of curve at mean 199.7.

* Add 3P1D c700 to the DSv4.1 GB300 Dynamo + SGLang disagg curve

3x DEP2 prefill + one DEP16 decode at c700 (decode CUDA graph batch 18,
max-running-requests 288, extra slots 27) sits right of agg TP2/EP2 c16 on
p90 interactivity: 299.2 vs 292.4, at about 3.8x its throughput per GPU
(302b78cc, 1200 s fast run, 22 GPUs).

* Drop 6P c4370 from the DSv4.1 GB300 Dynamo + SGLang disagg curve

The point between 5P c2884 and 7P c5540 is not needed for the curve. The
published 8P c4096 (803,198 @ mean 191.4) stays covered: the line between
5P c2884 and 7P c5540 gives about 837,000 there.

---------

Co-authored-by: weireweire <[email protected]>
Co-authored-by: Po-Han Huang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants