Files
cookbook/README.md
T
ClaudeandClaude Opus 5.5 4673f0afb6
ci / check (push) Successful in 32s
Arc LLM Cookbook: recipes, validator, site, demo content
Recipes for running the bench-standard models fastest on Intel Arc GPUs,
each backed by a bench.sh result folder in results/. tools/cookbook.py
validates recipes against their runs and generates the number tables
and site/index.html. All results are synthetic DEMO data so far, made by
tools/demo/make_demo.py; nothing has been measured yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 15:34:00 +01:00

81 lines
4.1 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
in [`results/`](results/), 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
<!-- 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.
<!-- /cookbook:index -->
## 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`. What a recipe beat is in [`tried/`](tried/): every variant that lost,
with its run.
## Layout
| 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 |
## 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).
```sh
python3 tools/cookbook.py validate # recipes against results
python3 tools/cookbook.py build # tables in the Markdown + site/index.html
```
Python 3.11+, standard library only. Tests: `python3 -m pytest tools/tests`.