Qwen3.8-Flash-Next-NVFP4 on Spark and advice for getting started on hosting models?

Goal
Hosting qwen3.8 on NGX spark using VLLM and docker

**Question
**
I recently got my hands on a DGX spark and I have two questions:

  1. What are resources to bring folks up to zero to hero on hosting HF models on a NGX spark?
  2. Should I be hosting models with vllm or is another approach recommended for max model performance/context size/etc?

```
services:
qwen38-flashnext:
image: vllm/vllm-openai:latest
container_name: vllm-qwen38-flashnext

deploy:
  resources:
    reservations:
      devices:
        - driver: nvidia
          count: all
          capabilities: [gpu]

environment:
  - NVIDIA_VISIBLE_DEVICES=all
  - NVIDIA_DRIVER_CAPABILITIES=compute,utility,video

# Mount the model 
  - /workspace/models/qwen38-flashnext:/models/qwen38:ro

ports:
  - "8000:8000"

shm_size: "1g"
ulimits:
  memlock: -1
  nofile: 65536

# IMPORTANT: my old pattern 
command: >
  /models/qwen38
  --trust-remote-code
  --tensor-parallel-size 1
  --attention-backend flashinfer
  --moe-backend marlin
  --kv-cache-dtype bfloat16
  --gpu-memory-utilization 0.92
  --max-model-len 262144
  --max-num-seqs 1
  --enable-chunked-prefill
  --enable-prefix-caching
  --load-format fastsafetensors
  --enable-auto-tool-choice
  --tool-call-parser qwen3_coder
  --host 0.0.0.0
  --port 8000

I can get this to work, but I strongly suspect some of these flags are not viable. If there is specific image or approach in baking our own dockerfile based on optimized models, then I am all ears.

Thanks

References
-local-llm-agentic-workflows
-hf qwen38

Take a look at this repository. This is the best way to start hosting models on your DGX spark: GitHub - eugr/spark-vllm-docker: Docker configuration for running VLLM on dual DGX Sparks · GitHub . EUGR has a good recipe for qwen 3.8 next for a single spark.

You can have it running as easily as running:

git clone https://github.com/eugr/spark-vllm-docker.git
cd spark-vllm-docker
./run-recipe.sh recipes/qwen3.8-flash-next-nvfp4-solo.yaml --setup

I tried using this recipe yesterday but kept running into oom issues. The model starts to load OK, but hits oom during B12x autotune. I tried dropping MTP and changing max-model-len but still crashes.

Not sure if this is something off with my config, but would love to hear if anyone else has got this recipe working lately. I usually have zero problems with eugr’s spark-vllm-docker (and sparkrun) which have made loading these models super easy, so thinking it is likely something I am doing wrong.

Try with eager mode, turn off instanttensor if any, low context, utilization around .85 to be safe. If still worse, disable MTP or lower MTP.

Once it serves successfully, you can enable CUDA, increase context size… Turn on settings one after one.

i can recommend you this recipe - GitHub - blazux/qwen3.8-Flash-DGX: recipe for running Qwen3.8-Flash-Next on a single DGX Spark · GitHub

Quality is good (even when using hybrid-mtp) and it is speed is fine as well

The second one I like is GitHub - tonyd2wild/Qwen3.8-Flash-Next-NVFP4-DGX-Spark: Qwen3.8-Flash-Next (NVFP4) on DGX Spark in vLLM: one Spark 43.9 tok/s with our disk-backed n-gram table patch, staged gather and reduced-vocab MTP draft; TP2 SPEED 53.7; TP4 CONTEXT 9M KV pool. Launchers, patch, 40-prompt harness, KV ledger, credits. SGLang TP2 day-0 lane kept. · GitHub -it uses official NVIDIA model quant - quality is slightly better but speed suffers a bit

I also recommend following my guide

The serving guides are designed to work with the environment set up using NVIDIA’s official Playbook. First, follow the official NVIDIA clustering guide linked in the main README to set up your DGX Spark environment. Once the setup is complete, you can follow the model-specific serving guide in my repository to serve the model.

Here is the recipe I used for deployment of this model