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

+9 -8
View File
@@ -8,14 +8,14 @@ rules of a valid run. Intel Arc GPUs only.
The most useful contribution: a second submitter makes a recipe **verified**.
1. Set up the host ([host setup](hardware/host-setup.md)) and download the model as the
1. Set up the host ([host setup](docs/host-setup.md)) and download the model as the
recipe says. Check the hash.
2. Start the server with the recipe's launch command, unchanged. Save that exact
command as `server-cmd.txt`.
3. Run the bench.sh command at the end of the recipe's numbers block: first a quick run,
then `--full`.
4. Copy the result folder into `results/` unchanged, and add its name to the recipe's
`results` list (after the existing ones).
4. Copy the result folder into `<gpu>/results/` unchanged, and add its name to the
recipe's `results` list (after the existing ones).
5. `python3 tools/cookbook.py build`, then open a pull request.
If your numbers are more than 5% off, `validate` warns. Don't drop the run: open the PR
@@ -26,19 +26,20 @@ limits are found.
1. Start from the recipe's launch command and change **one thing**: a flag, an env
var, the spec decoding, the engine build. Quick runs are fine for exploring.
2. Every variant that loses goes into `tried/<model>/<gpu>.md` with its run
([format](tried/README.md)).
2. Every variant that loses goes into `<gpu>/<model>/tried.md` with its run
([format](docs/tried-format.md)).
3. A variant that wins needs a `--full` run. Then:
- **Same engine and profile:** update the recipe's launch command, replace its
`results` with the new run, and move the old reference run to `tried/` as what it
beat.
- **New engine or profile:** write a new recipe ([format](recipes/README.md)).
`results` with the new run, and move the old reference run to `tried.md` as what
it beat.
- **New engine or profile:** write a new recipe ([format](docs/recipe-format.md)).
4. `python3 tools/cookbook.py build` and open a pull request.
## A new GPU or model
- **GPU:** add the Arc card to `cookbook.toml` under `[gpus]`, with its spec VRAM and
bandwidth, and its name exactly as bench.sh records it (`gpu_model` in `meta.json`).
`build` creates its folder and README.
- **Model:** it must be a standard model of bench-standard first. Propose it there.
Then add it to `cookbook.toml` under `[models]`.