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.