Native vLLM for RTX Spark on Windows ARM64 (w/Qwen3.8-Flash-Next-FP4-Local)

Hi everyone,

I’ve released a native Windows ARM64 port of vLLM for RTX Spark N1X. No Linux or WSL is needed.

It is based on vLLM 0.32.0 and myllmbox’s v5.3.1 recipe, and currently supports NVIDIA’s Qwen3.8-Flash-Next-FP4-Local.

On my RTX Spark, I measured 53.2 tokens/s in the SPEED-Bench coding test across 80 conversations.

Source code, prebuilt packages, and benchmark results are available here:

This is an early preview. Feedback, bug reports, and test results from other RTX Spark users are welcome!

Thanks a lot for the 1st effort to get something useful on our new RTX Sparks! Though working with Windows for quite some time, I´m not really familiar with CLI side as I´m usually on WSL for that.

First hurdle was that the install script doesn´t work on the preinstalled PowerShell 5 due to some escaping in the script. It works with the newest version 7 though. You might document that in your repo.

Then I got it running, but was never able to have more than 9 GB for KV cache. So I´m wondering how you got to higher values (I also tried it with the latest version from your repo as of yesterday and my memory setting is even lower than your lowest configuration). Once the LLM is up and running I have almost 10 GB free, but if I increase the KV cache allocation it stops with an OOM. Is there some extra trick that I need to use?

Thanks for testing! I found the PowerShell 5.1 quoting issue in install.ps1 and fixed it.

The configs target the N1X 128GB model. Please set dedicated GPU memory to 96GB. This leaves about 32GB for Windows.

Also set the Windows paging file to:

  • Initial size: 98304 MB
  • Maximum size: 131072 MB

Restart Windows after applying these settings.

CUDA allocations also use Windows system commit. This can cause OOM errors even when GPU memory is still free. I reported this in my earlier thread.

Please try these settings. If it still fails, share the full OOM message.

Sorry, should have mentioned that I’m also on N1X with 128 GB in a 32/96 configuration.

Good news: with the page file settings you mentioned I got all your configs running - at least that is what my agent says checking it out throughout the night. I will run some more tests myself later. But this looks great so far, thanks a lot!

Had it running now for a while, and it has been working very well. I used Terminal Eval Bench (quite popular in the DGX Spark section), got 90/100 for quality (that’s very good for the footprint of the model) and can confirm roughly 52-53 token/s. 👍🏻

Thanks for your feedback!

I’ve made some performance improvements in the latest update.

  • SPEED-Bench: 53.20 → 70.44 tokens/s (+32%)

  • AA-AgentPerf: 847 → 735 seconds (-13%)

Feel free to try the latest version and share your results!

How does the speed directly compare to a wsl run vllm?

I haven’t tested WSL2 performance directly yet, but our native Windows build has a few advantages:

  1. No extra memory overhead from WSL2.

  2. WSL2 has limited CUDA Unified Memory support. On my RTX Spark, nvidia-smi in WSL2 only shows 96GB, which is the dedicated GPU memory I set in Windows.

  3. Our build is tuned specifically for RTX Spark on Windows ARM64.

So I think our native build may be a better choice, but we still need benchmarks to confirm.

Thank you for making this! I’m excited to give it a try.
I haven’t tried WSL based VLLM yet either, but from testing I saw by Alex Ziskind on youtube, VLLM was coming in much slower in WSL.

I’m new to Windows (coming from Linux), and it seems a little tricky to find the right models to run in LMStudio. It seems like nvfp4 models are vllm optimized. Those models are the ones that are going to give us the best speed.

Have you been able to find any qwen 3.8 flash next in nvfp4 that fits on our machines? I’ll take some ngram offload if we can at least run it.

Thanks! My vllm-for-rtx-spark project already supports NVIDIA’s Qwen3.8-Flash-Next-FP4-Local, including NVMe offloading for the n-gram embeddings.

I’ve already implemented several optimizations specifically for this model, and I plan to support more models in the future.

Please check out the README.md for setup instructions and performance benchmarks, and give it a try!

Hey mate. Just to let you know this works great. Thank you so much for putting in the time to get it working.

I had previously benchmarked a large research dataset on wsl vllm on an asus pro art rtx 128gb laptop.

I reran with the native windows vllm at 1000 concurrency however it was a lot slower. I asked claude to find improvements. It’s now running much faster than wsl. Everything below is written up and published by claude.

Using devjeonghwan’s native Windows build, vllm-for-rtx-spark (v0.1.2, vLLM 0.32.0), with the same model (RedHatAI/gemma-4-12B-it-FP8-dynamic), 60 GiB FP8 KV cache, async scheduling and xxhash prefix hashing:

  • WSL2, best setup: ~200 records/min (whole-run average)
  • Native Windows, as shipped: ~146 records/min
  • Native Windows + two fixes: ~230 records/min, 13% faster than WSL2, accuracy unchanged within run-to-run noise

Fix 1: torch.compile is off in the build. It sets VLLM_USE_BREAKABLE_CUDAGRAPH=1, which makes vLLM force compilation off. VLLM_USE_BREAKABLE_CUDAGRAPH=0 turns it back on (Inductor works through triton-windows).

Fix 2: the FP8 matmul isn’t fused on sm_121. CUTLASS FP8 reports no sm_121 support in the build, so vLLM falls back to ChannelWiseTorchFP8ScaledMMLinearKernel, which writes fp32 and applies the per-token/per-channel scales in separate passes. On this bandwidth-limited GPU that costs more than the matmul. Row-wise _scaled_mm isn’t supported on sm_121 either. I wrote a Triton FP8 GEMM with the scales in the epilogue (fixed tiles so it can go in CUDA graphs). At Gemma 4 12B shapes, 32k tokens: gate_up 133 ms → 47.7 ms (cuBLAS per-tensor ceiling 42.8), down 31.7 → 24.3, o_proj 17.0 → 6.0. Same error as the stock path.

Kernel + installer (patches vLLM only when VLLM_RTX_FP8_FUSED=1, with self-test and --undo), Apache 2.0:

Start-up errors with non-Qwen models on vllm-for-rtx-spark, in case anyone hits them:

  • KeyError: 'MBX_DEPTH_LIB' → set MBX_DEPTH_LIB to a path that doesn’t exist
  • ModuleNotFoundError: No module named 'cutlass' → VLLM_DISABLED_KERNELS=B12xTensorFP8ScaledMMLinearKernel,B12xFp8BlockScaledMMKernel
  • UnicodeEncodeError logging to a file → PYTHONUTF8=1

Other things that mattered (on WSL2 too):

  • The laptop’s power profile: ASUS ships it on Standard (45 W for the whole chip). Performance/Manual in ProArt Creator Hub took a matmul test from 54.7 to 66.4 TFLOPS. Also watch for the stuck low-power state (~1 GHz, ~22 W under load) that some DGX Spark / GX10 owners have reported; a full shutdown with the charger unplugged cleared it.

Full write-up with tables, settings and cost comparison:

Just wanted to say “thank you” - works great!

I’ll test how much this improves performance with our current default model, Qwen3.8-Flash-Next. I’ll also use your repo to add Gemma 4 12B FP8 support to the project.

Thanks for your contribution!

Thanks @michael.valente for the detailed WSL2 vs native comparison and the FP8 kernel work, and thanks @dev.parkjeonghwan for folding it into the project.

To summarize for anyone landing here later:

  • Model fit: the project already supports NVIDIA’s Qwen3.8-Flash-Next-FP4-Local on 128 GB N1X systems with a 32/96 split, with NVMe offload for the n-gram embeddings. Use the dedicated GPU memory and paging-file settings from post #4 to avoid commit-related OOMs.
  • WSL2 vs native: post #13 has the first measured comparison. On that workload, native was slower as shipped. With VLLM_USE_BREAKABLE_CUDAGRAPH=0 and the fused FP8 kernel, it ran about 13% faster than WSL2.
  • Power profile: on OEM laptops, check that the power profile isn’t limiting the chip before benchmarking.

If anyone retests Qwen3.8-Flash-Next with these changes, please share your numbers here.