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>
83 lines
3.4 KiB
Markdown
83 lines
3.4 KiB
Markdown
+++
|
|
title = "Qwen3.8-27B on Arc Pro B60 + Arc B580 with llama.cpp, single user"
|
|
summary = "36 GB from two different cards: layers split 2:1 by VRAM."
|
|
model = "Qwen3.8-27B"
|
|
quant = "UD-Q4_K_M"
|
|
kv = "q8_0"
|
|
engine = "llama.cpp"
|
|
gpu = ["Arc Pro B60", "Arc B580"]
|
|
pp = 2
|
|
profile = "single-user"
|
|
spec = "none"
|
|
thinking = "default"
|
|
topology = ["Gen5 x8 CPU", "Gen4 x8 CPU"]
|
|
results = ["261028_demo_qwen3.8-27b_llama.cpp_2x-arc-b580-arc-pro-b60"]
|
|
+++
|
|
|
|
A B60 with a spare B580 next to it: 24 + 12 GB is room for the 27B with a 32k context.
|
|
vLLM's tensor parallelism wants equal cards, so this is a llama.cpp layer split, with
|
|
the share of layers set by each card's VRAM.
|
|
|
|
<!-- 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: 16.4 t/s** · one submitter · 1 run
|
|
|
|
| metric | first run |
|
|
|---|---|
|
|
| GPUs | Arc B580 + Arc Pro B60 · tp 1 · pp 2 |
|
|
| PCIe topology (declared) | Gen5 x8 CPU · Gen4 x8 CPU |
|
|
| decode at batch 1 (median) | 16.4 t/s |
|
|
| time to first token (median) | 301 ms |
|
|
| concurrency, aggregate | 1: 16 · 2: 16 · 4: 16 · 8: 16 t/s |
|
|
| prefill | 2k: 679 · 8k: 503 · 16k: 413 · 32k: 328 t/s |
|
|
| decode at batch 1 per GPU | 8.2 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 |
|
|
|---|---|---|---|---|---|
|
|
| `261028_demo_qwen3.8-27b_llama.cpp_2x-arc-b580-arc-pro-b60` | demo | 2026-10-28 | 16.4 t/s | 301 ms | [html](../results/261028_demo_qwen3.8-27b_llama.cpp_2x-arc-b580-arc-pro-b60/261028_demo_qwen3.8-27b_llama.cpp_2x-arc-b580-arc-pro-b60.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
|
|
|
|
- An Arc Pro B60 and an 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 -e ZE_AFFINITY_MASK=0,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 2,1 -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 |
|
|
|---|---|
|
|
| `-sm layer -ts 2,1` | two thirds of the layers on the 24 GB B60, one third on the 12 GB B580 |
|
|
| `ZE_AFFINITY_MASK=0,1` | device 0 must be the B60 for `-ts 2,1`; check the order with `xpu-smi discovery` |
|
|
|
|
## Pitfalls
|
|
|
|
- bench.sh records the PCIe link, power limit and bandwidth of the first device only.
|
|
Declare the other card's in `--special-notes`.
|
|
- Decode is set by the slower card's share: the B580's 456 GB/s for its third of the layers.
|