2× DGX Spark DeepSeek-V4-Flash-0731 Stable Build

Posting this as a known-good 2× DGX Spark configuration for anyone running DeepSeek-V4-Flash-0731 across two GB10s.

NOTE: GLM-5.3-Flash has become much more interesting than it was when this was built. i’m now looking to see if it’s worth a jump. This post is more a record of a fallback that was solid for me.

This setup has been in regular use for several months and has processed more than 10 billion tokens across its lifetime. It has generally been extremely stable. The only notable recent stability issue was resolved by limiting the GB10 clock to 2200 MHz. Since applying that clock ceiling, the cluster has returned to stable operation.

Current production configuration:

  • 2× NVIDIA DGX Spark, GB10 Grace Blackwell, 128 GiB unified memory each.
  • TP=2 across two 200 Gb/s ConnectX-7 RoCE links.
  • DeepSeek-V4-Flash-0731, pinned revision 7872f01b1d1fe23eabc4c98b48bffcef5a386062.
  • Checkpoint approximately 156 GiB across 48 safetensors shards.
  • 1,048,576-token maximum context.
  • spark-vllm-docker / B12X runtime.
  • Image: eugr/spark-vllm-b12x, build dated 2026-08-12.
  • Image digest: sha256:32ddcd93c05472021824f1223aa5560297b0d933262e60e9a8a08c4b5259235f.
  • vLLM 0.1.dev19043+gfa033bd4e.d20260812, commit fa033bd4e.
  • B12X 1.2.3, commit 184d7d52ad630841d0c6caf962f8b9d36f38992a.
  • FlashInfer 0.6.18.
  • PyTorch 2.13.0+cu130.
  • CUDA 13.0.
  • Runtime NCCL 2.31.2.

Host baseline on both nodes:

  • Kernel 6.17.0-1029-nvidia.
  • NVIDIA driver 580.173.02.
  • VBIOS 9A.0B.2D.00.00.
  • GB10 clock ceiling currently set to 2200 MHz for stability.

The model uses its native mixed low-precision format rather than being simply an FP8 model. Routed experts use the FP4/MXFP4 path, with FP8 and higher-precision formats used elsewhere.

Important serving settings:

  • TP=2.
  • max-model-len 1,048,576.
  • max-num-seqs 8.
  • max-num-batched-tokens 4096.
  • long-prefill-token-threshold 1024.
  • gpu-memory-utilization 0.9.
  • FP8 DS-MLA KV cache.
  • 256-token KV blocks.
  • Prefix caching enabled.
  • DSpark speculative decoding, K=5, probabilistic sampling.
  • Regular CUDA graphs, not breakable CUDA graphs.
  • B12X MoE, linear and B12X_MLA_SPARSE attention backends.
  • InstantTensor loading.
  • vLLM V2 model runner.

Current KV capacity is approximately 2.53 million tokens using about 18.8 GiB. In practice this has been far more KV headroom than our workload requires.

DSpark has also been healthy in real production traffic. On the current engine instance:

  • 7.0 million draft tokens proposed.
  • 3.7 million accepted.
  • 52.9% overall draft-token acceptance.
  • 2.64 accepted tokens per speculative step.
  • Position-by-position acceptance is roughly 84%, 66%, 50%, 37%, 27%.

RoCE is confirmed active rather than silently falling back to TCP. Both ConnectX-7 links are negotiated at 200 Gb/s with MTU 9000, and hardware RDMA counters show multiple terabytes of traffic.

Prefix caching is one of the bigger wins for our workload. The current engine instance is running around a 95–96% prefix-cache hit rate because our agents repeatedly reuse large system prompts and conversation prefixes.

Observed live single-request generation is generally around 42–54 tok/s on the current mixed production workload. Cached prefill has reached roughly 1,500 tok/s. Very long requests approaching the full 1M context naturally have much higher TTFT.

The current engine instance has handled roughly 9,900 completed requests with no aborted requests or engine errors. More importantly, this configuration has been used for months and has processed over 10 billion tokens across successive engine sessions.

We have deliberately not moved to several newer configurations.

DeepSeek-V4-Flash-Vision-Exp adds native vision and showed some improved agent benchmarks, but on 2× Spark it has generally traded away text throughput without providing enough practical benefit to replace this build.

DeepSeek-V4.1-Flash is a stronger model, but current 2× Spark deployments still require aggressive quantization, pruning, or other memory compromises. The higher-quality 2× builds we have been tracking remain materially slower than this 0731 configuration.

We have also watched NVIDIA NVFP4 weights, NVFP4 DS-MLA KV, newer B12X images and newer DGX Spark host software. None has yet produced a large enough combination of quality, speed and stability improvement to justify replacing this pinned build.

For that reason, this system is intentionally conservative: pinned model revision, pinned container digest, pinned host software, and now a 2200 MHz GB10 clock ceiling after the recent stability issue.

For anyone chasing the newest benchmark number, there are faster or more experimental paths. For a 2× Spark deployment that needs to stay up and do real work, this has been our most reliable configuration so far.

what’s the performance of this recipe?

Oh good point. So ~40 tok/s for long generations, ~46 for short ones, 87 at C4, 148 to 154 at C8. That reproduces to within a few percent across every path.

I’m testing GLM tomorrow to see if I can replace “old stable”

Testing now. Same-harness comparison (both stacks measured with the identical suite on the two Sparks, 2026-10-05):

GLM-5.3-Flash EXL3 (q4 dense, fp8 KV, DFlash2 drafting, vision on, PARALLEL=8) vs DeepSeek-V4-Flash-0731

• C1 short prompt: 65.5 vs 46.5 tok/s (+41%)

• C4 aggregate: 216.4 vs 87.2 tok/s (+148%)

• C8 aggregate: 273.2 vs 153.6 tok/s (+78%)

• Speculative decode acceptance: ~78% vs 52.9%

• TTFT p50 / p95: 0.175 / 0.243 s vs 0.6 / 3.0 s

Context worth including:

• GLM runs on TensorFold v0.6.0, TP=2 across the two Sparks, 1M context per request

• Functional checks passed: streaming with reasoning, alias ids, tool calling, prefix-cache reuse (1,536/1,559 tokens on repeated system prompt)

• Tradeoff: KV pool dropped from 2.30M to 1.68M tokens to hold PARALLEL=8

• Caveats: 24h+ soak not yet proven, and the DFlash2 drafter is CC BY-NC-ND (non-commercial) until Inco licenses it.