Skip to content

Qwen4-35B-A3B BF16 on 2× H20-3e 141GB (NV18 NVLink): TP=2 vs. TP=1 and DP=2 Benchmark

Test Date: 2026-12-05 | Model: Qwen/Qwen4-35B-A3B (native BF16 weights, 35B total parameters / MoE 256-choose-8 ~3B active + ~20B Per-Layer Embedding, native 1M context) | Hardware: 2× NVIDIA H20-3e 141GB (Hopper SM90, full-mesh NVSwitch NV18 NVLink 4.0, 900 GB/s bidirectional per GPU, driver 580.126.20) | Serving Engines: vllm/vllm-openai:qwen4 and lmsysorg/sglang:qwen4 | Baseline Reference: Same-model, same-engine, same-methodology 1× H20-3e 141GB BF16 (TP=1) benchmark.

When a single 141 GB HBM3e NVIDIA H20-3e already fits the entire Qwen4-35B-A3B (BF16) checkpoint—even with its 20B Per-Layer Embedding (PLE) table fully resident in VRAM—is it actually worth enabling TP=2 across two NV18 NVLink-connected H20-3e GPUs? Or is running two independent TP=1 replicas (DP=2) simply better?

On an idle 8-GPU H20-3e NVSwitch node, we ran the exact same benchmark harness, random seeds, prompt lengths, and 3-round median methodology across both vLLM and SGLang for TP=2 covering 32K Baseline + MTP 3-step + real-world coding/architecture long decode + native 1M NIAH (up to 1,039,846 tokens), and quantified every trade-off against TP=1 and two independent replicas 2×(TP=1).


1. Executive Summary (Production Sizing Verdict First)

  1. The two irreplaceable advantages of TP=2 are super-linear KV Cache expansion and sharp long-context TTFT reduction:
  2. Because model weights are a fixed per-replica HBM cost, moving to TP=2 halves weights per GPU and hands every freed gigabyte directly to KV Cache, delivering far more than 2× capacity: vLLM (nvfp4 KV) jumps from 5.71M to 18.58M tokens at 32K (3.26×) and reaches 29.49M tokens at 1M (28.12× concurrent full-1M requests); SGLang (--no-ple-offload-embedding, full HBM3e PLE) explodes 7.18× from 482.6K to 3.46M tokens (BF16 KV at 32K), 5.48M tokens under MTP, and 6.02× to 14.10M tokens (fp8_e4m3 KV at 1M)—completely eliminating SGLang's tight-VRAM bottleneck from single-GPU BF16 serving.
  3. Adding replicas (DP=2) never speeds up single-request prefill TTFT—only TP=2 does: 128K TTFT drops from 7.86s / 7.90s to 5.01s (vLLM, 1.57×) / 5.06s (SGLang warmed, 1.56×); at true 1M (1,039,846 tokens), vLLM drops from 77.69s to 52.73s (shaving 25 full seconds, 1.47×, 19,721 tok/s), and SGLang drops from 91.11s to 67.37s (shaving 23.7 seconds, 1.35×), with 3/3 PASS across all tiers on both engines.
  4. The two engines diverge clearly in TP=2 scaling efficiency while keeping distinct strengths:
  5. vLLM scales more efficiently under TP=2 (1.52×–1.60×, or 76%–80% 2-GPU efficiency): single-stream baseline TPOT drops from 5.99ms to 4.67ms (147.6 → 183.8 tok/s, +24.5%), 1k→512 C=1 MTP rises from 209.3 to 283.9 tok/s (TPOT 3.33ms, +35.6%), and C=16 MTP reaches 856.4 tok/s (1.60×).
  6. SGLang retains the TP=2 absolute throughput and real-world single-stream crown (1.24×–1.38×, or 62%–69% 2-GPU efficiency): 1k→512 C=8 NEXTN hits 1,072.7 tok/s (peak 1,093.1), 1k→128 C=16 NEXTN hits 1,070.9 tok/s (peak 1,101.0 tok/s); across 3 real 1,024-token coding, Chinese architecture, and ClickHouse SQL greedy-decode prompts, SGLang TP=2 reaches 320.7 / 369.3 / 341.5 tok/s, solidly ahead of vLLM TP=2's 269.4 / 293.8 / 288.9 tok/s.
  7. Host PLE RAM discovery: under TP=2, vLLM shards the CPU-pinned PLE table across TP workers rather than duplicating it:
  8. On TP=1, vLLM pinned 67.23 GiB Host RSS for the 20B BF16 PLE table; under TP=2, Worker_TP0 and Worker_TP1 hold 35.56 GiB and 35.59 GiB respectively (71.15 GiB total, not 134 GiB). With --no-ple-offload-embedding, SGLang's two scheduler processes use only 9.61 GiB total Host RSS (4.81 + 4.80 GiB).
  9. One-line production selection rule:
  10. Maximum aggregate throughput and lowest cost per token (offline batch, high-QPS short-context APIs) → pick 2×(TP=1) independent replicas (DP=2). On the exact same 2× H20-3e pair, SGLang DP=2 reaches 1,727 tok/s aggregate (+61% higher than TP=2's 1,073 tok/s).
  11. Low TTFT on 8K–1M long context, ultra-fast single-stream Agent / Coding IDE responsiveness, or massive shared KV pools → pick 1×(TP=2) (NV18 NVLink) for 321–369 tok/s real single-stream decode, -32% to -40% long-context TTFT, and 3.3×–7.2× larger KV capacity.

Two Core Gains of TP=2: Super-Linear KV Capacity & 1M Prefill TTFT


2. Interconnect Topology, VRAM Sharding & Host RAM Analysis

Our test host is an 8-GPU NVIDIA H20-3e (141 GB HBM3e) NVSwitch server. Running nvidia-smi topo -m inside both the vLLM and SGLang TP=2 containers verified direct NV18 (18 bonded NVLink 4.0 lanes, 900 GB/s bidirectional per GPU) connectivity between each allocated GPU pair:

# Verified inside TP=2 container on 2x NVIDIA H20-3e 141GB
        GPU0    GPU1    CPU Affinity    NUMA Affinity
GPU0     X      NV18    0-191           0
GPU1    NV18     X      192-383         1

Legend:
  NV18 = Connection traversing a bonded set of 18 NVLinks (900 GB/s bidirectional per GPU)

Both engines automatically enabled NVLink / NVSwitch low-latency collective communication paths at startup: - vLLM: tp:0 enabled ['FLASHINFER', 'CUSTOM', 'SYMM_MEM', 'PYNCCL'] AllReduce dispatch order with allreduce_rms fusion. - SGLang: auto-enabled FlashInfer AllReduce Fusion (backend=trtllm, max_token_num=2048, hidden_dim=2048) plus Symmetric workspace (multicast=True, custom_all_reduce_v2).

2.2 Per-GPU VRAM, Host PLE RAM & KV Cache Capacity Comparison

Dimension vLLM TP=1 vLLM TP=2 Scaling Factor SGLang TP=1 SGLang TP=2 Scaling Factor
PLE Placement CPU Pinned CPU Pinned (TP sharded) Sharded by TP Full HBM3e HBM3e (TP sharded) Sharded by TP
Per-GPU Weights (32K Base) 66.28 GiB 33.59 GiB 0.51× 104.75 GB 52.96 GB 0.51×
Per-GPU Weights (32K MTP) 67.22 GiB 34.53 GiB 0.51× 106.45 GB 54.66 GB 0.51×
Per-GPU Idle Total VRAM (32K Base) 122,400 MiB 121,639 MiB / GPU Full KV pool 125,882 MiB 128,778 MiB / GPU Full KV pool
Total Host RAM RSS (Workers) 67.23 GiB 71.15 GiB (35.56+35.59) 1.06× (no doubling) 4.17 GiB 9.61 GiB (4.81+4.80) Minimal Host RAM
32K Base KV Capacity 5,705,863 tok 18,578,031 tok 3.26× 482,624 tok 3,464,128 tok 7.18×
32K MTP KV Capacity 2,806,591 tok 9,023,987 tok 3.22× 321,792 tok 5,478,272 tok 17.02×
1M Mode KV Capacity 9,923,419 tok 29,491,200 tok 2.97× 2,342,912 tok 14,099,200 tok 6.02×
1M Mode Max Full-Context Concurrency 9.46× 28.12× 2.97× 2.23× 13.45× 6.03×

Why is SGLang's KV multiplier so much larger than vLLM's?
On TP=1, SGLang uses --no-ple-offload-embedding to keep the 20B BF16 PLE inside HBM3e (avoiding container cudaHostAlloc limits and maximizing decode speed), which consumes 104.75 GB (75% of a single 141 GB card) and leaves only ~12 GB (482K tokens) for BF16 KV Cache. Under TP=2, per-GPU weights drop in half to 52.96 GB, freeing over 65 GB per GPU (130+ GB combined) for KV Cache—multiplying BF16 KV capacity 7.18× at 32K and fp8_e4m3 KV capacity 6.02× to 14.10M tokens at 1M.


3. 32K Baseline & MTP 3-Step Matrix (TP=2 vs. TP=1)

Every cell below uses the exact same vllm bench serve fixed-length random workload (random-range-ratio 0.0, identical seeds, prefix caching disabled) with 3 consecutive rounds taking the median. All functional smoke suites (critical 5/5, effort 5/5, tools 4/4) passed on the first attempt under TP=2 for both engines.

3.1 vLLM: TP=2 vs. TP=1 (32K Baseline & MTP 3-Step)

Workload (In→Out Conc) Mode TP=1 Out TP=2 Out Speedup (2-GPU Eff.) TP=1 TTFT TP=2 TTFT TP=1 TPOT TP=2 TPOT
1k→128 C=1 Base 147.6 tok/s 183.8 tok/s 1.25× (62.3%) 106.5 ms 103.1 ms 5.99 ms 4.67 ms
1k→128 C=8 Base 411.4 tok/s 625.9 tok/s 1.52× (76.1%) 517.2 ms 361.4 ms 15.52 ms 10.04 ms
1k→128 C=16 Base 538.9 tok/s 859.4 tok/s 1.59× (79.7%) 884.1 ms 495.8 ms 21.90 ms 14.87 ms
8k→128 C=1 Base 95.0 tok/s 132.6 tok/s 1.40× (69.8%) 557.1 ms 354.2 ms 6.04 ms 4.69 ms
8k→128 C=8 Base 162.4 tok/s 254.6 tok/s 1.57× (78.4%) 2,118.3 ms 1,319.4 ms 32.22 ms 21.55 ms
1k→512 C=1 Base 161.5 tok/s 206.2 tok/s 1.28× (63.9%) 105.9 ms 103.7 ms 6.00 ms 4.66 ms
1k→512 C=8 Base 437.2 tok/s 678.1 tok/s 1.55× (77.6%) 518.3 ms 360.5 ms 17.52 ms 11.18 ms
24k→128 C=1 Base 52.7 tok/s 77.8 tok/s 1.48× (73.8%) 1,620.9 ms 1,027.2 ms 6.07 ms 4.71 ms
1k→128 C=1 MTP 176.2 tok/s 223.6 tok/s 1.27× (63.5%) 107.7 ms 102.9 ms 4.93 ms 3.69 ms
1k→128 C=8 MTP 413.6 tok/s 602.0 tok/s 1.46× (72.8%) 324.3 ms 234.2 ms 15.63 ms 10.36 ms
1k→128 C=16 MTP 534.2 tok/s 856.4 tok/s 1.60× (80.2%) 428.0 ms 342.8 ms 23.06 ms 15.15 ms
8k→128 C=1 MTP 105.9 tok/s 151.9 tok/s 1.43× (71.7%) 574.7 ms 366.4 ms 5.02 ms 3.54 ms
1k→512 C=1 MTP 209.3 tok/s 283.9 tok/s 1.36× (67.8%) 108.7 ms 104.0 ms 4.61 ms 3.33 ms
1k→512 C=8 MTP 504.0 tok/s 772.7 tok/s 1.53× (76.7%) 277.5 ms 144.0 ms 14.58 ms 9.39 ms

3.2 SGLang: TP=2 vs. TP=1 (32K Baseline & NEXTN 3/¼ MTP)

Workload (In→Out Conc) Mode TP=1 Out TP=2 Out Speedup (2-GPU Eff.) TP=1 TTFT TP=2 TTFT TP=1 TPOT TP=2 TPOT
1k→128 C=1 Base 133.1 tok/s 147.1 tok/s 1.10× (55.2%) 105.4 ms 75.6 ms 6.75 ms 6.25 ms
1k→128 C=8 Base 526.0 tok/s 692.2 tok/s 1.32× (65.8%) 529.3 ms 361.8 ms 11.39 ms 8.78 ms
1k→128 C=16 Base 719.9 tok/s 990.7 tok/s 1.38× (68.8%) 994.6 ms 658.8 ms 14.58 ms 11.03 ms
8k→128 C=1 Base 83.5 tok/s 100.0 tok/s 1.20× (59.9%) 561.1 ms 380.6 ms 7.50 ms 6.99 ms
8k→128 C=8 Base 180.5 tok/s 263.4 tok/s 1.46× (73.0%) 3,283.6 ms 2,102.5 ms 18.80 ms 14.02 ms
1k→512 C=1 Base 141.7 tok/s 153.4 tok/s 1.08× (54.1%) 105.8 ms 74.8 ms 6.88 ms 6.39 ms
1k→512 C=8 Base 619.3 tok/s 815.6 tok/s 1.32× (65.8%) 530.1 ms 357.1 ms 11.95 ms 9.13 ms
24k→128 C=1 Base 49.6 tok/s 65.6 tok/s 1.32× (66.1%) 1,601.0 ms 1,045.4 ms 7.52 ms 7.02 ms
1k→128 C=1 MTP 203.2 tok/s 239.3 tok/s 1.18× (58.9%) 110.0 ms 78.1 ms 3.99 ms 3.58 ms
1k→128 C=8 MTP 613.4 tok/s 814.7 tok/s 1.33× (66.4%) 306.7 ms 229.8 ms 9.21 ms 7.72 ms
1k→128 C=16 MTP 776.3 tok/s 1,070.9 tok/s 1.38× (69.0%) 405.5 ms 248.6 ms 15.09 ms 11.64 ms
8k→128 C=1 MTP 105.7 tok/s 137.7 tok/s 1.30× (65.2%) 594.3 ms 402.2 ms 4.60 ms 4.03 ms
1k→512 C=1 MTP 236.0 tok/s 284.0 tok/s 1.20× (60.2%) 110.6 ms 78.3 ms 3.90 ms 3.33 ms
1k→512 C=8 MTP 863.3 tok/s 1,072.7 tok/s 1.24× (62.1%) 291.7 ms 202.2 ms 8.02 ms 6.40 ms

Dual-Engine 32K Output Throughput: TP=2 (NV18) vs. TP=1

Why does vLLM scale better relatively (1.52×–1.60×) under TP=2 than SGLang (1.24×–1.38×), yet SGLang still holds the absolute throughput lead?
This reflects a clean architectural contrast: 1. vLLM starts from a higher single-GPU MoE + Host PLE latency floor on TP=1 (5.99ms TPOT at 1k→128 C=1, 15.52ms at C=8). Moving to TP=2 not only halves GPU weight reads, it also shards the CPU-pinned PLE lookups across two workers mapped to dual NUMA nodes, making NV18 AllReduce overhead a smaller fraction of per-step time—yielding 76%–80% 2-GPU efficiency and even beating SGLang TP=2 by 25% on 1k→128 C=1 Base (183.8 vs. 147.1 tok/s). 2. SGLang already pushes single-GPU HBM3e execution close to saturation on TP=1 (863.3 tok/s at C=8 MTP). Adding per-layer AllReduce under TP=2 limits C=1 Base gain to +10.5%, yet at higher concurrency SGLang still breaks past 1,070.9–1,072.7 tok/s (peaking at 1,101.0 tok/s in round 3 of C=16), retaining a 25%–39% absolute throughput advantage on concurrent serving and real MTP decoding.


4. Real-World 1,024-Token Coding / Architecture / SQL Decode (MTP)

Synthetic random-token benchmarks underestimate speculative decoding acceptance. We evaluated 3 identical production-style 1,024-token prompts (max_tokens=1024, temperature=0.0, streaming) on the exact same 2× H20-3e pair for both TP=2 MTP engines:

Real Prompt Task Output Length vLLM TP=2 MTP Speed vLLM Wall Time / Accept Len (Pos 0/½) SGLang TP=2 NEXTN Speed SGLang Wall Time / TTFT SGLang Advantage
coding_k8s_controller (Python Async K8s Controller) 1,024 tok 269.4 tok/s 3.80s / 2.14 (71.6% / 32.6% / 9.8%) 320.7 tok/s 3.37s / 178.7 ms +19.0%
arch_nvlink_tp2 (Chinese NVLink Architecture Essay) 1,024 tok 293.8 tok/s 3.49s / 2.34 (78.7% / 40.0% / 15.6%) 369.3 tok/s 2.84s / 66.6 ms +25.7%
sql_clickhouse_opt (500K rows/s ClickHouse Schema) 1,024 tok 288.9 tok/s 3.55s / 2.31 (78.2% / 39.0% / 14.0%) 341.5 tok/s 3.06s / 62.8 ms +18.2%

With TP=2 + NEXTN 3/¼ enabled, native BF16 Qwen4-35B-A3B generates a complete 1,024-token technical specification or runnable controller in just 2.84–3.37s, approaching 370 tok/s single-stream—an interactive "instant full-answer" feel that neither TP=1 nor DP=2 can deliver.


5. Native 1M Context NIAH (128K / 512K / True 1,039,846 tokens)

In 1M mode, vLLM uses nvfp4 KV + fp8 indexer (gpu-memory-utilization 0.90, 29.49M tokens KV pool) while SGLang uses Hopper-compatible fp8_e4m3 KV + --no-ple-offload-embedding (mem-fraction-static 0.90, 14.10M tokens KV pool). Both engines achieved 3/3 exact needle recall across 128K, 512K, and true 1M (1,039,846 tokens):

Tier (Actual Prompt Tokens) Engine TP=1 TTFT TP=2 TTFT TP=2 Prefill Rate Speedup vs. TP=1 NIAH Recall
128K (121,126 tok) vLLM 7.86 s 5.01 s 24,182 tok/s 1.57× (-36.3%) 3/3 PASS
128K (121,126 tok) SGLang (warmed) 7.90 s 5.06 s 23,947 tok/s 1.56× (-36.0%) 3/3 PASS
512K (489,766 tok) vLLM 33.54 s 22.15 s 22,115 tok/s 1.51× (-34.0%) 3/3 PASS
512K (489,766 tok) SGLang (warmed) 35.95 s 24.45 s 20,033 tok/s 1.47× (-32.0%) 3/3 PASS
True 1M (1,039,846 tok) vLLM 77.69 s 52.73 s 19,721 tok/s 1.47× (-32.1%, -25.0s) 3/3 PASS
True 1M (1,039,846 tok) SGLang 91.11 s 67.37 s 15,436 tok/s 1.35× (-26.1%, -23.7s) 3/3 PASS

Operational Pitfall: SGLang 1M First-Request Cold JIT Overhead
On SGLang's very first 128K call after cold startup, TTFT measured 17.73s (and first 512K 35.98s), reflecting ~12s of one-shot Triton/FlashInfer long-sequence kernel JIT compilation. Re-running immediately after warmup dropped 128K to a rock-solid 5.06s (23,947 tok/s) and 512K to 24.45s (20,033 tok/s). For production SGLang long-context deployments, fire a 64K–128K warmup request inside a startup hook before shifting live traffic.


6. Economics on the Exact Same 2× H20-3e Pair: TP=2 vs. 2×(TP=1) (DP=2)

With two H20-3e 141GB GPUs available, operators can deploy either 1×(TP=2) or 2×(TP=1) independent replicas behind a load balancer. Here is the exact 2-GPU ledger:

Comparison Metric 2×(TP=1) Replicas (DP=2) 1×(TP=2) NV18 Tensor Parallel Winner & Margin
2-GPU Peak Throughput (SGLang 1k→512 C=8 MTP) 1,726.6 tok/s (2 × 863.3) 1,072.7 tok/s (62.1% eff.) DP=2 +61.0%
2-GPU Peak Throughput (SGLang 1k→128 C=16 MTP) 1,552.6 tok/s (2 × 776.3) 1,070.9 tok/s (69.0% eff.) DP=2 +45.0%
2-GPU Peak Throughput (vLLM 1k→128 C=16 MTP) 1,068.4 tok/s (2 × 534.2) 856.4 tok/s (80.2% eff.) DP=2 +24.8%
Single-Stream Real Coding / Arch Decode (SGLang NEXTN) 264–330 tok/s 321–369 tok/s TP=2 +12%–21%
Single-Request 24K Prefill TTFT (vLLM / SGLang) 1,621 ms / 1,601 ms 1,027 ms / 1,045 ms TP=2 1.53×–1.58×
Single-Request True 1M Prefill TTFT (vLLM / SGLang) 77.69 s / 91.11 s 52.73 s / 67.37 s TP=2 saves 24–25s
2-GPU Total 32K KV Capacity (vLLM nvfp4) 11.41M tok (2 × 5.71M) 18.58M tok TP=2 1.63× larger
2-GPU Total 32K KV Capacity (SGLang BF16) 0.97M tok (2 × 483K) 3.46M tok TP=2 3.59× larger
2-GPU Total 1M KV Capacity (SGLang FP8) 4.69M tok (2 × 2.34M) 14.10M tok TP=2 3.01× larger
2-GPU Total Host RAM (vLLM Host PLE) 134.5 GiB (2 × 67.2) 71.15 GiB (auto-sharded) TP=2 saves 47% RAM

2x H20-3e: TP=2 vs. 2x(TP=1) Throughput & Real Single-Stream MTP

Production Decision Matrix

Workload Profile Recommended Topology & Engine Key Rationale
Offline batch labeling, document ETL, high-QPS short-context API gateway 2×(TP=1) + SGLang NEXTN Zero AllReduce tax; up to 1,727 tok/s across 2 GPUs for best token economics
Interactive coding IDE / Agent loops needing fast single-stream + large KV 1×(TP=2) + SGLang NEXTN 321–369 tok/s real single-stream, 1,073 tok/s concurrent, 3.6× larger KV than DP=2
128K–1M long-document review, multi-repo code analysis, long-context RAG 1×(TP=2) + vLLM (nvfp4 KV) Fastest true 1M TTFT (52.73s), 29.49M tokens KV pool (28× 1M concurrency), 71 GiB Host PLE
Host-RAM-constrained nodes (e.g., 128–256 GiB host RAM running multi-GPU) 1×(TP=2) + SGLang (--no-ple-offload-embedding) Only 9.61 GiB Host RSS across both ranks, saving over 124 GiB RAM vs. 2×(TP=1) vLLM

7. Light-Mode Grafana Telemetry & Reproducible Launch Commands

Below is the actual light-mode Grafana telemetry captured during the 2× H20-3e (NV18) TP=2 benchmark run (vLLM stages 03:35–04:08 and SGLang stages 03:58–04:25). Paired GPUs track each other tightly in VRAM (~121 GiB for vLLM, ~128–137 GiB for SGLang), spike synchronously to ~430–440 W and 100% utilization during 1M NIAH prefill, and remain comfortably below 56 °C.

Light-mode Grafana telemetry across the 2x H20-3e 141GB NV18 TP=2 benchmark

7.1 Reproducible Launch Flags (vLLM TP=2 + MTP 3-Step / 1M)

# vLLM TP=2 on 2x H20-3e 141GB (NV18 NVLink, Hopper SM90 CUDA 13.2 compat)
export LD_LIBRARY_PATH="/usr/local/cuda-13.2/compat:/usr/local/nvidia/lib:/usr/local/nvidia/lib64:/usr/local/cuda/lib64"
export VLLM_ENABLE_CUDA_COMPATIBILITY=1
export VLLM_USE_RUST_FRONTEND=1

# 32K MTP 3-step profile (drop --speculative-config and set --max-model-len 1048576 --max-num-seqs 4 --gpu-memory-utilization 0.90 for 1M)
vllm serve /models/Qwen4-35B-A3B/v1 \
  --served-model-name Qwen4-35B-A3B \
  --trust-remote-code \
  --tensor-parallel-size 2 \
  --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 \
  --speculative-config '{"method":"mtp","num_speculative_tokens":3,"index_share_for_mtp_iteration":true}' \
  --enable-auto-tool-choice \
  --tool-call-parser qwen4 \
  --reasoning-parser qwen4 \
  --no-enable-prefix-caching \
  --host 0.0.0.0 --port 30000

7.2 Reproducible Launch Flags (SGLang TP=2 + NEXTN 3/¼ / 1M)

# SGLang TP=2 on 2x H20-3e 141GB (NV18 NVLink, full HBM3e PLE + FlashInfer AllReduce Fusion)
# For 1M mode: remove NEXTN flags, set --context-length 1048576 --max-running-requests 4 --mem-fraction-static 0.90 --kv-cache-dtype fp8_e4m3
python3 -m sglang.launch_server \
  --model-path /models/Qwen4-35B-A3B/v1 \
  --served-model-name Qwen4-35B-A3B \
  --trust-remote-code \
  --tp 2 \
  --context-length 32768 \
  --mem-fraction-static 0.85 \
  --no-ple-offload-embedding \
  --qsa-indexer-dtype fp8_e4m3 \
  --linear-attn-prefill-backend flashinfer \
  --linear-attn-decode-backend flashinfer \
  --linear-attn-verify-backend triton \
  --mamba-ssm-dtype bfloat16 \
  --speculative-algorithm NEXTN \
  --speculative-num-steps 3 \
  --speculative-eagle-topk 1 \
  --speculative-num-draft-tokens 4 \
  --reasoning-parser qwen4 \
  --tool-call-parser qwen4 \
  --disable-radix-cache \
  --enable-metrics \
  --host 0.0.0.0 --port 30000

Kubernetes Production Scheduling Note: When deploying a TP=2 Deployment onto multi-GPU nodes, always use nodeSelector (or node affinity) with standard kube-scheduler placement—never hardcode spec.nodeName inside a Deployment pod template. If fewer than 2 GPUs are free on that host, bypassing the scheduler causes kubelet to reject pods with UnexpectedAdmissionError in a tight loop, triggering a Failed-Pod storm.