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>
70 lines
2.6 KiB
Markdown
70 lines
2.6 KiB
Markdown
+++
|
|
title = "Qwen3.5-9B on Arc B580 with llama.cpp, single user"
|
|
summary = "The 9B on the 12 GB consumer card: the same command as on the B65."
|
|
model = "Qwen3.5-9B"
|
|
quant = "Q4_K_M"
|
|
kv = "q8_0"
|
|
engine = "llama.cpp"
|
|
gpu = "Arc B580"
|
|
profile = "single-user"
|
|
spec = "none"
|
|
thinking = "default"
|
|
results = ["261024_demo_qwen3.5-9b_llama.cpp_1x-arc-b580"]
|
|
+++
|
|
|
|
The 5.7 GB model plus a 32k q8_0 KV cache fit in 12 GB. Decode scales with the
|
|
card's memory bandwidth: 456 GB/s here, 608 GB/s on the B65.
|
|
|
|
<!-- 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: 48.2 t/s** · one submitter · 1 run
|
|
|
|
| metric | first run |
|
|
|---|---|
|
|
| decode at batch 1 (median) | 48.2 t/s |
|
|
| time to first token (median) | 121 ms |
|
|
| concurrency, aggregate | 1: 47 · 2: 48 · 4: 47 · 8: 48 t/s |
|
|
| prefill | 2k: 2,505 · 8k: 1,849 · 16k: 1,527 · 32k: 1,198 t/s |
|
|
| memory bandwidth reached | 68% of 401 GB/s measured |
|
|
| decode energy | 2.94 J/token at 140 W |
|
|
|
|
| run | submitter | date | decode at batch 1 | TTFT | report |
|
|
|---|---|---|---|---|---|
|
|
| `261024_demo_qwen3.5-9b_llama.cpp_1x-arc-b580` | demo | 2026-10-24 | 48.2 t/s | 121 ms | [html](../results/261024_demo_qwen3.5-9b_llama.cpp_1x-arc-b580/261024_demo_qwen3.5-9b_llama.cpp_1x-arc-b580.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.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
|
|
```
|
|
<!-- /cookbook:numbers -->
|
|
|
|
## Requirements
|
|
|
|
- An Arc B580, with the host set up as in [host setup](../../docs/host-setup.md)
|
|
- Docker
|
|
- The standard model file, as in the [B65 recipe](../../arc-pro-b65/qwen3.5-9b/llama.cpp-single-user.md)
|
|
|
|
## 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.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
|
|
|
|
Same as the [B65 recipe](../../arc-pro-b65/qwen3.5-9b/llama.cpp-single-user.md#why-these-flags).
|
|
|
|
## Pitfalls
|
|
|
|
- The B580 has a PCIe 4.0 x8 link. Without ReBAR it is much slower: check
|
|
`lspci -vv` as in [host setup](../../docs/host-setup.md).
|