Repository navigation
[AgentX] GB300 DSV4.1 Flash SGLang: 20261014 nightly, fastokens, DEP2 bounded replay and c160, TP4 c1 single admission / [AgentX] GB300 DSV4.1 Flash SGLang:升级 20261014 nightly、启用 fastokens、DEP2 开 bounded replay 并新增 c160、TP4 c1 单请求准入 - #4033
Conversation
The 20261013 nightly ships fastokens 0.3.2 (sgl-project/sglang#43104). The chat endpoint re-encodes the whole 300K-600K-token conversation each turn; HF tokenizers spends about 0.6 s of TTFT on it on Grace, fastokens about 0.03 s. Local one-hour runs, 20261012 to 20261013 + fastokens: TP4 c1 TTFT p90 1.38 to 0.28 s, 7,314 to 7,850 tok/s/GPU; TP2 c32 183.1 to 190.9 P90 tok/s/user; DEP2 c128 81.6 to 86.6 P90 at the same throughput.
|
Thanks for the contribution!
中文感谢你的贡献!
|
f8f06ce to
2acedee
Compare
Same settings as DEP2 c128. A local one-hour run on the 20261012 image without fastokens gave 301,770 tok/s/GPU at 82.4 tok/s/user P90, against 278,104 at 84.2 for c128 in the same setup.
On the 20261013 image with fastokens, DEP2 c160 measured 258,332 tok/s/GPU at 85.8 tok/s/user P90 against 271,676 at 86.6 for c128: the server is already saturated at c128, and the extra lanes only queue, which completes fewer >200K-token requests under shortest-prefill-first.
A subagent request that arrives during a decode now waits instead of stalling that decode with its prefill. Local one-hour runs on the 20261013 image with fastokens: 625.1 to 654.4 tok/s/user P90 at 7,848 tok/s/GPU, TTFT p50/p90 0.24/0.28 to 0.23/0.27 s; p99 0.97 to 1.13 s.
The 20261014 image allows decoder SWA bounded replay with DP attention (sgl-project/sglang#43812). Local one-hour DEP2 c128 runs with fastokens: 271,676 tok/s/GPU at 86.6 P90 (20261013) to 280,752 at 88.5 (20261014) to 283,868 at 91.3 with bounded replay; TTFT p90 3.43 to 2.62 s.
|
View unofficial run (performance): https://inferencex.semianalysis.com/inference?unofficialRun=38614048439 View unofficial run (accuracy): https://inferencex.semianalysis.com/evaluation?unofficialRun=38614048439 |
At c160, fastokens admits short subagent prefills faster and shortest-prefill-first then holds back long main-agent turns. Local one-hour c160 runs: 258,332 tok/s/GPU at 85.8 P90 with fastokens (20261013) against 296,603 at 79.2 (20261012) and 287,471 at 78.2 (20261013) with the HuggingFace tokenizer.
…-gb300-sgl-fastokens # Conflicts: # inferencex-e2e/perf-changelog.yaml
|
[by Claude Code] The SGLang cookbook integration of this PR's AgentX config ( This PR has no authorized |
|
[by Claude Code] sgl-project/sglang#44712 has been merged. This PR's AgentX config ( This PR has no authorized |
|
[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 |
|
/use 38614048439 |
|
@nvpohanh staged run 38614048439. This run remains available across future |
|
As a PR reviewer and CODEOWNER, I have reviewed this and have:
Additional detail section:
Signed: |
✅✅✅ Verdict: PASS ✅✅✅Passed and not applicable checks✅ Check 0 (CODEOWNER): PASS — ✅ Check 1 (Sweep on in-PR commit): PASS — commit ✅ Check 2 (Evals): PASS — ✅ Check 3 (Upstream recipe): PASS — sgl-project/sglang#44712 is ✅ Check 4 (Reuse command): PASS — ✅ Check 5 (Checklist template): PASS — all 18 current-template items are present and checked. ✅ Check 6 (Upstream image / ordering): PASS — ✅ Check 7 (Deprecated models): PASS — ✅ Check 8 (No architecture hacks): PASS — no ✅ Check 9 (Chat template): PASS — AgentX replay drives the chat endpoint, and the server uses the checkpoint's chat template with thinking on. ✅ Check 10 (No engine patches): PASS — the diff has no patch files, inline source rewrites, monkey-patching, or engine wheel installs. ✅ Check 11 (Golden AL): PASS — ➖ Check 12 (Append-only): N/A — the new changelog entry does not set ✅ Check 13 (Draft precision): PASS — the bundled DSpark head is served with no draft quantization or dtype override. In the pinned ✅ Check 14 (Pareto coverage): PASS — one curve, ✅ Check 15 (PR description): PASS — the body's claims (image, fastokens 0.3.4, per-point changes, new DEP2 C160) match the pinned recipe and master config. ✅ Check 16 (NVIDIA overview): PASS — the NVIDIA overview Framework Recipes table lists DeepSeek-V4.1-Flash with SGLang ✅, linking to the cookbook page. ➖ Check 17 (Metrics publication): N/A — direct Assessed commit: |
The 20261014 image ships fastokens 0.3.4; sgl-project/sglang#43104 only sets the fastokens>=0.3.2 floor. Wording only: the recipe, master config and image are unchanged, so the pinned sweep still applies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… bounded replay and c160, TP4 c1 single admission / [AgentX] GB300 DSV4.1 Flash SGLang:升级 20261014 nightly、启用 fastokens、DEP2 开 bounded replay 并新增 c160、TP4 c1 单请求准入 (SemiAnalysisAI#4033) * Bump GB300 DSV4.1 Flash SGLang to the 20261013 nightly with fastokens The 20261013 nightly ships fastokens 0.3.2 (sgl-project/sglang#43104). The chat endpoint re-encodes the whole 300K-600K-token conversation each turn; HF tokenizers spends about 0.6 s of TTFT on it on Grace, fastokens about 0.03 s. Local one-hour runs, 20261012 to 20261013 + fastokens: TP4 c1 TTFT p90 1.38 to 0.28 s, 7,314 to 7,850 tok/s/GPU; TP2 c32 183.1 to 190.9 P90 tok/s/user; DEP2 c128 81.6 to 86.6 P90 at the same throughput. * Add a DEP2 c160 point to GB300 DSV4.1 Flash SGLang AgentX Same settings as DEP2 c128. A local one-hour run on the 20261012 image without fastokens gave 301,770 tok/s/GPU at 82.4 tok/s/user P90, against 278,104 at 84.2 for c128 in the same setup. * TP4 c1: admit one request and run decoder SWA bounded replay A subagent request that arrives during a decode now waits instead of stalling that decode with its prefill. Local one-hour runs on the 20261013 image with fastokens: 625.1 to 654.4 tok/s/user P90 at 7,848 tok/s/GPU, TTFT p50/p90 0.24/0.28 to 0.23/0.27 s; p99 0.97 to 1.13 s. * Move to the 20261014 nightly and run bounded replay at DEP2 The 20261014 image allows decoder SWA bounded replay with DP attention (sgl-project/sglang#43812). Local one-hour DEP2 c128 runs with fastokens: 271,676 tok/s/GPU at 86.6 P90 (20261013) to 280,752 at 88.5 (20261014) to 283,868 at 91.3 with bounded replay; TTFT p90 3.43 to 2.62 s. * Add DEP2 c160 with the HuggingFace tokenizer At c160, fastokens admits short subagent prefills faster and shortest-prefill-first then holds back long main-agent turns. Local one-hour c160 runs: 258,332 tok/s/GPU at 85.8 P90 with fastokens (20261013) against 296,603 at 79.2 (20261012) and 287,471 at 78.2 (20261013) with the HuggingFace tokenizer. * Run DEP2 c160 with a prefill-decode interval of 8 * Correct the fastokens version in the changelog entry [skip-sweep] The 20261014 image ships fastokens 0.3.4; sgl-project/sglang#43104 only sets the fastokens>=0.3.2 floor. Wording only: the recipe, master config and image are unchanged, so the pinned sweep still applies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drop the recipe comment and simplify the changelog entry [skip-sweep] --------- Co-authored-by: weireweire <20922698+weireweire@users.noreply.github.com> Co-authored-by: Po-Han Huang <pohanh@nvidia.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Cam Quilici <cameron@semianalysis.com>
Description
Config:
dsv41flash-fp4-gb300-sglang-agentic-dspark(aggregated, single node). Image, recipe, master config and changelog only; follows #3859.lmsysorg/sglang:nightly-dev-cu13-20261014-684fea8a, pinned by digest. It ships fastokens 0.3.4 ([Tokenizer] Require fastokens>=0.3.2 and include it in the all extra sgl-project/sglang#43104 requires fastokens>=0.3.2) and allows decoder SWA bounded replay with DP attention ([DSV4.1] Support decoder SWA bounded replay with CUDA DP attention sgl-project/sglang#43812).tokenizer-backend: fastokenson every point except DEP2 c160. The chat endpoint re-encodes the whole conversation each turn, 300K–600K tokens on AgentX. HF tokenizers takes about 0.6 s per request on Grace, on the TTFT path and the API server event loop; fastokens takes about 0.03 s.Local results
One-hour AgentX runs on GB300, CI harness, synthetic acceptance 3.51. Fastokens: 20261012 without fastokens (#3859) → 20261013 with fastokens. Throughput in tok/s/GPU, interactivity is P90 tok/s/user.
DEP2 c128 with fastokens, one-hour runs: 271,676 tok/s/GPU at 86.6 P90 on 20261013 → 280,752 at 88.5 on 20261014 → 283,868 at 91.3 with bounded replay; TTFT p90 3.43 → 3.02 → 2.62 s, TTFT p99 74 → 60 → 56 s. DEP2 c64 uses the same server settings with bounded replay and is validated by this sweep.
DEP2 c160, one-hour runs: 258,332 tok/s/GPU at 85.8 P90 with fastokens (20261013) against 296,603 at 79.2 (20261012) and 287,471 at 78.2 (20261013) with the HuggingFace tokenizer. On 20261014 with bounded replay, interval 16 measured 268,187 at 90.9 in CI, below c128 on both axes; interval 8 measures 294,159 at 61.1 locally, since AgentX throughput is almost all prefill tokens. Dropping bounded replay at interval 16 gave 259,506.
TP4 c1 admission change (20261013 image with fastokens, one-hour runs): 7,851 → 7,848 tok/s/GPU, P90 interactivity 625.1 → 654.4 (median 671.3 → 673.8), TTFT p50/p90 0.24/0.28 → 0.23/0.27 s. The cost is in the tail: TTFT p99 0.97 → 1.13 s, and the few requests that queue behind a long decode wait up to 17 s.
AI model disclosure
claude-opus-5-5)Checklist
inferencex-e2e/perf-changelog.yamland have not edited historical entriesfull-sweep-fail-fastrecommended)中文
配置:
dsv41flash-fp4-gb300-sglang-agentic-dspark(聚合、单节点),只改镜像、配方、master 配置和 changelog,接续 #3859。lmsysorg/sglang:nightly-dev-cu13-20261014-684fea8a,按 digest 固定。该镜像带 fastokens 0.3.4([Tokenizer] Require fastokens>=0.3.2 and include it in the all extra sgl-project/sglang#43104 要求 fastokens>=0.3.2),并支持 DP attention 下的 decoder SWA bounded replay([DSV4.1] Support decoder SWA bounded replay with CUDA DP attention sgl-project/sglang#43812)。tokenizer-backend: fastokens。 chat 接口每轮都会重新编码整段对话,AgentX 上有 30 万到 60 万 token。HF tokenizers 在 Grace 上每个请求约 0.6 s,且位于 TTFT 路径和 API server 事件循环上;fastokens 约 0.03 s。本地一小时 AgentX 测试(GB300,CI harness,synthetic acceptance 3.51),从 20261012 不开 fastokens 到 20261013 开 fastokens: