ci / check (push) Successful in 11s
Several of one GPU: <gpu>/<model>/<N>x-<engine>-<profile>.md with gpus, tp and pp (tp × pp = gpus) and a declared PCIe topology. Different GPUs: mixed/<setup>/, named after its cards, with the same layout as a GPU folder and a generated mixed/README.md. Runs must sit in their recipe's setup folder. Energy, and bandwidth for pipeline parallel or mixed, are left out where bench-standard measures one GPU only; docs/ bench-standard-gaps.md lists those gaps for the benchmarks repo. The wanted lists take the fewest of one GPU a model fits in. Demo: 2x Arc B580 with vLLM TP 2 and llama.cpp layer split for Qwen3.8-27B, -sm row as what lost, and Arc Pro B60 + Arc B580 mixed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
85 lines
3.3 KiB
Markdown
85 lines
3.3 KiB
Markdown
+++
|
||
title = "Qwen3.8-27B on 2× Arc B580 with llama.cpp, single user"
|
||
summary = "Layer split over two 12 GB cards: simple, little PCIe traffic, but one card works at a time."
|
||
model = "Qwen3.8-27B"
|
||
quant = "UD-Q4_K_M"
|
||
kv = "q8_0"
|
||
engine = "llama.cpp"
|
||
gpu = "Arc B580"
|
||
gpus = 2
|
||
pp = 2
|
||
profile = "single-user"
|
||
spec = "none"
|
||
thinking = "default"
|
||
topology = ["Gen4 x8 CPU", "Gen4 x8 CPU"]
|
||
results = ["261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580"]
|
||
+++
|
||
|
||
The first half of the layers on one card, the second half on the other. Only one
|
||
small activation crosses PCIe per token, but the cards take turns, so decode runs at
|
||
about the speed of one card reading half the weights, then the other.
|
||
[`-sm row`](tried.md) was slower.
|
||
|
||
<!-- 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: 15.9 t/s** · one submitter · 1 run
|
||
|
||
| metric | first run |
|
||
|---|---|
|
||
| GPUs | 2× Arc B580 · tp 1 · pp 2 |
|
||
| PCIe topology (declared) | Gen4 x8 CPU · Gen4 x8 CPU |
|
||
| decode at batch 1 (median) | 15.9 t/s |
|
||
| time to first token (median) | 330 ms |
|
||
| concurrency, aggregate | 1: 15 · 2: 16 · 4: 16 · 8: 16 t/s |
|
||
| prefill | 2k: 619 · 8k: 459 · 16k: 378 t/s |
|
||
| decode at batch 1 per GPU | 7.9 t/s |
|
||
| memory bandwidth reached | n/a: bench-standard computes it for tensor parallel over equal GPUs only |
|
||
| decode energy | n/a: bench-standard samples the power of one GPU |
|
||
|
||
| run | submitter | date | decode at batch 1 | TTFT | report |
|
||
|---|---|---|---|---|---|
|
||
| `261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580` | demo | 2026-10-27 | 15.9 t/s | 330 ms | [html](../results/261027_demo_qwen3.8-27b_llama.cpp_2x-arc-b580/261027_demo_qwen3.8-27b_llama.cpp_2x-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.8-27b \
|
||
--tp 1 --pp 2 --quant UD-Q4_K_M --kv q8_0 --spec none --thinking default \
|
||
--submitter YOUR_NAME --server-cmd-file server-cmd.txt --full
|
||
```
|
||
|
||
bench.sh records PCIe and power for one GPU only: put the link of every GPU in `--special-notes`, as in the recipe's `topology`.
|
||
<!-- /cookbook:numbers -->
|
||
|
||
## Requirements
|
||
|
||
- Two Arc B580, host set up as in [host setup](../../docs/host-setup.md)
|
||
- Docker
|
||
- The standard file `Qwen3.8-27B-UD-Q4_K_M.gguf`, as in the
|
||
[B65 recipe](../../arc-pro-b65/qwen3.8-27b/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.8-27B-UD-Q4_K_M.gguf --alias qwen3.8-27b \
|
||
-ngl 99 -sm layer -ts 1,1 -c 16384 -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 |
|
||
|---|---|
|
||
| `-sm layer` | whole layers per GPU; declared to bench.sh as `--pp 2` |
|
||
| `-ts 1,1` | half the layers on each card |
|
||
| `-c 16384` | what fits next to the weights on 2 × 12 GB |
|
||
|
||
## Pitfalls
|
||
|
||
- Declare `--tp 1 --pp 2` for `-sm layer`, and `--tp 2 --pp 1` for `-sm row`.
|
||
- bench.sh's bandwidth figure assumes tensor parallelism, so it's left out here.
|