DGX Spark field notes: Qwen3.8-27B at 4 tok/s vs Nemotron 3 Nano at 56 tok/s
Same GB10, same harness, three model generations measured: dense 27B BF16 crawls at 4 tok/s (bandwidth-bound dead end), NVFP4+MTP k=5 rescues it to 18.4; low-active MoE is the answer — Nemotron 3 Nano 30B-A3B NVFP4 runs 56 tok/s bare, 290s cold start, 19.4GB weights. Full vLLM 0.27.1 config and pitfalls included.
DGX Spark (GB10) Model Practice: From Qwen3.8-27B at 4 tok/s to Nemotron 3 Nano at 56 tok/s
A complete model-selection log on one DGX Spark (GB10): all measured results for three model generations, three precisions, two engines, and four decoding strategies. Data accumulated over a week with the same benchmarking script, covering five dimensions: decode throughput (by scenario), TTFT, memory, cold start, and the bandwidth model.
1. Platform and test method
Item / configuration:
- Hardware: NVIDIA DGX Spark (GB10 / Jetson Thor), 121GB unified LPDDR5X memory, bandwidth ~273GB/s (measured effective ~202GB/s, 74%)
- System: Ubuntu 24.04 (aarch64), CUDA 13.0
- Engines: vLLM 0.27.1 official aarch64 image / official SGLang image / official NGC image
- Benchmarking: single script using usage.completion_tokens / wall-clock time; scenario-specific Chinese prompts (prose/code/translation/thinking), averaged over multiple rounds; marked fresh (first-request JIT cold start) vs steady state
Model background - the chat models run on this GB10 over three weeks:
- Qwen3.6-35B-A3B (MoE 30B/3.5B active, previous generation) -> deprecated 2026-08-13
- Qwen3.8-27B (27B dense + GDN hybrid VLM) -> deprecated 2026-08-20 (kept as fallback)
- Nemotron 3 Nano 30B-A3B (MoE 30B/3B active + Mamba-2 hybrid) -> current
2. The numbers at a glance
2.1 Decode throughput master table (tok/s, higher is better, same machine and script)
1. Qwen3.6-35B-A3B NVFP4, vLLM (old host build): Chinese prose 66.4
2. Qwen3.6-35B-A3B NVFP4, vLLM (co-resident with embed model): 75
3. Qwen3.8-27B BF16, vLLM no speculation: 4.09
4. Qwen3.8-27B BF16, SGLang no speculation: 4.24
5. Qwen3.8-27B FP8, SGLang no speculation: 6.92
6. Qwen3.8-27B FP8, vLLM no speculation: 6.96
7. Qwen3.8-27B FP8, SGLang + DSPARK: 9.77*
8. Qwen3.8-27B FP8, vLLM + DSPARK k=7: 46.6 (edit-heavy)
9. Qwen3.8-27B FP8, vLLM + MTP k=3: 12.24
10. Qwen3.8-27B NVFP4, vLLM + MTP k=3: 17.1
11. Qwen3.8-27B NVFP4, vLLM + MTP k=5 (final): prose 18.4 / code 25.5 / translation 24.4 / thinking 15.4
12. Nemotron 3 Nano 30B-A3B NVFP4, vLLM no speculation: prose 56.1 / code 55.3 / translation 55.0 / thinking 54.0
*08-17 baseline 9.77; 08-19 Chinese prose fresh 8.49 (script/temperature differences). DSPARK long-block speculation accepts well on code-like tasks (the draft is trained on math/code) and poorly on Chinese prose.
Nemotron 3 is 3.0x Qwen3.8's best configuration (NVFP4+MTP k=5); versus Qwen3.8 BF16 it is 13.7x; and it is on par with the previous-generation MoE model Qwen3.6 (56 vs 66-75).
2.2 TTFT (time to first token, lower is better)
- Qwen3.8 BF16 (vLLM): 28.1s - BF16 prefill is bandwidth-bound
- Qwen3.8 BF16 (SGLang): 5.0s
- Qwen3.8 FP8 no speculation (vLLM): 0.19s - best overall
- Qwen3.8 FP8 no speculation (SGLang): 0.30s
- Qwen3.8 FP8 + DSPARK: 0.33s - speculation adds almost no TTFT
- Qwen3.8 FP8 + MTP k=3: 8.5s - high whenever MTP is present, regardless of k
- Qwen3.8 NVFP4 + MTP k=5 (steady state): 0.31s - first request JIT, first content token at 56.6s, second round 7.5s
- Nemotron 3 NVFP4: not timed separately - non-streaming 600-token prose took 11s total (prefill included)
Key finding (08-17 controlled experiment): vLLM's MTP speculative decoding blows TTFT up from 0.19s to 8.5-11s (high whenever present, worse at k=1) - with vLLM you cannot have both speculative speedups and low TTFT; SGLang's DSPARK is nearly lossless (0.33s).
2.3 Memory, weights, and cold start
- Qwen3.6-35B-A3B NVFP4: weights 20.6GB, ~70GB used, ~10min cold start
- Qwen3.8 BF16: 51GB, ~85GB, ~10min
- Qwen3.8 FP8: 30.9GB, ~103GB, ~7min
- Qwen3.8 NVFP4: 23.4GB, ~113GB (KV 80GB/262K), ~7min
- Nemotron 3 NVFP4: 19.4GB, ~115GB (KV 86GB/256K), 290s
Addendum (08-18 baseline, Qwen3.8 FP8+MTP): 8K prefill at 9.1K tok/s (0.9s); pure decode 600-out at 19.6-20.1 tok/s; thinking scenarios including reasoning about 30 tok/s.
2.4 Bandwidth model verification (why BF16 only hits 4 tok/s)
GB10 decode is memory-bandwidth-bound: every generated token must stream all active weights through memory.
- BF16 dense (54GB): 54GB per-token weight read, theoretical peak 5.1, 80% efficiency 4.0, measured 4.09-4.24 (pinned at the physical limit)
- FP8 dense (27GB): 27GB, 10.1, 8.1, measured 6.92-6.96
- NVFP4 dense (21.7GB): 21.7GB, 12.6, 10.1, ~12-18 measured (+MTP)
- MoE 3B active (~19GB weights): ~3GB, ~75, ~60, measured 54-56
Effective measured bandwidth is about 202GB/s (74% of the theoretical 273). BF16 dense is already pinned at the physical ceiling - switching engines won't help; you must lower weight precision and active parameter count.
3. Why is Nemotron 3 fast? (architecture)
MoE with low active parameters is the only cure: Nemotron 3 Nano = 30B total / 3B active (52 layers, only 6 of 36 experts activated per layer) + Mamba-2 hybrid (most attention replaced with state-space layers, cheaper KV). Each token reads only ~3B parameters of weights - about 1/9 the compute of Qwen3.8 27B dense. The previous-generation Qwen3.6-35B-A3B (MoE, 3.5B active) also hit 66-75 tok/s - the data confirms: MoE with low active parameters is the right answer on GB10; 27B dense was a detour.
NVFP4 quantization (QAD): NVIDIA's official NVFP4 checkpoint is quantization-aware distilled; 19.4GB of weights, loads in vLLM natively with zero configuration, and accuracy showed no perceptible difference in chat/code/translation tests.
No speculative decoding needed: Qwen3.8 needed MTP/DSPARK to go from 7 to 12-18; Nemotron runs bare at 55+ and skips speculation's TTFT cost and configuration complexity.
4. Deployment method (fully reproducible)
1) Download weights (ModelScope, directly reachable from mainland China):
pip install modelscope
mkdir -p /home/mushan/models/Nemotron-3-Nano-30B-A3B-NVFP4
modelscope download --model nv-community/NVIDIA-Nemotron-3-Nano-30B-A3B-NVFP4 \
--local_dir /home/mushan/models/Nemotron-3-Nano-30B-A3B-NVFP4
~19.4GB (5 shards), measured 11-46MB/s. hf-mirror is slow and aria2 produces files with holes.
2) Start the vLLM container:
docker run -d --name nemotron3-nvfp4 --gpus all --ipc host --restart unless-stopped \
-p 8000:8000 \
-v /home/mushan/models:/models \
-v /home/mushan/.cache/vllm:/root/.cache/vllm \
--entrypoint vllm vllm/vllm-openai:v0.27.1-aarch64 \
serve /models/Nemotron-3-Nano-30B-A3B-NVFP4 \
--served-model-name nemotron3 \
--host 0.0.0.0 --port 8000 \
--api-key "***" \
--trust-remote-code \
--max-model-len 262144 \
--max-num-seqs 4 \
--max-num-batched-tokens 16384 \
--gpu-memory-utilization 0.90 \
--enable-chunked-prefill \
--enable-prefix-caching \
--kv-cache-dtype fp8 \
--reasoning-parser nemotron_v3 \
--tool-call-parser qwen3_coder \
--enable-auto-tool-choice \
--chat-template /models/Nemotron-3-Nano-30B-A3B-NVFP4/chat_template.jinja
On x86 use the same tag's amd64 image. The official NGC image nvcr.io/nvidia/vllm:25.12.post1-py3 also works (tested 08-13).
3) Key parameter meanings
- --max-model-len 262144: the model's native limit (max_position_embeddings); set 512K and vLLM refuses to start and restarts forever
- --kv-cache-dtype fp8: fp8 KV halves memory; at 256K the KV pool is 86GB, and fp8 is the only way it fits
- --reasoning-parser nemotron_v3: built in (0.27.x) - correctly parses <think> reasoning content
- --tool-call-parser qwen3_coder: officially recommended; the Nemotron template's tool format <tool_call><function=...> matches qwen3_coder exactly
- --chat-template from the repo: native support for enable_thinking (default True)
- --gpu-memory-utilization 0.90: weights 20.2 + KV 86 + graph 1.3 = about 115GB; 121GB just barely fits
4) Verification + benchmarking script
curl http://127.0.0.1:8000/health # 200
curl http://127.0.0.1:8000/v1/models # should list nemotron3
import json, time, requests
KEY = "***"
H = {'Authorization': f'Bearer {KEY}', 'Content-Type': 'application/json'}
def bench(name, prompt, max_tokens, temp=0.7):
payload = {"model": "nemotron3",
"messages": [{"role": "user", "content": prompt}],
"max_tokens": max_tokens, "temperature": temp}
t0 = time.time()
r = requests.post("http://127.0.0.1:8000/v1/chat/completions",
json=payload, headers=H, timeout=600)
dt = time.time() - t0
ct = r.json()['usage']['completion_tokens']
print(f"{name}: {ct} tok / {dt:.1f}s = {ct/dt:.1f} tok/s")
CN = "Write a vivid, finely detailed prose essay on the spring scenery of a Jiangnan water town, including imagery such as small bridges, flowing water, willows, and rainy lanes, of no fewer than 500 characters."
bench("Chinese prose", CN, 600)
bench("Code", "Write a quicksort algorithm in Python, with comments and test cases.", 300, 0.2)
5) Final Qwen3.8-27B NVFP4 configuration (for comparison)
docker run -d --name qwen38-nvfp4 --gpus all --ipc host --restart unless-stopped \
-p 8000:8000 -v /home/mushan/models:/models \
-v /home/mushan/.cache/vllm:/root/.cache/vllm \
--entrypoint vllm vllm/vllm-openai:v0.27.1-aarch64 \
serve /models/Qwen3.8-27B-NVFP4 --served-model-name qwen3.8-27b \
--api-key "***" --trust-remote-code --max-model-len 262144 \
--max-num-seqs 4 --max-num-batched-tokens 16384 --gpu-memory-utilization 0.90 \
--enable-chunked-prefill --enable-prefix-caching --quantization compressed-tensors --kv-cache-dtype fp8 \
--speculative-config '{"method":"mtp","num_speculative_tokens":5}' \
--reasoning-parser qwen3 --tool-call-parser qwen3_xml --enable-auto-tool-choice \
--chat-template /models/Qwen3.8-27B-NVFP4/chat_template.jinja
5. Pitfall log (for those who come after)
- Do not exceed the native context length: Nemotron 3 max_position_embeddings=262144 (256K). Set 512K -> vLLM refuses to start + infinite restart loop. Read config.json first.
- Non-streaming tool calls get truncated by max_tokens: at max_tokens=300, tool_calls=null occasionally (tool calls carry format preamble; after truncation the parser cannot get complete XML). Non-streaming tool calls need max_tokens of at least 1024; streaming has no such issue.
- The 'illusion' of GB10 unified memory: CUDA allocations are invisible to docker stats / ps RSS (cgroup view); verify with free + the vLLM startup log.
- At 256K, a chat model and an embedding model cannot coexist (Nemotron 115GB + embed 15GB > 121GB; EngineCore init fails, measured).
- Do not measure bandwidth with copy_ (cudaMemcpy D2D slow path); use add for true bandwidth (181GB/s was once misread as 40GB/s).
- The truth about FP8 KV on hybrid models: Qwen3.8 (GDN hybrid) barely saves memory with FP8 KV (the GDN state component in the KV pool stays BF16). Nemotron 3 (Mamba-2 hybrid) is the same. Real memory savings come from lowering --max-model-len.
- Cold-start expectations: Nemotron 3 ~290s (weights + torch.compile ~11s + Mamba2 SSD Triton warmup + CUDA graph 5s); Qwen ~7 minutes (mostly FlashInfer autotuner). Wait a full 10 minutes before declaring failure. The AOT cache (mounted ~/.cache/vllm) saves compile time on the second start.
- MTP speculation is the TTFT culprit: vLLM FP8+MTP takes TTFT from 0.19s to 8.5-11s. For interactive applications (agents/multi-turn), choose no speculation or DSPARK; for throughput scenarios, choose MTP. Bigger k is not always better (Qwen3.8 NVFP4 measured k=3 -> 15.6 / k=5 -> 18.4 / k=8 -> 10.2).
- Speculative-decoding acceptance varies by workload: the DSPARK draft (trained on math/code) hits 46.6 tok/s on code-like tasks but only 8.5-9.8 on Chinese prose. Speculative speedup is not free - draft and workload must match.
- Do not hardcode API keys in scripts: read them dynamically from config/environment variables to avoid redaction/masking problems. Prefer ModelScope for downloads (46MB/s); hf-mirror is 13MB/s and aria2 produces holed files.
6. Conclusions and selection advice
GB10 model-selection iron rule: check active parameter count first, then precision, and only then speculative decoding.
Data chain: MoE 3.5B active (66-75 tok/s) -> 27B dense BF16 (4 tok/s, bandwidth dead end) -> 27B dense NVFP4+MTP (18 tok/s, half saved) -> MoE 3B active + NVFP4 (55+ tok/s, the right answer).
Interaction-experience dimension: Qwen3.8 FP8 without speculation has the best TTFT (0.19s) but only ~7 tok/s of throughput; Nemotron 3 has 8x its throughput with no speculative TTFT cost - better across the board.
Current final configuration: vLLM 0.27.1 + Nemotron 3 Nano 30B-A3B NVFP4 + FP8 KV + 256K context: Chinese 56 / code 55 / translation 55 / thinking 54 tok/s, 290s cold start, 19.4GB weights.
Next things to try: Nemotron 3.5 Lightning 30B-A3B (vLLM day-0 support, official speculative-decoding scheme); Nemotron 3 + a matched draft model for speculation (the speedup headroom for 3B active lies in 'more output per step').
Environment appendix: DGX Spark 121GB / CUDA 13.0 / vLLM 0.27.1-aarch64 / official SGLang image / NGC vLLM 25.12 / models via ModelScope mirror. Data measured 08-03 to 08-20 (Qwen3.6 across three generations of use, Qwen3.8 across 8 configurations, Nemotron 3 NVFP4).