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
4.2 KiB
Markdown
85 lines
4.2 KiB
Markdown
# Arc LLM Cookbook
|
||
|
||
The fastest way to run each model on Intel Arc GPUs, with the exact commands. Every
|
||
number links to a [bench-standard](https://git.linxweiler.xyz/miga/benchmarks) result,
|
||
and CI checks that each recipe's launch command is the one that was benchmarked.
|
||
|
||
> **Demo content.** The results in this repo are synthetic so far, made by
|
||
> `tools/demo/make_demo.py` to show the layout. Nothing has been measured yet.
|
||
|
||
## Pick your GPU
|
||
|
||
<!-- cookbook:index -->
|
||
| GPU | VRAM | bandwidth (spec) | recipes | fastest for one user |
|
||
|---|---|---|---|---|
|
||
| [Arc Pro B70](arc-pro-b70/README.md) | 32 GB | 608 GB/s | 0 | none yet: wanted |
|
||
| [Arc Pro B65](arc-pro-b65/README.md) | 32 GB | 608 GB/s | 5 | Qwen3.5-9B: 118.2 t/s (vllm) · Qwen3.8-27B: 84.5 t/s (vllm) |
|
||
| [Arc Pro B60](arc-pro-b60/README.md) | 24 GB | 456 GB/s | 0 | none yet: wanted |
|
||
| [Arc Pro B50](arc-pro-b50/README.md) | 16 GB | 224 GB/s | 0 | none yet: wanted |
|
||
| [Arc B580](arc-b580/README.md) | 12 GB | 456 GB/s | 3 | Qwen3.5-9B: 48.2 t/s (llama.cpp) · Qwen3.8-27B: 51.3 t/s (vllm, 2×) |
|
||
| [Arc B570](arc-b570/README.md) | 10 GB | 380 GB/s | 0 | none yet: wanted |
|
||
| [Arc A770](arc-a770/README.md) | 16 GB | 560 GB/s | 0 | none yet: wanted |
|
||
| [Mixed setups](mixed/README.md) | 1 setup | — | 1 | Qwen3.8-27B: 16.4 t/s (llama.cpp) |
|
||
<!-- /cookbook:index -->
|
||
|
||
Each GPU folder has its recipes, what lost against them, and the result folders that
|
||
prove both. All of it on one page, with filters: [`site/index.html`](site/index.html).
|
||
|
||
## Layout
|
||
|
||
```
|
||
arc-pro-b65/ one folder per GPU
|
||
README.md generated: its recipes, what lost, what's wanted
|
||
qwen3.8-27b/
|
||
vllm-single-user.md a recipe: <engine>-<profile>.md
|
||
2x-vllm-single-user.md the same on two of these GPUs: <N>x-<engine>-<profile>.md
|
||
tried.md what lost against the recipes for this model
|
||
results/<run>/ bench.sh result folders, unmodified
|
||
mixed/ different GPUs in one server
|
||
1x-arc-b580_1x-arc-pro-b60/ a setup: same layout as a GPU folder
|
||
docs/ recipe and tried formats, result rules, host setup
|
||
site/index.html the generated page
|
||
cookbook.toml GPUs, models, accepted bench-standard versions
|
||
tools/cookbook.py validate and build
|
||
```
|
||
|
||
## How to read a recipe
|
||
|
||
A recipe is one exact setup: model file, engine build, container digest, launch
|
||
command, GPU. It's written for one **profile**, and the headline number is that
|
||
profile's metric:
|
||
|
||
| profile | for | headline metric |
|
||
|---|---|---|
|
||
| `single-user` | one person chatting or coding | decode t/s at batch 1 |
|
||
| `throughput` | several users or parallel agents | peak aggregate t/s of the concurrency sweep |
|
||
| `long-context` | big prompts, RAG, long files | prefill t/s at the deepest context that fits |
|
||
| `efficiency` | power-limited or always-on boxes | decode J/token |
|
||
|
||
**Status:** `one submitter` until someone else reproduces the recipe within 5%, then
|
||
`verified by N`. ★ marks the fastest recipe for a GPU, model and profile.
|
||
|
||
## What decides the speed on Arc
|
||
|
||
- **Decode at batch 1 is bound by memory bandwidth.** Every token reads all the weights
|
||
once, so decode t/s × weight size ≈ the bandwidth reached. bench.sh measures the real
|
||
bandwidth, and a recipe shows the share decode reaches. Speculative decoding gets
|
||
past that limit, because one pass over the weights yields several tokens.
|
||
- **Prefill is bound by compute** and by the power limit. A lower limit lowers the clock
|
||
in long prefills.
|
||
- **ReBAR must be on.** Without it Arc loses a lot of speed. See [host setup](docs/host-setup.md).
|
||
|
||
## Contributing
|
||
|
||
Run a recipe, benchmark it, send the result folder: that's a reproduction. Found
|
||
something faster? That's a new recipe, and the old one's numbers go in `tried.md`.
|
||
Both are in [CONTRIBUTING.md](CONTRIBUTING.md). With a coding agent, point it at
|
||
[AGENTS.md](AGENTS.md). The plan: [PLAN.md](PLAN.md).
|
||
|
||
```sh
|
||
python3 tools/cookbook.py validate # recipes against results
|
||
python3 tools/cookbook.py build # tables, GPU READMEs, site/index.html
|
||
```
|
||
|
||
Python 3.11+, standard library only. Tests: `python3 -m pytest tools/tests`.
|