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>
3.8 KiB
+++ title = "Qwen3.8-27B on Arc Pro B65 with vLLM, single user" summary = "The fastest 27B setup for one user: INT4 weights plus MTP speculative decoding." model = "Qwen3.8-27B" quant = "w4a16" kv = "fp16" engine = "vllm" gpu = "Arc Pro B65" profile = "single-user" spec = "mtp:5" thinking = "default" results = [ "261022_demo_qwen3.8-27b_vllm_1x-arc-pro-b65", "261026_demo-2_qwen3.8-27b_vllm_1x-arc-pro-b65", ] +++
The INT4 checkpoint with its MTP head drafting 5 tokens per step. Two submitters ran it and agree within 5%, so it counts as verified. MTP 3 and 7 were both slower, see what lost.
Demo data. These numbers are synthetic, made by
tools/demo/make_demo.pyto show the layout. Nothing here was measured.
decode at batch 1: 84.5 t/s · verified by 2 · 2 runs
| metric | first run |
|---|---|
| decode at batch 1 (median) | 84.5 t/s |
| time to first token (median) | 191 ms |
| concurrency, aggregate | 1: 82 · 2: 84 · 4: 85 · 8: 84 t/s |
| prefill | 2k: 1,523 · 8k: 1,125 · 16k: 930 · 32k: 732 t/s |
| memory bandwidth reached | n/a: speculative decoding makes several tokens per pass over the weights |
| decode energy | 2.55 J/token at 172 W |
| run | submitter | date | decode at batch 1 | TTFT | report |
|---|---|---|---|---|---|
261022_demo_qwen3.8-27b_vllm_1x-arc-pro-b65 |
demo | 2026-10-22 | 84.5 t/s | 191 ms | html |
261026_demo-2_qwen3.8-27b_vllm_1x-arc-pro-b65 |
demo-2 | 2026-10-26 | 81.3 t/s | 196 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:8000/v1 --model qwen3.8-27b \
--tp 1 --pp 1 --quant w4a16 --kv fp16 --spec mtp:5 --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 checkpoint (the whole repo, 18.9 GB):
hf download RedHatAI/Qwen3.8-27B-INT4 --local-dir /models/RedHatAI/Qwen3.8-27B-INT4
cd /models/RedHatAI/Qwen3.8-27B-INT4 && sha256sum *.safetensors | LC_ALL=C sort -k2 | sha256sum
# bffa6b23fa11be55...
Launch
docker run --rm --name llm --device /dev/dri --ipc=host -v /models:/models -p 8000:8000 \
intel/vllm:0.30.0-xpu@sha256:0000000000000000000000000000000000000000000000000000000000000000 \
vllm serve /models/RedHatAI/Qwen3.8-27B-INT4 --served-model-name qwen3.8-27b \
--dtype float16 --max-model-len 32768 --max-num-seqs 1 --gpu-memory-utilization 0.92 \
--speculative-config '{"method":"mtp","num_speculative_tokens":5}' \
--host 0.0.0.0 --port 8000
Why these flags
| flag | why |
|---|---|
--speculative-config mtp, 5 tokens |
the sweet spot here: 3 drafts too few, 7 are rejected too often |
--max-num-seqs 1 |
one sequence: all KV memory and scheduling for one user |
--gpu-memory-utilization 0.92 |
the weights take most of the 32 GB; this leaves the KV cache enough for 32k |
--dtype float16 |
activations and KV cache in fp16 |
--ipc=host |
vLLM's processes share memory through /dev/shm |
Check it
curl -s localhost:8000/v1/chat/completions -H 'Content-Type: application/json' \
-d '{"model":"qwen3.8-27b","messages":[{"role":"user","content":"Say hi"}]}'
Pitfalls
- More than one user at a time queues behind
--max-num-seqs 1. For several users, take the throughput recipe. - The first start compiles kernels and takes several minutes.