Files
cookbook/arc-pro-b65/qwen3.5-9b/llama.cpp-single-user.md
T
ClaudeandClaude Opus 5.5 562c7f2fb8
ci / check (push) Successful in 10s
One folder per GPU, with a GPU index in the top-level README
Recipes, tried logs and result folders move under <gpu>/: recipes at
<gpu>/<model>/<engine>-<profile>.md, tried logs at <gpu>/<model>/tried.md,
runs at <gpu>/results/<run>/. build generates a README for every GPU in
cookbook.toml and the GPU table in README.md. validate checks that a run
sits in the folder of the GPU it ran on and warns about stray top-level
folders. Format docs and host setup move to docs/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 15:38:54 +01:00

3.4 KiB

+++ title = "Qwen3.5-9B on Arc Pro B65 with llama.cpp, single user" summary = "The simplest fast setup: one container, one GGUF file, no speculative decoding." model = "Qwen3.5-9B" quant = "Q4_K_M" kv = "q8_0" engine = "llama.cpp" gpu = "Arc Pro B65" profile = "single-user" spec = "none" thinking = "default" results = ["261019_demo_qwen3.5-9b_llama.cpp_1x-arc-pro-b65"] +++

One user, one conversation at a time, as fast as llama.cpp's SYCL backend goes on this card. If you can run vLLM, its recipe with speculative decoding is faster; this one is easier to set up and starts in seconds.

Demo data. These numbers are synthetic, made by tools/demo/make_demo.py to show the layout. Nothing here was measured.

decode at batch 1: 64.0 t/s · one submitter · 1 run

metric first run
decode at batch 1 (median) 64.0 t/s
time to first token (median) 95 ms
concurrency, aggregate 1: 63 · 2: 64 · 4: 62 · 8: 64 t/s
prefill 2k: 3,408 · 8k: 2,516 · 16k: 2,076 · 32k: 1,632 t/s
memory bandwidth reached 68% of 532 GB/s measured
decode energy 2.35 J/token at 148 W
run submitter date decode at batch 1 TTFT report
261019_demo_qwen3.5-9b_llama.cpp_1x-arc-pro-b65 demo 2026-10-19 64.0 t/s 95 ms html

Reproduce it: start the server with the launch command below, save that command as server-cmd.txt, then run bench-standard:

./bench.sh --endpoint http://localhost:8080/v1 --model qwen3.5-9b \
  --tp 1 --pp 1 --quant Q4_K_M --kv q8_0 --spec none --thinking default \
  --submitter YOUR_NAME --server-cmd-file server-cmd.txt --full

Requirements

  • An Arc Pro B65, with the host set up as in host setup
  • Docker
  • The standard model file (5.7 GB):
hf download unsloth/Qwen3.5-9B-GGUF Qwen3.5-9B-Q4_K_M.gguf --local-dir /models
sha256sum /models/Qwen3.5-9B-Q4_K_M.gguf   # 03b74727a860a563...

Launch

docker run --rm --name llm --device /dev/dri -v /models:/models -p 8080:8080 \
  -e ZES_ENABLE_SYSMAN=1 \
  ghcr.io/ggml-org/llama.cpp:server-intel@sha256:0000000000000000000000000000000000000000000000000000000000000000 \
  -m /models/Qwen3.5-9B-Q4_K_M.gguf --alias qwen3.5-9b \
  -ngl 99 -c 32768 -np 1 -fa on -ctk q8_0 -ctv q8_0 -b 2048 -ub 512 \
  --host 0.0.0.0 --port 8080

Why these flags

flag why
-ngl 99 every layer on the GPU
-np 1 one slot: the whole context belongs to one conversation
-fa on flash attention; llama.cpp needs it for a quantized V cache. Off is slower, see what lost
-ctk q8_0 -ctv q8_0 half the KV cache memory of f16
-b 2048 -ub 512 prompt batch sizes; they matter for prefill, not for decode
ZES_ENABLE_SYSMAN=1 lets the SYCL backend read the free GPU memory through Level Zero

Check it

curl -s localhost:8080/v1/chat/completions -H 'Content-Type: application/json' \
  -d '{"model":"qwen3.5-9b","messages":[{"role":"user","content":"Say hi"}]}'

Pitfalls

  • Without --device /dev/dri the container falls back to the CPU without an error. The server log should list the Arc GPU as a SYCL device.
  • The image tag server-intel moves daily. Keep the digest so you run the build that was measured.