Single DGX Spark Success: Qwen3.8-Flash-Next-NVFP4 with vLLM #54129, PLE mmap, MTP2 and Tool Calling

With the help of ChatGPT, I got Qwen3.8-Flash-Next-NVFP4 running on a single DGX Spark (GB10, stock DGX OS 7.2.3, CUDA 13.0) with vLLM PR #54129 and disk-backed PLE mmap.

The model was RadixArk/Qwen3.8-Flash-Next-NVFP4. I used eugr/spark-vllm-docker for the CUDA/ARM64 runtime.

My first attempt was to use a prebuilt Spark vLLM image and apply --apply-vllm-pr 54129 at runtime. That failed because the installed vLLM baseline was too old and did not contain the required qwen4_exp/nvidia files.

I then tried a local vLLM checkout created with git clone --filter=blob:none, but build-and-copy.sh --vllm-source-dir failed while creating its staging checkout because the partial clone was missing Git objects.

The working solution was to build vLLM directly from the PR branch:

./build-and-copy.sh \
  -t vllm-node-qwen38-pr54129 \
  --vllm-repo https://github.com/Trosfy/vllm.git \
  --vllm-ref ple-mmap-upstream \
  -j 4 \
  --full-log

The final Docker image is vllm-node-qwen38-pr54129, and the running container is qwen38-flash-next. The local checkpoint is mounted read-only into the container.

Important runtime settings:

VLLM_USE_V2_MODEL_RUNNER=1
VLLM_PLE_MMAP=1
VLLM_PLE_MMAP_WORKERS=24
CUTE_DSL_ARCH=sm_121a

I started conservatively with 128K context, gpu-memory-utilization=0.75, prefix caching disabled, FlashInfer autotune disabled, and eager execution.

The mmap path is definitely active:

PLE mmap: layer 1 attached, 128 shards,
320001536 rows x 160 B
(47.68 GiB on disk)

PLE mmap: staging aggregate allocation 0.02 GiB

I also enabled reasoning parsing, tool calling and MTP2:

--reasoning-parser qwen3
--enable-auto-tool-choice
--tool-call-parser qwen3_coder
--speculative-config '{"method":"mtp","num_speculative_tokens":2}'

One minor shell pitfall: smart quotes copied into the JSON speculative config caused unexpected EOF while looking for matching quote. I ended up putting the complete vllm serve command in a separate serve.sh, validating it with bash -n, copying it into the container, and starting it with docker exec -d.

Current single-request coding workload is around 21–23 tok/s with MTP2. Recent speculative-decoding stats show mean acceptance lengths around 1.9–2.1 and roughly 45–57% draft acceptance. PLE mmap input preparation is around 3–4 ms median, with zero mmap errors.

PS: I didn’t run the standard vllm bench. I got the above numbers by testing it with a real coding question.

So far the single Spark setup is stable with reasoning, tools, MTP and the 47.68 GiB PLE table backed by NVMe instead of permanently consuming unified memory.

what kind of prefill speeds are you seeing?

Currently using it on ZCode to build html documents. Here are the speeds. It seems like I have 3000-4000 Tok/s profile now.

Every 2.0s:                                                                          gx10-3752: Fri Sep  4 00:15:52 2026

(APIServer pid=7) INFO 09-03 16:15:48 [loggers.py:310] Engine 000: Avg prompt throughput: 4369.1 tokens/s, Avg generatio
n throughput: 12.5 tokens/s, Running: 1 reqs, Waiting: 0 reqs, GPU KV cache usage: 18.3%, Prefix cache hit rate: 0.0%, M
M cache hit rate: 86.0%