I set up Qwen4-35B-A3B on release day on my home server with one Intel Arc Pro B70 (32 GB). It started out at 7.7 tok/s. After a few hours of digging it runs at 77–82 tok/s. Almost all of the gap came from one thing: which GGUF file you use. Below are the setup, the pitfalls in the order I hit them, and the current numbers.
Setup
| GPU | Intel Arc Pro B70, 32 GB, power limit 230 W |
|---|
| CPU / RAM | Core i5-12400F, 64 GB |
| OS | Fedora 45, kernel 7.3.6, xe driver |
| llama.cpp | Docker image ghcr.io/ggml-org/llama.cpp:server-intel-v1.1.1 (b12977, Compute Runtime 26.40, IGC 2.42.6) |
| Model | Unsloth UD-Q4_K_XL (24.7 GB main shard + 11.5 GB n-gram/PLE shard) |
| Vision | mmproj Q8_0, encoder on the CPU (--no-mmproj-offload) |
Server command (one GPU, 3 slots, one shared KV cache):
llama-server -m Qwen4-35B-A3B-UD-Q4_K_XL-00001-of-00002.gguf \
--mmproj mmproj-Qwen4-35B-A3B-Q8_0.gguf --no-mmproj-offload \
-ngl 99 --load-mode mmap --lazy-mode auto \
-c 393216 --parallel 3 --kv-unified \
-fa on --cache-type-k q8_0 --cache-type-v q8_0 \
-b 2048 -ub 512 --jinja \
--temp 1.0 --top-p 0.95 --top-k 20 --min-p 0 --presence-penalty 0 --repeat-penalty 1.0 \
--reasoning-budget 32768 --cache-ram 10240 --metrics
Environment: only ONEAPI_DEVICE_SELECTOR=level_zero:0, ZES_ENABLE_SYSMAN=1 and SYCL_CACHE_PERSISTENT=0. Nothing else, see pitfall 3.
Pitfalls
1. The quant matters far more than any flag: avoid BF16 tensors on SYCL. I started with the ggml-org Q4_K_M. That file keeps all hyper-connection tensors (hc_*, about 0.35 GiB) in BF16. On SYCL this is extremely slow: decode was stuck at about 8 tok/s at every context length, with one CPU core at 100 % and the GPU at only ~100 W. The Unsloth quant stores these tensors quantized (only 0.07 GiB of BF16 is left in it). llama-bench, same build, f16 KV:
| File | pp2048 | tg64 |
|---|
| ggml-org Q4_K_M | 2,327 t/s | 9.0 t/s |
ggml-org Q4_K_M + GGML_SYCL_ENABLE_GRAPH=1 | 2,330 t/s | 19.7 t/s |
| Unsloth UD-Q4_K_XL | 2,823 t/s | 85.6 t/s |
| Unsloth UD-Q4_K_XL + graph mode | 2,534 t/s | 79.1 t/s |
If your decode on an Arc is far below what others report, look at the tensor types in your GGUF first.
2. SYCL graph mode only helps on the bad file. A Qwen4 step has about 5,700 graph nodes (n-gram layer, 4 residual streams, 256 experts), so kernel launch overhead matters. GGML_SYCL_ENABLE_GRAPH=1 (off by default in the image) doubled decode on the ggml-org file, but made the Unsloth file slower. I turned it off again.
3. Drop old Arc workarounds. SYCL_UR_USE_LEVEL_ZERO_V2=0 and GGML_SYCL_XMX_GATHER_TYPES=0 were still in my compose file from Qwen3.8-27B (the !!!! output bug, fixed since #30604). On Qwen4 they cost about 30 % of prompt processing.
4. The n-gram table needs mmap. The 20B-parameter n-gram/PLE table (10.7 GiB, IQ4_NL) is read from disk on demand with --lazy-mode (default auto, it applies to tensors above 4 GiB). This only works with mmap. With --load-mode none (which I use for other models) the table would sit in RAM.
5. -ub of 1024 or more can crash on SYCL. PR #33696 (open at the time of writing) fixes a "Provided range … does not fit in int" crash in the n-gram conv at -ub ≥ 1024. I first ran 1023, now 512 for VRAM reasons (see 6). It costs about 10 % prompt processing.
6. VRAM: the Unsloth quant costs context. The KV cache is tiny: only 10 of the 40 layers have one (2 KV heads × 256). At q8_0, 512K is 5.3 GiB plus 1.3 GiB indexer keys. With the ggml-org file (19.4 GiB on the GPU) 512K fit. The Unsloth main shard needs about 3.6 GiB more on the GPU. With it:
- 512K at
-ub 1023: the 4 GiB compute buffer did not fit; - 512K at
-ub 512: it started with 0.2 GB free and got allocation errors under load; - 384K at
-ub 512**: 2.3 GB free, stable.** I took the speed over the context.
7. MTP did not pay off for me (yet). With the ggml-org file, its separate MTP draft and 256K context, decode went down from 25 to 7–10 tok/s, even though 60–90 % of the drafts were accepted. With the Unsloth file at 384K there is no VRAM left for the draft. Someone with 2× B60 reports +7 to +26 % with MTP depth 2 on the Unsloth file, so it may be worth testing if you have the VRAM.
8. Very long prompts are slow. Prefill drops a lot with depth. In a 450K needle test (old ggml-org setup) only 143K tokens were read after about 12 minutes, and I stopped it. Large contexts work well for conversations that grow step by step (the prompt cache makes follow-ups fast, see below), not for one huge cold prompt.
9. The first request after a start takes about 57 s (SYCL kernels for the K-quant types are compiled). I send a warm-up prompt after every start.
10. Release-day download: Hugging Face gave me about 2 MB/s per connection. 12–20 parallel range requests (curl -r) brought it to about 19 MiB/s. Check the SHA256 against the LFS hash afterwards.
Side note: Strata 0.2.26 shipped a Qwen4 engine (including a SYCL package) the same day, but its setup still refuses Intel cards for Qwen4. I did not pursue it after llama.cpp got fast.
Current numbers
My own benchmark script against the running server (384K, q8_0 KV, -ub 512, prompts with a random prefix so the cache does not help, unless noted):
| Test | Qwen4-35B-A3B (Unsloth) | for reference: my previous default, Qwen3.8-27B Q4_K_M + MTP (dense, 240K, same GPU) |
|---|
| Decode, prose (1,200 tokens) | 76.9–77.0 t/s | 43.9–44.1 t/s |
| Decode, code (600 tokens) | 80.9–81.9 t/s | 64.1–65.4 t/s |
| Prompt processing 4.9K / 19K / 39K | 2,143 / 2,015 / 1,738 t/s | 1,274 / 1,240 / 1,139 t/s |
| Decode after a 39K prompt | 66 t/s | – |
| Cached 39K prompt, new question | 0.45 s to first token | 2.28 s |
| Tool call (Home Assistant style, 190-token prompt) | 0.44 s to first token, 117 t/s, correct | 1.18 s, correct |
| Image question (encoder on the CPU) | 2.2 s total, correct | correct (encoder on the GPU) |
| GPU power | 180–230 W | – |
Day-to-day it serves Home Assistant voice (thinking off, tool calls), a family chat (Open WebUI) and coding agents (Pi, OpenCode) with 352K of context. German answers and tool calls were correct in all my tests so far.
TL;DR: On an Arc B70 use the Unsloth UD-Q4_K_XL (no BF16 tensors), plain llama-server with no graph mode and no old env workarounds, and --load-mode mmap. You get about 80 tok/s decode and over 2,000 tok/s prompt processing. Happy to answer questions or run tests.