ci / check (push) Successful in 10s
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>
90 lines
3.4 KiB
Markdown
90 lines
3.4 KiB
Markdown
+++
|
|
title = "Qwen3.8-27B on Arc Pro B65 with llama.cpp, single user"
|
|
summary = "The 27B in one GGUF file with a q8_0 KV cache, no speculative decoding."
|
|
model = "Qwen3.8-27B"
|
|
quant = "UD-Q4_K_M"
|
|
kv = "q8_0"
|
|
engine = "llama.cpp"
|
|
gpu = "Arc Pro B65"
|
|
profile = "single-user"
|
|
spec = "none"
|
|
thinking = "default"
|
|
results = ["261021_demo_qwen3.8-27b_llama.cpp_1x-arc-pro-b65"]
|
|
+++
|
|
|
|
The 27B fits the B65's 32 GB with room for a 32k context. Decode is bound by memory
|
|
bandwidth: compare the bandwidth figure below with the card's 608 GB/s.
|
|
|
|
<!-- cookbook:numbers -->
|
|
> **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: 22.6 t/s** · one submitter · 1 run
|
|
|
|
| metric | first run |
|
|
|---|---|
|
|
| decode at batch 1 (median) | 22.6 t/s |
|
|
| time to first token (median) | 210 ms |
|
|
| concurrency, aggregate | 1: 22 · 2: 22 · 4: 24 · 8: 23 t/s |
|
|
| prefill | 2k: 975 · 8k: 727 · 16k: 597 · 32k: 472 t/s |
|
|
| memory bandwidth reached | 70% of 532 GB/s measured |
|
|
| decode energy | 7.17 J/token at 160 W |
|
|
|
|
| run | submitter | date | decode at batch 1 | TTFT | report |
|
|
|---|---|---|---|---|---|
|
|
| `261021_demo_qwen3.8-27b_llama.cpp_1x-arc-pro-b65` | demo | 2026-10-21 | 22.6 t/s | 210 ms | [html](../results/261021_demo_qwen3.8-27b_llama.cpp_1x-arc-pro-b65/261021_demo_qwen3.8-27b_llama.cpp_1x-arc-pro-b65.html) |
|
|
|
|
Reproduce it: start the server with the launch command below, save that command as `server-cmd.txt`, then run [bench-standard](https://git.linxweiler.xyz/miga/benchmarks):
|
|
|
|
```sh
|
|
./bench.sh --endpoint http://localhost:8080/v1 --model qwen3.8-27b \
|
|
--tp 1 --pp 1 --quant UD-Q4_K_M --kv q8_0 --spec none --thinking default \
|
|
--submitter YOUR_NAME --server-cmd-file server-cmd.txt --full
|
|
```
|
|
<!-- /cookbook:numbers -->
|
|
|
|
## Requirements
|
|
|
|
- An Arc Pro B65, with the host set up as in [host setup](../../docs/host-setup.md)
|
|
- Docker
|
|
- The standard model file (16.5 GB). The repo has no plain Q4_K_M, only Unsloth's `UD-Q4_K_M`:
|
|
|
|
```sh
|
|
hf download unsloth/Qwen3.8-27B-GGUF Qwen3.8-27B-UD-Q4_K_M.gguf --local-dir /models
|
|
sha256sum /models/Qwen3.8-27B-UD-Q4_K_M.gguf # 322e194ff79741c7...
|
|
```
|
|
|
|
## Launch
|
|
|
|
```sh
|
|
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.8-27B-UD-Q4_K_M.gguf --alias qwen3.8-27b \
|
|
-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; needed for the quantized V cache |
|
|
| `-ctk q8_0 -ctv q8_0` | half the KV memory of f16; f16 was no faster, see [what lost](tried.md) |
|
|
| `-b 2048 -ub 512` | prompt batch sizes; `-ub 1024` only helps prefill |
|
|
| `ZES_ENABLE_SYSMAN=1` | lets the SYCL backend read the free GPU memory through Level Zero |
|
|
|
|
## Check it
|
|
|
|
```sh
|
|
curl -s localhost:8080/v1/chat/completions -H 'Content-Type: application/json' \
|
|
-d '{"model":"qwen3.8-27b","messages":[{"role":"user","content":"Say hi"}]}'
|
|
```
|
|
|
|
## Pitfalls
|
|
|
|
- At the default power limit the card can throttle during long prefills. The report
|
|
shows the clock over the run; record the limit you ran at.
|
|
- The vLLM recipe for this model is much faster at batch 1 because of speculative decoding.
|