Repository navigation
[Cookbook] Add DeepSeek-V4-Pro-0813 (Pro Official) serving recipes - #34809
Merged
Merged
Conversation
Adds the 0813 Pro refresh as a `pro-official` variant with low-latency / balanced / high-throughput recipes verified on 4xGB300, plus derived B300 (TP=8) cells marked not-verified. The 0813 checkpoint bundles a DSpark draft head, so the low-latency recipe uses `--speculative-algorithm DSPARK`. EAGLE loads and serves on this checkpoint without raising, but accepts no draft tokens (`accept len: 1.00, accept rate: 0.00`), so the page carries a warning. Measured on 4xGB300, random 8192/1024: balanced conc 256 5,996 tok/s/GPU TTFT 19.7s GSM8K 96.44 high-throughput conc 512 7,475 tok/s/GPU TTFT 34.1s GSM8K 96.66 The high-throughput recipe needs `--mem-fraction-static 0.9`, `--cuda-graph-max-bs-decode 128` and `--max-running-requests 512` together; without them MegaMoE's workspace leaves roughly a third of the KV pool and throughput lands below the balanced recipe. Low-latency carries GSM8K only: its speed sweep used the SGLANG_SIMULATE_ACC_LEN benchmark knob, which does not describe the shipped command, so those numbers are deliberately not published. Co-Authored-By: Claude Opus 5 <[email protected]>
zijiexia
requested review from
JustinTong0323,
sogalin and
wisclmy0611
as code owners
August 14, 2026 04:33
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
3 tasks done
Collaborator
|
Can we add DSPark in the Speculative row of playground (including the parameter --speculative-dspark-block-size) |
The 0813 variant bundles a DSpark head like Flash Official (0731), but the
playground gates were keyed to `flash-official` only, so on `pro-official`:
- the two EAGLE/MTP presets were still offered, which is the exact path
that binds a draft head accepting nothing on this checkpoint; and
- the "DSpark Proposed Draft Tokens" slider
(`--speculative-dspark-block-size`) never appeared.
Hide both EAGLE presets for `pro-official` and extend the slider's showWhen.
The DSpark row itself already resolved correctly — `hide` is exact array
membership, so `["flash","pro"]` does not catch `pro-official`.
Also record the actual `num_prompts` per benchmark row (5x concurrency) so
the Reproduce modal emits the command the numbers came from instead of the
`max(c*2, 200)` fallback, and note that both checkpoints resolve to gamma=5.
Co-Authored-By: Claude Opus 5 <[email protected]>
…command The shared speed template omitted --random-range-ratio, which defaults to 0.0 — that samples input/output lengths uniformly rather than holding them fixed. Measured on 4xGB300 for the 8192/1024 shape the page advertises: range_ratio 0.0 -> input min 714 / max 8135 / mean 5102, output mean 570 range_ratio 1.0 -> input 8192 exactly, output 1024 exactly So the Reproduce modal emitted a materially lighter workload than the one the numbers were measured under, and could not reproduce them. This is a pre-existing defect on the shared template, so the fix applies to every DeepSeek-V4 cell, not just the ones added in this PR. All 102 workload rows on this page use dataset "random", which is exactly what the flag applies to. Co-Authored-By: Claude Opus 5 <[email protected]>
Collaborator
Collaborator
|
Please add B200/GB200/H200 commands for pro official. |
Mirrors every verified Pro fp4 cell (B200, B300, GB200 2-node, H200,
H100 2-node, MI355X) onto pro-official, keeping each source cell's tuned
flags and env byte-for-byte and re-fitting only speculative decoding to
the bundled DSpark head, following the flash / flash-official precedent:
low-latency DSPARK on CUDA hardware
balanced DSPARK where DP attention is off (H200, H100),
otherwise target-only — DSpark and DP attention are
mutually exclusive on the current release
high-throughput target-only
MI355X target-only throughout; DSpark requires CUDA
EAGLE is dropped everywhere, not just on low-latency: the Pro balanced
cells all carry EAGLE 1-1-2, which on this checkpoint binds a draft head
that accepts nothing.
NVFP4 and FP8 are not mirrored — nvidia/DeepSeek-V4-Pro-0813-NVFP4 and
sgl-project/DeepSeek-V4-Pro-0813-FP8 do not exist, matching how
flash-official carries neither.
The earlier hand-scaled B300 cells are replaced by the tuned B300 Pro
config. All 18 new cells are marked not verified; the GB300 cells stay
verified and keep their measured benchmarks.
Co-Authored-By: Claude Opus 5 <[email protected]>
Replaces the raw `0.0.0.dev1+g273d978be` build stamp with `main @ 273d978`, matching the `main @ <hash>` form already used elsewhere in the cookbook. Same build either way; the commit is the reproducible anchor, and the branch name makes clear it is a post-v0.5.17 nightly rather than a release. Co-Authored-By: Claude Opus 5 <[email protected]>
JustinTong0323
added a commit
that referenced
this pull request
Aug 14, 2026
…813-dspark Yields to zijiexia's merged #34809 baseline. On top this branch keeps: (1) B200 pro-official verified=true with the full GSM8K/AIME25/GPQA accuracy set our B200 run produced; (2) pro-official entries in defaultAccuracy so every cell renders accuracy; (3) accuracy reproduce commands for gpqa/aime25 on pro-official; (4) Playground polish (EAGLE hidden on pro-official, DSpark hidden on AMD hardware, TP/DP-Attn/EP 1,2 hides extended, block-size slider for both official variants); (5) the b200 pro-official benchmarks entry.
JustinTong0323
added a commit
that referenced
this pull request
Aug 14, 2026
…uce commands On top of #34809 (which seeded the pro-official variant and GB300 numbers): flip the B200 low-latency cell to verified with the accuracy set our B200 run produced (GSM8K 96.13 / AIME25 98.1 / GPQA 89.7, all 100% stop-rate), give pro-official its defaultAccuracy entry so every cell's benchmark card renders, add the gpqa/aime25 sgl-eval reproduce commands, and restore the playground polish (EAGLE hidden on pro-official, DSpark hidden on AMD hardware, TP/DP-Attn/EP 1,2 hides extended to pro-official, block-size slider for both official variants).
saturn-acc
pushed a commit
to saturn-acc/sglang
that referenced
this pull request
Aug 16, 2026
…gl-project#34809) Co-authored-by: Claude Opus 5 <[email protected]>
Atituiset
pushed a commit
to Atituiset/sglang
that referenced
this pull request
Sep 10, 2026
…gl-project#34809) Co-authored-by: Claude Opus 5 <[email protected]>
This branch was successfully deployed
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.

Motivation
deepseek-ai/DeepSeek-V4-Pro-0813is not in the cookbook yet. This adds it as apro-officialvariant with the three serving strategies, verified end-to-end on 4×GB300, plus derived B300 (TP=8) cells marked not verified.The 0813 checkpoint bundles a DSpark draft head, so the low-latency recipe uses
--speculative-algorithm DSPARK. This matters because EAGLE fails silently on this checkpoint: it loads, serves, and returns correct output, but binds a draft head that accepts nothing — every decode batch logsaccept len: 1.00, accept rate: 0.00, so you pay the draft cost for zero speedup. The page carries a warning for that.Modifications
deepseek-v4.jsx— newpro-officialvariant +pro-official|fp4model name; 3 GB300 cells (verified) and 3 B300 cells (not verified, derived by scaling TP/DP to the 8-GPU node).deepseek-v4-benchmarks.jsx— measured numbers for the three GB300 cells.DeepSeek-V4.mdx— variant table row, resource link, DSpark notes extended to 0813, and the EAGLE warning.Benchmark
4×GB300,
bench_serving, random 8192 in / 1024 out (--random-range-ratio 1.0), 64 warmup requests, cache flushed per point.tok/s/GPUis total (input + output) ÷ elapsed ÷ 4; TTFT/TPOT are means. GSM8K is 1319 examples at temperature 0 viasgl-eval.The three strategies form a throughput-vs-interactivity frontier — none wins both ends.
Full frontier — interactivity (1000 / TPOT) vs throughput per GPU
Each strategy owns a region: Low-Latency is the only one that reaches above ~35 tok/s/user, and High-Throughput tops out 25% above Balanced's peak. Both non-speculative strategies regress past their knee — Balanced at 512 and High-Throughput at 1024 — which is why the cookbook cells stop where they do.
Two flag behaviors worth calling out, both encoded in the cells:
--mem-fraction-static 0.9,--cuda-graph-max-bs-decode 128and--max-running-requests 512together. Without them MegaMoE's workspace leaves the KV pool at roughly a third (490,752 vs 1,187,840 tokens/rank), concurrency stalls well below the slot budget, and throughput lands below the Balanced recipe rather than above it.--max-running-requestsis server-wide and floor-divided byattn_dp_size. With--dp 4,512yields 128 running slots per rank. The derived B300 cells double it to1024to keep 128/rank at--dp 8.One caveat, also noted on the page and in the data file: the Low-Latency speed rows were measured with
SGLANG_SIMULATE_ACC_LEN=4, which pins the DSpark accept length at exactly 4.00, while the shipped recipe earns 4.678 — so those two rows read slightly conservative. The GSM8K figure for that cell is from the shipped command.Also fixed here (pre-existing, whole page)
The shared
benchmarkCommands.speedtemplate omitted--random-range-ratio, which defaults to0.0and samples input/output lengths uniformly instead of holding them fixed. Measured on 4xGB300 for the 8192/1024 shape this page advertises:--random-range-ratio0.0(what the template emitted)1.0So the ⚡ Reproduce modal handed you a materially lighter workload than the one the table was measured under, and could not reproduce it. The template now passes
--random-range-ratio 1.0. This affects every DeepSeek-V4 cell, not only the ones added here — all 102 workload rows on this page use datasetrandom, which is exactly what the flag applies to. Existing cells' numbers are untouched by this PR; if any of them were measured at the default ratio, their rows are the ones to re-check.Each new benchmark row also records the
num_promptsactually used (5 x concurrency), so Reproduce emits the exact command the numbers came from rather than the engine'smax(c*2, 200)fallback.Hardware coverage
pro-officialmirrors every verified Pro fp4 cell. Each one keeps its source cell's tuned flags and env byte-for-byte; only speculative decoding is re-fitted to the bundled DSpark head, following the same ruleflash-officialalready uses:flash-officialalready ships DSPARK low-latency cells on B200, B300, GB200, GB300, H200 and H100.flash-official's H100 balanced cell is DSPARK for the same reason.nvidia/DeepSeek-V4-Pro-0813-NVFP4andsgl-project/DeepSeek-V4-Pro-0813-FP8do not exist (HTTP 401, while their non-0813 counterparts return 200), andflash-officiallikewise carries neither.Only the GB300 cells are marked verified and carry benchmarks — those are the ones measured end-to-end. Everything else is yellow until someone runs it on that hardware. The one step beyond existing precedent is
nodes: multi-2with DSPARK on GB200 and H100: the GPUs themselves are precedented byflash-official, but all of its cells are single-node, so the 2-node combination has not been exercised.Checklist
deepseek-v4-benchmarks.jsx🤖 Generated with Claude Code
CI States
Latest PR Test (Base): ✅ Run #31773562836
Latest PR Test (Extra): ❌ Run #31773562685