A generated title card for Qwen4-35B-A3B on a DGX Spark reading 'FP8 runs. NVFP4 does not.', with the QSA NVFP4 SM12x error strip and four stat cards: 39.7 GB FP8 weights, 8.2 GiB K/V cache at 0.75, 32.2 tok/s single stream, and a 1,048,576-token ceiling at 0.8.
Engineering & Research

Qwen4-35B-A3B on a DGX Spark: FP8 Runs, NVFP4 Does Not

Author

Rowan Sterling

Date Published

Models in this article · 1View all models →
Back to all posts

The first thing a DGX Spark does with Qwen4-35B-A3B, if you use the Blackwell settings that work on the rest of NVIDIA's line-up, is quit. Not slowly, and not with a warning: within a minute vLLM raises RuntimeError: QSA NVFP4 on SM12x requires cake_qsa_nvfp4 kernel sources and the server is gone. The model is fine. The default K/V cache dtype is not. GB10 reports compute capability 12.1, and the NVFP4 kernel set shipped in the model's container is built for a fixed list of architectures that ends at SM120a, with an exact-match requirement that leaves 12.1 outside.

On 4 December a vLLM contributor, kihan-lee, merged the workaround into the project's model recipes: 25 added lines in one YAML file that register dgx_spark_gb10 as a verified target for Qwen4-35B-A3B-FP8 and switch the K/V cache to FP8. The model itself is only a day old — Qwen4-35B-A3B was published on 3 December at 02:45 UTC and announced on 4 December — so this is not a stale model being revived by infrastructure work. It is the first set of numbers anyone has published for running the new model on a single desktop Blackwell box, including the parts that do not work.

What the merged recipe changes

The diff is small enough to read in a minute, which is the point. The recipe's metadata gains dgx_spark_gb10: verified; the FP8 variant's supported-hardware list gains the same name alongside H100, H200, B200, GB200, B300, GB300, RTX PRO 6000, MI350X, MI355X and M890; and a GB10 strategy override adds two flags with a comment on each: --kv-cache-dtype fp8 because NVFP4 is unsupported on SM121, and --gpu-memory-utilization 0.75 because GPU and CPU draw from one unified pool. The guide text changes one sentence — "H100 and DGX Spark (GB10) fit the FP8 checkpoint" — and two troubleshooting entries cover the NVFP4 error and a startup timeout.

Everything else is inherited from the existing release recipe: the vllm/vllm-openai:qwen4 arm64 image, prefix caching, the tool and reasoning parsers, and a speculative-decoding block using the model's multi-token-prediction head with three draft tokens. The author ran it twice on his own Spark, with vLLM 0.1.dev26393, torch 2.14.0+cu132 and FlashInfer 0.7.6, and got a serving endpoint both times.

A screenshot of the vLLM recipes page for Qwen4-35B-A3B showing 35B with 3B active, a 1,048,576-token context, multimodal input, the official FP8 variant at 39.7 GB of weights plus a 20.5 GB n-gram table, and DGX Spark (GB10) 128GB listed among the supported NVIDIA GPUs.

What the PR is not is a benchmark. It is a functional check with a throughput run attached: health and model-list responses, thinking on and off, a tool call, a solid-red image, recall at three prompt lengths, and a concurrency sweep. The distinction matters because the numbers below come from one machine, one container build and one checkpoint revision, tested by the person proposing the change. vLLM's review checked the recipe's structure and its agreement with published commands for other hardware; nobody independently reproduced the throughput.

Why NVFP4 fails on GB10

The error is worth reading closely, because it is more specific than "unsupported GPU". The cake_qsa_nvfp4 kernels in that image are built for SM80, SM90a, SM100a, SM103a and SM120a. The package documentation says the kernels require an exact capability match, and 12.1 is not in the list. GB10 is SM121, so the attention path that the Blackwell recipe selects by default has no binary to run. Switching the K/V cache to FP8 routes around the missing kernels entirely, and the server starts.

A screenshot of the merged vLLM pull request 71760 showing the title adding DGX Spark GB10 support for Qwen4-35B-A3B, a Merged badge, 25 additions and 2 deletions in one file, the QSA NVFP4 SM12x runtime error, and the kernel list ending at sm_120a with 12.1 excluded.

The scope of the failure is narrower than headlines about "NVFP4 not working" would suggest. It is the K/V cache, not the weights. A separate operator's published notes on the same hardware describe running an NVFP4 checkpoint of Qwen4-35B-A3B at 43.7 GB and hitting the same kernel-build failure only when the K/V cache was set to NVFP4; FP8 fixed it there too. Community day-zero recipe repositories make the same distinction, noting that some SM120 kernels do run on the Spark while part of the FlashInfer stack just-in-time compiles an SM121a variant on first start. So the accurate statement is: the FP8 K/V path works today, the NVFP4 K/V path does not, and whether the missing kernels arrive is a packaging question rather than a hardware limitation.

FP8 costs something. A K/V cache entry takes twice the bytes it would at FP4, so for the same memory budget you can hold roughly half as many tokens. That is the trade the recipe makes, and it is why the memory settings matter more on this box than on a GPU with its own 80 or 140 GB.

The memory arithmetic on 121.6 GiB

NVIDIA sells the DGX Spark with 128 GB of unified memory; vLLM reported 121.6 GiB usable on the test machine. That single pool holds the weights, the K/V cache, the pinned host buffers and the operating system, which is why the recipe does not use a datacenter-style 0.9 utilisation. The author's machine also had about 20 GiB in use by other processes before vLLM started.

The FP8 checkpoint is 39.7 GB of weights plus a 20.5 GB n-gram table, and the table is offloaded to host memory by default. In that image it occupies a 32.00 GiB pinned mapping — larger than the table itself — and after loading, vLLM held 78.5 GiB in total, of which 37.4 GiB was weights. The rest was mostly pinned host memory. The BF16 checkpoint is not an option here: 72.7 GB of weights plus a 41 GB n-gram table is 113.7 GB, which leaves too little for a K/V cache on a 121.6 GiB machine. The author tested FP8 only and says so.

Three utilisation settings bracket the decision:

• 0.5 — no K/V cache fits, startup fails with 19.34 GiB short; this is also the run that produced the 600-second timeout described below.

• 0.75 — 8.2 GiB of K/V cache, max_model_len auto-selected between 668,032 and 702,848 across two starts, and 10 to 11 GiB of host memory left available while serving. This is the recipe's value and the one used for all the functional checks.

• 0.8 — 13.8 GiB of K/V cache, the full 1,048,576-token window, but only about 5 GiB left for the host. The author verified startup at 0.8 but did not serve the checks there.

That is the real shape of "1M context on a Spark": it fits, at 0.8, with roughly 5 GiB of host headroom on a machine that freezes under memory pressure. At the safer 0.75 the automatic ceiling lands near 700,000 tokens, still far past most workloads. The PR also notes an open upstream change, #59848, that the author expects to free about 11 GiB for the K/V cache by changing how the n-gram table is stored on unified-memory devices. That is an expectation about unmerged work, not a measured result.

32 tokens a second, 209 at batch 32

Decode throughput averaged 32.2 output tokens per second at concurrency 1, 133.6 at concurrency 8 and 209.7 at concurrency 32, with 256 output tokens per request and thinking off. The speculative head helped: mean acceptance length ranged from 1.86 to 2.81 across 27 log intervals, which is real but not dramatic.

The single-stream number is the one to internalise, because it is what interactive use feels like. The arithmetic explains it without excusing it. At FP8, a 3B-active model reads on the order of 3 GB of weights for every token, and the Spark's memory bus is rated at 273 GB/s. Divide one by the other and the ceiling is roughly 90 tokens a second before any overhead; 32 is what survives after attention, the n-gram lookup and batching logic take their share. At concurrency 32 the weight read is amortised across 32 sequences, which is why throughput rises 6.5× while per-stream latency stays usable — the classic shape of a memory-bandwidth-bound mixture-of-experts model, not a compute-bound one.

Long-context behaviour looked correct in the checks. The author retrieved a code word from the middle and the end of prompts at roughly 3k, 31k and 126k tokens, and all six answers were right. The timings also show prefix caching doing its job: at 126k tokens, the middle-of-prompt question took 35.72 seconds, while the end-of-prompt question on what is largely the same prefix took 0.76 seconds.

The 600-second startup trap

The first start after downloading the checkpoint failed with engine input registration timed out after 600s, on the 0.5 utilisation run, before vLLM had even sized the K/V cache. The cause turned out to be the interaction between the filesystem page cache and unified memory. The author alternated six starts, reading the checkpoint into cache on some and dropping caches with sync; echo 1 > /proc/sys/vm/drop_caches on others.

With 65 GB of checkpoint cached, time to a healthy /health was 449, 739 and 233 seconds, engine initialisation took 147 to 652 seconds, and the kernel's memory-pressure stall metric peaked at 84 to 87%. With the page cache dropped to about 7 GB, health arrived in 169, 171 and 175 seconds, initialisation took 84 to 86 seconds, and pressure peaked below 4%. Model loading was 58 to 61 seconds in all six runs, so the variable was never disk read speed in the naive sense; it was contention between a cached copy of the checkpoint and the pinned buffers the engine needs.

The recipe's troubleshooting entry recommends raising VLLM_ENGINE_READY_TIMEOUT_S to 1800, or dropping the page cache first. Both work. If you script a restart loop, the second is the one that gives you a predictable two-to-three-minute boot instead of an eleven-minute one.

Two ways to run it on one Spark

There are now two credible configurations, and they are not a controlled comparison — different checkpoint, different settings, different operator, different day.

• FP8, everything resident — 39.7 GB of weights, 20.5 GB n-gram table in pinned host memory, 8.2 to 13.8 GiB of FP8 K/V cache, 668,000 to 1,048,576 tokens of context, about 32 tokens a second single-stream. No SSD requirement. This is the merged recipe.

• NVFP4 weights with the n-gram table on disk — a 43.7 GB checkpoint that settles at about 24.8 GiB resident after offloading roughly 19 GB of n-gram data to local NVMe, about 262,144 tokens of context at 0.34 utilisation, and 44 to 52 tokens a second in that operator's tests. It needs an SSD, and the write-up warns that a watchdog kills the container below 10 GiB free because the machine tends to freeze under pressure.

The second route is faster and smaller, and it exists despite the NVFP4 K/V bug because the weights can be NVFP4 while the cache stays FP8. The first route is simpler and officially verified. Neither is a vendor claim: one is a merged pull request with its author's measurements, the other is a practitioner's notes. If you need a number to plan against, plan against the lower one.

A generated scoreboard for Qwen4-35B-A3B on DGX Spark listing FP8 weights 39.7 GB, n-gram table 20.5 GB, K/V cache at 0.75 utilisation 8.2 GiB, context 668,032 to 702,848 at 0.75 and 1,048,576 at 0.8, and throughput 32.2 against 209.7 tokens per second, with a footer saying the figures are the pull request author's measurements, not an independent benchmark.

Run it locally, or call an API?

The local case is strongest when the data cannot leave the building, when the workload is batch and can use the 209-token-a-second aggregate, or when you already own the Spark and the marginal cost is electricity. The local case is weakest for interactive single-stream chat, where 32 tokens a second is roughly two to three times slower than a hosted endpoint running the same model on datacenter silicon.

Worth being precise about what is hosted. OrcaRouter does not serve Qwen4-35B-A3B today. The closest thing on our catalogue is Qwen4-Max, the flagship of the same generation, with a 1,000,000-token window and up to 65,536 output tokens, priced at $1.50 per million input and $4.50 per million output with provider list price passed through at 0% markup. A workload that outgrows one Spark can move to it on the same key, and OrcaRouter's automatic failover means a single unhealthy provider does not take the call down with it. That is a routing decision, not a claim that a 35B desktop model and a flagship are interchangeable — they are not, and the price difference says so.

For a fair local comparison, price the whole box against the tokens you will actually generate. At 32 tokens a second, an hour of continuous single-stream generation is about 115,000 tokens. Whether that is cheap depends on what you paid for the hardware and what you would otherwise pay per million; the point is that the Spark is a fixed cost and the API is a variable one, and the crossover sits much further out than the throughput number alone suggests.

What is still unmeasured

Nobody has published an independent evaluation of Qwen4-35B-A3B running on GB10. The merged recipe proves the server starts, answers, calls tools, sees images and recalls a code word at 126k tokens; it does not measure whether FP8 on this hardware degrades answer quality, and it does not compare the Spark's output against the same checkpoint on an H200. The BF16 path was not tested because it does not fit. The RTX PRO 6000 path was not tested because the author did not have the card. The NVFP4 K/V path will presumably work whenever the kernel package adds an SM121a build, and when that happens the FP8 compromise — and half the context ceiling — disappears.

Until then the practical summary is unusually concrete: one flag decides whether the model runs at all, a second decides whether it runs with 700,000 tokens of context or a million, and a third decides whether the machine boots in three minutes or eleven. If you have a Spark and were waiting for someone else to hit the wall first, this is that report.