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:
1 parent
4673f0afb6
commit
562c7f2fb8
153 files changed
+445
-288
No files matched your search
@@ -0,0 +1,81 @@
|
||||
# Recipes
|
||||
|
||||
One file per exact setup: `<gpu>/<model>/<engine>-<profile>.md`, every part slugged
|
||||
the way bench.sh names result folders (`Arc Pro B65` → `arc-pro-b65`).
|
||||
`tools/cookbook.py validate` rejects a file whose path doesn't match its front matter.
|
||||
|
||||
## Front matter
|
||||
|
||||
TOML between `+++` lines:
|
||||
|
||||
```toml
|
||||
+++
|
||||
title = "Qwen3.8-27B on Arc Pro B65 with vLLM, single user"
|
||||
summary = "One line: what makes this setup the one to pick."
|
||||
model = "Qwen3.8-27B" # a standard model in cookbook.toml
|
||||
quant = "w4a16" # as declared to bench.sh (its README, Models)
|
||||
kv = "fp16" # as declared to bench.sh
|
||||
engine = "vllm" # what bench.sh detects: vllm or llama.cpp
|
||||
gpu = "Arc Pro B65" # an Arc GPU in cookbook.toml, as bench.sh records it
|
||||
profile = "single-user" # single-user, throughput, long-context or efficiency
|
||||
spec = "mtp:5" # as declared to bench.sh
|
||||
thinking = "default" # as declared to bench.sh
|
||||
tp = 1 # optional, default 1
|
||||
pp = 1 # optional, default 1
|
||||
results = [ # result folders in <gpu>/results/, --full runs only
|
||||
"261022_pascal_qwen3.8-27b_vllm_1x-arc-pro-b65",
|
||||
]
|
||||
+++
|
||||
```
|
||||
|
||||
The first result is the reference run. More results are reproductions. When their
|
||||
headline metric is within `agree_pct` of the first run (5%, `cookbook.toml`) and they
|
||||
come from two or more submitters, the recipe is **verified**.
|
||||
|
||||
## Body
|
||||
|
||||
````markdown
|
||||
One paragraph: who this is for, and how it compares to the other recipes.
|
||||
|
||||
<!-- cookbook:numbers -->
|
||||
<!-- /cookbook:numbers -->
|
||||
|
||||
## Requirements
|
||||
|
||||
GPU, host setup link, how to get the standard model file and check its hash.
|
||||
|
||||
## Launch
|
||||
|
||||
```sh
|
||||
the exact command, the same as server-cmd.txt in every cited result
|
||||
```
|
||||
|
||||
## Why these flags
|
||||
|
||||
| flag | why |
|
||||
|---|---|
|
||||
|
||||
## Check it
|
||||
|
||||
A curl that proves the server answers.
|
||||
|
||||
## Pitfalls
|
||||
|
||||
What goes wrong, and how you notice.
|
||||
````
|
||||
|
||||
`tools/cookbook.py build` fills the `numbers` block: headline, the metrics of the
|
||||
reference run, all runs with links to their reports, and the bench.sh command to
|
||||
reproduce. Never type numbers into a recipe by hand.
|
||||
|
||||
## What validate checks
|
||||
|
||||
- every cited result exists, is a `--full` run of an accepted bench-standard version,
|
||||
on the standard model file
|
||||
- `quant`, `kv`, `spec`, `thinking`, `tp`, `pp`, GPU and engine match what the run
|
||||
declared and detected
|
||||
- the first `sh` block under `## Launch` is word for word the `server-cmd.txt` of every
|
||||
cited run (line breaks, spacing and comments don't count; secrets are redacted the
|
||||
way bench.sh does it)
|
||||
- a container image is pinned by digest (`image@sha256:...`)
|
||||
- demo and real results are never mixed
|
||||
Reference in new issue
Block a user