One folder per GPU, with a GPU index in the top-level README
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>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-10-29 15:38:54 +01:00
1 parent 4673f0afb6
commit 562c7f2fb8
153 files changed
+445 -288

No files matched your search

+42 -43
View File
@@ -1,40 +1,43 @@
# 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
in [`results/`](results/), and CI checks that each recipe's launch command is the one
that was benchmarked.
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.
Browse it as a page: open [`site/index.html`](site/index.html) in a browser, with
filters for GPU, model and profile. Or read the Markdown below.
## Recipes
## Pick your GPU
<!-- cookbook:index -->
### Arc Pro B65
| model | profile | engine | headline | status | recipe |
|---|---|---|---|---|---|
| Qwen3.5-9B | single-user | llama.cpp | 64.0 t/s decode at batch 1 | demo | [qwen3.5-9b/arc-pro-b65/llama.cpp-single-user](recipes/qwen3.5-9b/arc-pro-b65/llama.cpp-single-user.md) |
| Qwen3.5-9B | single-user | vllm | 118.2 t/s decode at batch 1 ★ | demo | [qwen3.5-9b/arc-pro-b65/vllm-single-user](recipes/qwen3.5-9b/arc-pro-b65/vllm-single-user.md) |
| Qwen3.8-27B | single-user | llama.cpp | 22.6 t/s decode at batch 1 | demo | [qwen3.8-27b/arc-pro-b65/llama.cpp-single-user](recipes/qwen3.8-27b/arc-pro-b65/llama.cpp-single-user.md) |
| Qwen3.8-27B | single-user | vllm | 84.5 t/s decode at batch 1 ★ | demo | [qwen3.8-27b/arc-pro-b65/vllm-single-user](recipes/qwen3.8-27b/arc-pro-b65/vllm-single-user.md) |
| Qwen3.8-27B | throughput | vllm | 294.1 t/s peak aggregate throughput ★ | demo | [qwen3.8-27b/arc-pro-b65/vllm-throughput](recipes/qwen3.8-27b/arc-pro-b65/vllm-throughput.md) |
### Arc B580
| model | profile | engine | headline | status | recipe |
|---|---|---|---|---|---|
| Qwen3.5-9B | single-user | llama.cpp | 48.2 t/s decode at batch 1 ★ | demo | [qwen3.5-9b/arc-b580/llama.cpp-single-user](recipes/qwen3.5-9b/arc-b580/llama.cpp-single-user.md) |
★ the fastest recipe for that GPU, model and profile.
**Wanted** (fits in VRAM, no single-user recipe yet): Qwen3.5-9B on Arc Pro B60, Qwen3.8-27B on Arc Pro B60, Qwen3.5-9B on Arc Pro B50, Qwen3.5-9B on Arc B570, Qwen3.5-9B on Arc A770.
| GPU | VRAM | bandwidth (spec) | recipes | fastest for one user |
|---|---|---|---|---|
| [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 | 1 | Qwen3.5-9B: 48.2 t/s (llama.cpp) |
| [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 |
<!-- /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
tried.md what lost against the recipes for this model
results/<run>/ bench.sh result folders, unmodified
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
@@ -49,32 +52,28 @@ profile's metric:
| `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`. What a recipe beat is in [`tried/`](tried/): every variant that lost,
with its run.
`verified by N`. ★ marks the fastest recipe for a GPU, model and profile.
## Layout
## What decides the speed on Arc
| path | what |
|---|---|
| [`recipes/<model>/<gpu>/<engine>-<profile>.md`](recipes/) | the recipes ([format](recipes/README.md)) |
| [`results/<run>/`](results/) | bench.sh result folders, unmodified ([rules](results/README.md)) |
| [`tried/<model>/<gpu>.md`](tried/) | what lost against a recipe, with the runs ([format](tried/README.md)) |
| [`hardware/`](hardware/) | [Arc GPUs](hardware/arc-gpus.md) and the [host setup](hardware/host-setup.md) every recipe assumes |
| [`site/index.html`](site/index.html) | the generated page |
| [`cookbook.toml`](cookbook.toml) | accepted bench-standard versions, GPUs, models, thresholds |
| [`tools/cookbook.py`](tools/cookbook.py) | `validate` and `build` |
| [`PLAN.md`](PLAN.md) | where this is going |
- **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, with the old one's numbers in `tried/`. Both
are in [CONTRIBUTING.md](CONTRIBUTING.md). With a coding agent, point it at
[AGENTS.md](AGENTS.md).
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 in the Markdown + site/index.html
python3 tools/cookbook.py build # tables, GPU READMEs, site/index.html
```
Python 3.11+, standard library only. Tests: `python3 -m pytest tools/tests`.