Skip to content

[docs] Re-measure the Qwen3.8-27B RTX 5090, RTX PRO 6000 and DGX Spark grids on 1cf2b8c - #35825

Merged
JustinTong0323 merged 7 commits into
mainfrom
docs/qwen38-27b-5090-unify-1cf2b8c
Aug 22, 2026
Merged

JustinTong0323 merged 7 commits into
mainfrom
docs/qwen38-27b-5090-unify-1cf2b8c

Conversation

@Jiminator

@Jiminator Jiminator commented Aug 21, 2026 •

Copy link
Copy Markdown
Collaborator

Motivation

The Qwen3.8-27B page was split across builds: DFLASH2 needed a source build, everything else used lmsysorg/sglang:qwen38-27b, and the RTX 5090 pins predated both. This unifies the page on one commit — 1cf2b8c (#35496) — and one image, and re-runs every published cell on the three cards that can be measured here, so each pin is a measurement rather than an inheritance.

The NVFP4 cells were exercised with RadixArk/Qwen3.8-27B-NVFP4-BF16-LMHead, the dense-lm_head export that will replace the current NVFP4 repo. Its head adds ~3.2 GB of weights, which is what moves the 32 GB card's pins.

Modifications

Install — one path per method: docker pull lmsysorg/sglang:dev-qwen38-27b-dflash2 (multi-arch, built from 1cf2b8c), or a source install of the same commit. The DFLASH2 warnings are gone: no cell needs a special build any more.

RTX PRO 6000 — no changes. All 48 cells serve at the published 0.85 / chunk 2048.

DGX Spark — base mem-fraction 0.85 → 0.80. All 48 cells serve there, DFLASH2 included. The pool is unified with host memory, so 0.85 of 128 GB leaves ~8 GB for the OS, which is exactly DGX OS earlyoom's SIGTERM threshold: at 0.85, 15 of 48 cells were killed (exit −15, no traceback); at 0.80 every cell served on every attempt.

RTX 5090

Cell Published This PR
no-speculation ×4 0.90 unchanged
EAGLE float32 ×2 0.94 unchanged
EAGLE bfloat16 ×2 0.92 0.93
DSpark bfloat16 ×2 0.90 0.88
DFlash2 bfloat16 ×2 0.88 0.91 + --chunked-prefill-size 1024
DSpark float32 ×2, DFlash2 float32 ×2 0.92 / 0.895 greyed out

DFlash2 bfloat16 is the only cell on the page needing a prefill chunk below the engine default. float32 is greyed for the two draft-model picks on that card only — EAGLE and no-speculation keep it, since replayssm keeps EAGLE's state pool tiny and no-speculation loads no draft weights.

The panel's Docker image now points at the unified tag for rtx6000, rtx5090 and dgx-spark; H200 and GB300 keep their existing images, as neither was re-run here.

Accuracy Tests

N/A (docs only).

Speed Tests and Profiling

All cells on 1cf2b8c, ISL 8192 / OSL 1024, concurrency 1, 4 prompts, --random-range-ratio 1.0. A cell passes only on exit 0 with exactly 4 successful requests, 32,768 input and 4,096 generated tokens.

RTX 5090 — verified pins

Cell pin KV pool slots TPOT accept
no-spec bf16 LL 0.90 82,422 42 14.40 ms —
EAGLE bf16 LL 0.93 16,992 6 8.07 ms 3.02
EAGLE fp32 LL 0.94 15,746 5 8.50 ms 2.90
DSpark bf16 LL 0.88 17,954 5 7.41 ms 2.59
DFlash2 bf16 LL 0.91 + chunk 1024 13,506 5 4.92 ms 4.29
DFlash2 bf16 HT 0.91 + chunk 1024 15,330 4 4.92 ms 4.29

Why the four float32 draft-model cells are greyed. Each was walked from 0.86 to 0.96 at both prefill chunk sizes, then given balanced-ratio overrides up to 20. Below ~0.92 the state pool never reaches the tier's slot count; at or above it, prefill graph capture or the first request OOMs. Overrides moved DSpark past the pool wall only to hit the runtime wall, and never got DFlash2 float32 past the pool wall at all.

Published image, spot-checked on the two riskiest RTX PRO 6000 cells (cookbook command verbatim, lmsysorg/sglang:dev-qwen38-27b-dflash2):

Cell shape KV pool folded TPOT accept
BF16 + DFLASH2 + LL + float32 OK 82,549 yes 8.19 ms 5.42
NVFP4(BF16-LMHead) + DFLASH2 + LL + float32 OK 196,511 yes 5.36 ms 4.19

Both reproduce the source-build numbers, and both logs show the selector folded into the draft CUDA graph.

Note on timing

The NVFP4 pins describe the BF16-LMHead export. While RadixArk/Qwen3.8-27B-NVFP4 still serves the packed-head weights, the NVFP4 cells are a step ahead of the checkpoint, so this is best merged alongside that repo swap. The BF16 and FP8 cells are unaffected either way.


CI States

Latest PR Test (Base): ✅ Run #32547326498
Latest PR Test (Extra): ❌ Run #32547326315
Latest PR Test (AMD ROCm 7.2): ➖ No AMD PR run found for this commit.

@mintlify

mintlify Bot commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lmsysorg 🟢 Ready View Preview Aug 21, 2026, 8:07 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@Jiminator Jiminator changed the title [docs] Unify the Qwen3.8-27B RTX 5090 recipes on 1cf2b8c [docs] Re-measure the Qwen3.8-27B RTX 5090 and RTX PRO 6000 grids on 1cf2b8c Aug 21, 2026
…base mem-fraction to 0.80

Every published DGX Spark cell (3 quants x none/EAGLE/DSPARK/DFLASH2 x both
tiers x both SSM dtypes) re-run end to end on 1cf2b8c, ISL 8192 / OSL 1024,
concurrency 1 — the same workload as the SM120 re-measurement, boot-and-serve
standard. NVFP4 exercised with the BF16-LMHead export, matching the SM120 pass.

- All 48 serve; the DFLASH2 "Final Verification In Progress" badge comes off
  DGX Spark (selector folded into the draft CUDA graph in all 12 cells).
- Base mem-fraction 0.85 -> 0.80: on unified memory 0.85 leaves ~8GB for the
  host, exactly DGX OS earlyoom's SIGTERM threshold; 15/48 cells were killed
  mid-prefill or in graph capture at 0.85 (which 15 is margin noise), while
  0.80 served on every attempt.
- Config Tips: SM121 bullet updated (48 configs at 1cf2b8c, earlyoom quirk,
  BF16 ~10 min to READY).

Co-Authored-By: Claude Fable 5 <[email protected]>
@Jiminator Jiminator changed the title [docs] Re-measure the Qwen3.8-27B RTX 5090 and RTX PRO 6000 grids on 1cf2b8c [docs] Re-measure the Qwen3.8-27B RTX 5090, RTX PRO 6000 and DGX Spark grids on 1cf2b8c Aug 21, 2026
@JustinTong0323
JustinTong0323 merged commit 4cb5aeb into main Aug 22, 2026
94 of 98 checks passed
@JustinTong0323
JustinTong0323 deleted the docs/qwen38-27b-5090-unify-1cf2b8c branch August 22, 2026 05:03
@JustinTong0323

Copy link
Copy Markdown
Collaborator

Checkpoint update: RadixArk/Qwen3.8-27B-NVFP4 now ships a BF16 lm_head (original weights from Qwen/Qwen3.8-27B) instead of the NVFP4 W4A4 quantized one — new revision 496d00f2, pre-change revision 554ebba remains in repo history. The model card has a top notice explaining the change.

Motivation: a dense head unblocks the DFlash2/DSpark selector path natively and improves draft acceptance (median accept len 3.85 vs 3.78 in the A/B below). Size cost is +1.7 GB, which is also why the 5090 cells pair this ckpt with --mamba-ssm-dtype bfloat16.

Post-change measurements (DFlash2 drafter, 4x GB300):

  • GSM8K: 96.36% (full 1,319, thinking, 100% stop rate)
  • Terminal-Bench 2.1: 69.66% mean reward (rep 4, Claude Code 2.1.228, effort max)

Rep-4 A/B for the 5090 pairing decision (identical flags, one TP1 server per GPU): orig ckpt + fp32 SSM scored TB 0.6742 / GSM8K 95.98%; this ckpt + bf16 SSM scored TB 0.6966 / GSM8K 96.36% — no accuracy loss from the BF16 lm_head + bf16 SSM combination.

@JustinTong0323

Copy link
Copy Markdown
Collaborator

Correction to my comment above: the Terminal-Bench figures should use the harbor-reported means, not my per-task rep averages. Official numbers: this ckpt + bf16 SSM = 69.4% (247/356, pass@4 87.6%); orig ckpt + fp32 SSM = 66.7% (234/351, with 5 heavy long-tail trials cut**)**. The conclusion is unchanged (bf16 lm_head + bf16 SSM is not worse, ~+2.7 pts).

This branch was successfully deployed

1 active deployment
staging - docs — 8ec0792d Deployed Aug 22, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants