Arc LLM Cookbook: recipes, validator, site, demo content
ci / check (push) Successful in 32s

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>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-10-29 15:34:00 +01:00
commit 4673f0afb6
151 files changed
+87304

No files matched your search

+52
View File
@@ -0,0 +1,52 @@
# Plan
The fastest way to run each model on Intel Arc GPUs, every claim backed by a
[bench-standard](https://git.linxweiler.xyz/miga/benchmarks) run.
## Decisions
| question | decision |
|---|---|
| hardware | Intel Arc only (`cookbook.toml` lists the cards) |
| where results live | in this repo, `results/`, next to the recipes they prove |
| format | Markdown in the repo, plus one generated page, `site/index.html` |
| hosting | git.linxweiler.xyz only, no GitHub mirror for now |
| benchmarks repo | used as it is; the cookbook changes nothing there |
| models | only bench-standard's standard models; a new model goes into its table first |
## How a recipe comes about
1. **Baseline:** the engine with stock flags, a quick run.
2. **One knob at a time**, quick runs: KV type, batch sizes, flash attention, slots or
`max-num-seqs`, speculative decoding, SYCL/XPU env flags, power limit.
3. **Winner:** a `--full` run, into `results/`, cited by the recipe.
4. **Losers:** into `tried/`, with their runs.
5. **Reproduction:** a second submitter within 5% makes it verified.
## Phases
| phase | what | status |
|---|---|---|
| 1. Skeleton | layout, recipe format, `validate`/`build`, tests, CI, contributor docs | done |
| 2. Demo content | synthetic results, 6 recipes, 2 tried logs, generated site | done |
| 3. First real runs | Arc Pro B65 × {llama.cpp, vLLM} × {Qwen3.5-9B, Qwen3.8-27B}: baseline → knob sweep → `--full`; replace the demo folders | next |
| 4. Reproductions | a second B65 owner verifies; B580/B60 owners from the group add their cards | |
| 5. Profiles | `throughput`, `long-context` and `efficiency` recipes where they differ from single-user | |
| 6. Upkeep | re-run when engines release; `validate` warns when the newest run is 180 days old | |
## Replacing the demo content (phase 3)
1. Benchmark each recipe for real (CONTRIBUTING.md). Fix the launch command first:
real image digests instead of the all-zero placeholder, and the real vLLM XPU image.
2. Put the real result in each recipe's `results`, and rebuild the tried logs from real
quick runs.
3. Delete every folder with a `DEMO` file, and `tools/demo/`.
4. Drop the demo notes from README.md and the tests that read demo data.
`validate` fails while a recipe still cites a demo folder that's gone, so nothing is
left behind.
## Later, maybe
- Publishing `site/index.html` (Gitea pages or any static host).
- An `efficiency` view: J/token against t/s per GPU.
- A "which recipe for my card" agent prompt in the README, like bench-standard's.