Skip to content

Qwen4-35B-A3B BF16 Day-0 on Single H20-3e 141GB: 330 tok/s with GPU-Resident PLE and Cross-Gen Comparison vs. PRO 5000 FP8

Following our single-card Blackwell RTX PRO 5000 72GB Qwen4-35B-A3B-FP8 Day-0 benchmark, we ran the full, same-node, sequential Day-0 evaluation of the unquantized Qwen/Qwen4-35B-A3B (BF16, 33 shards, 105.84 GiB) checkpoint across vLLM and SGLang on a single NVIDIA H20-3e 141GB (Hopper SM90) GPU, paired with a cross-generation, cross-precision comparison against single-card PRO 5000 FP8.

Key takeaways up front:

  • Single 141GB card runs full BF16 + native 1M with zero TP overhead: H20-3e 141GB hits the exact memory sweet spot for Qwen4-35B-A3B BF16. With vLLM's default host-RAM PLE offload (66.28 GiB GPU weights, 68.7 GiB host RSS) and Triton nvfp4 KV caching, a single card provides 9,920,982 KV tokens in 1M mode (9.46× concurrent 1M contexts).
  • SGLang pitfall turned breakthrough — GPU-resident PLE hits 330 tok/s: SGLang's default host offload calls cudaHostAlloc for ~40 GiB of BF16 PLE memory, failing in standard containers with RuntimeError: CUDART error: invalid argument. Enabling the official flag --no-ple-offload-embedding keeps all 56.82B BF16 weights in HBM3e (104.75 GB, cutting host scheduler RSS to 4.17 GiB) and rockets NEXTN 3/¼ MTP to 863.3 tok/s at 1K → 512 · C=8 (peak 911.4 tok/s, +71.3% over vLLM) and 264.4–329.8 tok/s on real single-stream coding prompts.
  • BF16 delivers noticeably higher MTP acceptance than FP8: On realistic coding and architecture prompts, vLLM measured per-position acceptance of Pos 0 = 79.4%, Pos 1 = 43.4%, and Pos 2 = 17.2%, yielding a mean accept length of 2.399 tokens/step (versus 2.188 on PRO 5000 FP8) and 201.2–239.4 tok/s single-stream decode.
  • Single-card native 1M (1,039,846 tokens) passed on both engines: vLLM (nvfp4 KV) passed 3/3 across all 6 ladder tiers, finishing 1,039,846 server prompt_tokens prefill in 77.69 s (13,385 tok/s) while still decoding at 169.8 tok/s. Because SGLang restricts fp4_e4m3_block16 to Blackwell, switching to fp8_e4m3 KV on Hopper still yielded 2.34M KV tokens and 3/3 PASS at 1,039,846 tokens (the 942K tier recorded 0/3 due to a safety refusal on the phrase "secret codes", retained verbatim).
  • Clear cross-generation split: On bandwidth-bound decode, 1× H20-3e BF16 (4.8 TB/s HBM3e) decisively beats 1× PRO 5000 FP8 (real coding peak 329.8 vs. 196.6 tok/s; 1K → 512 · C=8 MTP 863.3 vs. 617.8 tok/s). On compute-bound long-prompt prefill, 1× PRO 5000 FP8 remains faster (128K prefill 21.6k vs. 15.4k tok/s; 1M+ 16.0k vs. 13.4k tok/s).

1. BF16 VRAM and Host RAM Budget: Two Distinct Placement Strategies

Qwen/Qwen4-35B-A3B (BF16, revision c06f0c19d9411aba77f8d5948f69ae825c7161cb) spans 33 shards, 1,466 tensors, and 105.84 GiB on disk (56.82B × 2 bytes). Compared with FP8 (56.03 GiB), BF16 reveals two distinct resource profiles on a single 141GB H20-3e:

Resource Metric vLLM (Default Host PLE + nvfp4 KV) SGLang (--no-ple-offload-embedding GPU PLE)
GPU weight footprint (32K base / MTP) 66.28 GiB / 68.00 GiB 104.75 GB (97.6 GiB) / 108.15 GB
GPU idle VRAM (32K base) 120,303 MiB (117.5 GiB) 132,490 MiB (129.4 GiB)
Host core RSS / container total RSS 67.23 GiB / 68.7 GiB 4.17 GiB / 7.8 GiB
32K baseline KV dtype & capacity nvfp4 · 5,708,458 Tokens bfloat16 (default) · 482,816 Tokens
32K + MTP KV capacity nvfp4 · 2,810,055 Tokens bfloat16 · 321,280 Tokens
1M native KV dtype & capacity nvfp4 · 9,920,982 Tokens (9.46×) fp8_e4m3 · 2,342,336 Tokens (2.23×)

Single H20-3e 141GB BF16 VRAM, Host PLE RAM and 1M KV capacity comparison

This contrast maps directly to two production strategies:

  • Maximizing long-context concurrency (multi-stream 256K–1M on one card): Use vLLM with host PLE + nvfp4 KV, freeing 57.34 GiB of VRAM for 9.92M FP4 KV tokens — while provisioning 160–256 GiB host RAM per single-card Pod (EngineCore RSS reaches 67.23 GiB, nearly double FP8).
  • Maximizing decode speed or running on tighter host RAM: On 141GB GPUs, pass --no-ple-offload-embedding in SGLang to keep the 20B BF16 PLE table inside HBM3e, dropping container RSS under 8 GiB and eliminating PCIe lookup latency.

2. Same-Node Testbed and Three Hopper SM90 Day-0 Pitfalls

Every test executed serially on the same idle, zero-Xid node: 1× NVIDIA H20-3e 141GB (143,771 MiB reported VRAM, SM90 Hopper), host driver 580.126.20, over 2.2 TiB available host RAM, using the exact same two Day-0 images (vllm/vllm-openai:qwen4 0.1.dev26393+gf247de72b and lmsysorg/sglang:qwen4 0.5.24.dev1+gcd1dc28) and frozen client as our PRO 5000 FP8 benchmark.

2.1 Pitfall 1: SGLang Default BF16 Host PLE Hits CUDART error: invalid argument

  • Attempt 1 symptom: Launching SGLang with default PLE offload on BF16 crashed during Layer-2 PLE table allocation:
qwen4_exp_ple_table.py:501: alloc=lambda nbytes: cudart.cudaHostAlloc(nbytes).value
RuntimeError: CUDART error: invalid argument
  • Root cause: While FP8's ~20 GiB PLE table succeeded under cudaHostAlloc, BF16 doubles the single pinned allocation to ~40 GB, which CUDA Runtime rejects inside default Kubernetes containers (max locked memory (ulimit -l) = 64 KiB).
  • Attempt 2 fix: On 141GB H20-3e GPUs, passing --no-ple-offload-embedding places all 56.82B BF16 weights (including PLE) directly in HBM3e (104.75 GB), avoiding privileged memlock overrides while significantly accelerating decode.

2.2 Pitfall 2: SGLang Restricts fp4_e4m3_block16 KV to Blackwell; Use fp8_e4m3 on Hopper

  • At 32K baseline and MTP, SGLang defaults BF16 KV to torch.bfloat16 (482,816 / 321,280 tokens).
  • Switching to 1M mode with --kv-cache-dtype fp4_e4m3_block16 triggers an explicit check in qwen4_exp.py:137: ValueError: --kv-cache-dtype fp4_e4m3_block16 requires a Blackwell GPU.
  • Hopper solution: Pass --kv-cache-dtype fp8_e4m3 --mem-fraction-static 0.92, which allocates 2,342,336 Tokens (K 11.17 GB + V 11.17 GB) alongside the 104.75 GB GPU-resident weights — comfortably hosting native 1M context.
  • Conversely, vLLM natively supports --kv-cache-dtype nvfp4 on Hopper SM90 via QWEN4_EXP_QSA_TRITON while auto-selecting FlashInferCuteDSLSm90Experts and gdn_delta_rule_dsl_sm90a_cute_dsl.

2.3 Pitfall 3: vLLM CUDA 13.2 Forward Compat and SGLang /health Probe Timeout

  • Host driver 580.126.20 requires VLLM_ENABLE_CUDA_COMPATIBILITY=1 and /usr/local/cuda-13.2/compat prepended to LD_LIBRARY_PATH for vllm/vllm-openai:qwen4 (CUDA 13.2.1), identical to PRO 5000.
  • Because SGLang's /health runs a live 1-token prefill check, set Kubernetes readinessProbe.timeoutSeconds to at least 10 (the 1s default can trip false failures during warmup).

Verified launch commands on 1× H20-3e 141GB:

# 32K baseline (prefix cache disabled for strict benchmarking; drop --no-enable-prefix-caching in prod)
LD_LIBRARY_PATH="/usr/local/cuda-13.2/compat:${LD_LIBRARY_PATH:-}" \
VLLM_ENABLE_CUDA_COMPATIBILITY=1 \
VLLM_USE_RUST_FRONTEND=1 \
vllm serve /models/Qwen4-35B-A3B/v1 \
  --served-model-name Qwen4-35B-A3B \
  --trust-remote-code \
  --tensor-parallel-size 1 \
  --max-model-len 32768 \
  --max-num-seqs 32 \
  --gpu-memory-utilization 0.85 \
  --disable-flashinfer-autotune \
  --kv-cache-dtype nvfp4 \
  --attention-config.indexer_kv_dtype fp8 \
  --enable-auto-tool-choice \
  --tool-call-parser qwen4 \
  --reasoning-parser qwen4 \
  --no-enable-prefix-caching \
  --host 0.0.0.0 --port 30000

# Enable official 3-step MTP by appending:
# --speculative-config '{"method":"mtp","num_speculative_tokens":3,"index_share_for_mtp_iteration":true}'

# Native 1M context mode: replace limits with:
# --max-model-len 1048576 --max-num-seqs 4 --gpu-memory-utilization 0.90
# 32K baseline (all 56.8B weights + 20B PLE resident in HBM3e; drop --disable-radix-cache in prod)
python3 -m sglang.launch_server \
  --model-path /models/Qwen4-35B-A3B/v1 \
  --served-model-name Qwen4-35B-A3B \
  --trust-remote-code \
  --tp 1 \
  --context-length 32768 \
  --mem-fraction-static 0.88 \
  --no-ple-offload-embedding \
  --qsa-indexer-dtype fp8_e4m3 \
  --linear-attn-prefill-backend flashinfer \
  --linear-attn-decode-backend flashinfer \
  --mamba-ssm-dtype bfloat16 \
  --reasoning-parser qwen4 \
  --tool-call-parser qwen4 \
  --disable-radix-cache \
  --enable-metrics \
  --host 0.0.0.0 --port 30000

# Enable official NEXTN (3/1/4) MTP by appending:
# --linear-attn-verify-backend triton \
# --speculative-algorithm NEXTN \
# --speculative-num-steps 3 \
# --speculative-eagle-topk 1 \
# --speculative-num-draft-tokens 4

# Native 1M context mode on Hopper SM90: replace limits & KV dtype with:
# --context-length 1048576 --max-running-requests 4 --mem-fraction-static 0.92 --kv-cache-dtype fp8_e4m3

3. 32K Baseline and MTP Same-Node Benchmark (96/96 Rounds Passed)

Using the identical client, seeds, cache-off setting, and 3-round medians as our PRO 5000 FP8 benchmark, all 96 formal rounds (30 baseline + 18 MTP per engine) passed with zero failures.

1x H20-3e BF16 vLLM vs. SGLang 32K baseline and MTP output throughput

3.1 Full 10-Cell 32K Baseline (No MTP)

Workload (Input→Output · Concurrency) vLLM (tok/s) SGLang (tok/s) Delta (SGLang vs. vLLM) vLLM TTFT (ms) SGLang TTFT (ms) vLLM TPOT (ms) SGLang TPOT (ms)
1K → 128 · C=1 147.6 133.1 -9.8% 106.5 105.4 5.99 6.75
1K → 128 · C=4 304.0 365.1 +20.1% 309.6 307.1 10.80 8.71
1K → 128 · C=8 411.4 526.0 +27.9% 517.2 529.3 15.52 11.39
1K → 128 · C=16 538.9 719.9 +33.6% 884.1 994.6 21.90 14.58
1K → 512 · C=1 161.5 141.7 -12.3% 105.9 105.8 6.00 6.88
1K → 512 · C=8 437.2 619.3 +41.7% 518.3 530.1 17.52 11.95
8K → 128 · C=1 95.0 83.5 -12.1% 557.1 561.1 6.04 7.50
8K → 128 · C=4 146.2 156.5 +7.0% 1,774.5 2,045.9 13.55 9.63
8K → 128 · C=8 162.4 180.5 +11.1% 2,118.3 3,283.6 32.22 18.80
24K → 128 · C=1 52.7 49.6 -5.9% 1,620.9 1,601.0 6.07 7.52

3.2 Official 3-Step MTP and Real Natural-Text Acceptance

Workload (Input→Output · Concurrency) vLLM MTP (tok/s) vs. vLLM Base SGLang MTP (tok/s) vs. SGLang Base vLLM TTFT / TPOT (ms) SGLang TTFT / TPOT (ms)
1K → 128 · C=1 176.2 +19.4% 203.2 +52.7% 107.7 / 4.93 110.0 / 3.99
1K → 512 · C=1 209.3 +29.6% 236.0 +66.5% 108.7 / 4.61 110.6 / 3.90
8K → 128 · C=1 105.9 +11.5% 105.7 +26.6% 574.7 / 5.02 594.3 / 4.60
1K → 128 · C=8 413.6 +0.5% 613.4 +16.6% 324.3 / 15.63 306.7 / 9.21
1K → 512 · C=8 504.0 +15.3% 863.3 +39.4% 277.5 / 14.58 291.7 / 8.02
1K → 128 · C=16 534.2 -0.9% 776.3 +7.8% 428.0 / 23.06 405.5 / 15.09
  • GPU-resident PLE supercharges SGLang MTP across every concurrency: Without PCIe round-trips during 3-step speculative verification, SGLang overtakes vLLM even at C=1 (236.0 tok/s, 3.90 ms TPOT) and C=16 (776.3 tok/s), peaking at 863.3 tok/s median (911.4 tok/s single-round peak, +71.3% ahead of vLLM) at 1K → 512 · C=8.
  • Real coding & architecture MTP measurements:
  • vLLM BF16: Single-stream decode hit 238.1 / 201.2 / 239.4 tok/s; /metrics recorded per-position acceptance Pos 0 = 79.4%, Pos 1 = 43.4%, Pos 2 = 17.2%, mean acceptance 46.65%, and mean accept length 2.399 tokens/step (up from 2.188 on PRO 5000 FP8, reflecting tighter alignment between BF16 weights and the MTP head).
  • SGLang BF16: The exact same 3 realistic prompts reached 329.8 / 264.4 / 314.2 tok/s single-stream.

4. Cross-Generation Comparison: 1× H20-3e BF16 vs. 1× PRO 5000 FP8

Placing both same-protocol benchmarks side by side illustrates the clean hardware division between Hopper HBM3e (BF16) and Blackwell GDDR7 (FP8):

Cross-generation comparison: 1x H20-3e BF16 vs. 1x RTX PRO 5000 FP8

Comparison Axis 1× H20-3e 141GB (BF16 · SM90) 1× PRO 5000 72GB (FP8 · SM120) Winner & Hardware Driver
Real coding single-stream peak (MTP) 329.8 tok/s (SGLang) 196.6 tok/s (vLLM) H20-3e +67.8% (4.8 TB/s HBM3e + GPU PLE + higher MTP acceptance)
1K → 512 · C=1 MTP 236.0 tok/s (3.90 ms) 174.9 tok/s (5.57 ms) H20-3e +34.9% (3B active MoE decode is memory-bandwidth bound)
1K → 512 · C=8 MTP 863.3 tok/s (SGLang) 617.8 tok/s (SGLang) H20-3e +39.7% (HBM3e bandwidth + zero PCIe PLE stalls)
8K → 128 · C=8 TTFT 2,118 ms (vLLM) 1,497 ms (vLLM) PRO 5000 29.3% faster (higher Blackwell FP8 Tensor Core TFLOPS)
128K NIAH prefill 15,410 tok/s (vLLM) 21,599 tok/s (vLLM) PRO 5000 +40.2% (long prefill is compute-bound)
1M+ NIAH prefill 13,385 tok/s (1,039,846 tok) 15,995 tok/s (1,020,166 tok) PRO 5000 +19.5%
Single-card 1M KV capacity 9.92M Tokens (vLLM nvfp4) 4.69M Tokens (SGLang fp4) H20-3e 2.1× (larger 141GB VRAM headroom)

5. Single-Card 141GB Native 1M Context NIAH (64K → 1,039,846 Tokens)

Tier Server prompt_tokens vLLM BF16 (nvfp4 KV) vLLM TTFT / Prefill SGLang BF16 (fp8_e4m3 KV) SGLang TTFT / Prefill
64K 59,686 3/3 PASS 4.806 s / 12,419 tok/s 3/3 PASS 16.753 s / 3,563 tok/s (incl. JIT)
128K 121,126 3/3 PASS 7.860 s / 15,410 tok/s 3/3 PASS 7.903 s / 15,327 tok/s
256K 244,006 3/3 PASS 16.109 s / 15,147 tok/s 3/3 PASS 27.926 s / 8,738 tok/s
512K 489,766 3/3 PASS 33.535 s / 14,605 tok/s 3/3 PASS 35.948 s / 13,624 tok/s
~1M 942,346 3/3 PASS 68.983 s / 13,661 tok/s 0/3 (safety refusal) 81.246 s / 11,599 tok/s
True 1M 1,039,846 3/3 PASS 77.685 s / 13,385 tok/s 3/3 PASS 91.112 s / 11,413 tok/s

Full disclosure on SGLang's 942K 0/3 result: Inspecting the raw response confirms this was not a retrieval miss — the phrase "audit secret codes" triggered a safety refusal (I cannot extract or provide the secret codes mentioned in the log entries.). Immediately afterward, the longer 1,039,846-token tier (99.2% of native 1M) passed 3/3. At 1,039,846 tokens, vLLM decoded the 55-token answer in just 0.324 s (169.8 tok/s).


6. Functional Smoke, Grafana Telemetry, and BF16 vs. FP8 Pelican Animation

6.1 Smoke Checks and Light-Mode Grafana Telemetry

Both engines passed critical (5/5), effort (5/5), and tools (4/4, preserving "75001" as string under strict: true); strict regex vision scores were 3/5 (4/5 on vLLM MTP) with full semantic accuracy (again due to pluralizing uncountable corn as "corns").

Below is the light-mode Grafana hardware telemetry captured across the entire sequential 1× H20-3e 141GB run (3 vLLM stages followed by 3 SGLang stages):

Light-mode Grafana telemetry across the sequential Qwen4-35B-A3B BF16 benchmark on 1x H20-3e 141GB

6.2 Same-Prompt Animated SVG: H20-3e BF16 vs. PRO 5000 FP8

Sending the identical "Pelican Riding a Bicycle" animated SVG prompt (reasoning_effort="high", seed=20261204) to SGLang NEXTN 3/¼ in BF16 finished in 50.595 s (258.5 tok/s, 13,058 tokens, 8,455 B verbatim SVG — complete with a red cycling cap on the pelican and a sailboat on the ocean). On vLLM BF16, high effort reasoned for 14,593 tokens (210.0 tok/s) and hit the 16,384 cap, reinforcing the recommendation to set max_tokens to 24576–32768 for high-effort long code generation.

Live side-by-side H20-3e BF16 vs. PRO 5000 FP8 interactive H5 showcase (same SGLang engine, same prompt):

Open full-screen H5 comparison · Download raw H20-3e BF16 SVG · Download raw PRO 5000 FP8 SVG

Static preview of Qwen4-35B-A3B Pelican Riding a Bicycle animations: H20-3e BF16 vs. PRO 5000 FP8


7. Production Recommendations for BF16 on Single H20-3e 141GB

  1. For interactive coding and mid-concurrency online serving on H20-3e, pick SGLang + --no-ple-offload-embedding + NEXTN 3/¼ MTP: Keeping 20B BF16 PLE in HBM3e saves ~60 GiB of host RAM, eliminates the container cudaHostAlloc crash, and pushes real single-stream coding to 330 tok/s and C=8 long output to 863 tok/s; switch to --kv-cache-dtype fp8_e4m3 for 1M context.
  2. For high-concurrency 256K–1M long-context serving on H20-3e, pick vLLM + nvfp4 KV: vLLM runs Triton nvfp4 KV directly on Hopper SM90 for 9.92M KV tokens (9.46× 1M) and passed all 6 NIAH tiers 3/3; allocate 160–256 GiB host RAM per Pod for the 67.2 GiB BF16 PLE table and bind to the GPU-local NUMA node.
  3. Heterogeneous fleet routing (H20-3e BF16 vs. PRO 5000 FP8): Route latency-sensitive interactive coding, precision-critical reasoning, and long-generation agents to 1× H20-3e BF16; route heavy long-prompt RAG, repo-scale prefill, and cost-efficient general serving to 1× RTX PRO 5000 72GB FP8.

Complete sanitized benchmark dataset: results.json