# Recipes One file per exact setup, every part slugged the way bench.sh names result folders (`Arc Pro B65` → `arc-pro-b65`): | setup | file | |---|---| | one GPU | `//-.md` | | N of the same GPU | `//x--.md` | | different GPUs | `mixed///-.md`, the setup named `x-_x-` in name order, e.g. `1x-arc-b580_1x-arc-pro-b60` | `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 gpus = 1 # optional, default 1; must be tp × pp results = [ # result folders in /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**. ## Several GPUs ```toml gpu = "Arc B580" # N of the same GPU ... gpus = 2 tp = 2 # tp × pp = gpus topology = ["Gen4 x8 CPU", "Gen4 x8 CPU"] # required: PCIe link of each GPU, and what it hangs off gpu = ["Arc Pro B60", "Arc B580"] # ... or different GPUs: one name per card topology = ["Gen5 x8 CPU", "Gen4 x8 CPU"] # in the same order ``` bench.sh reads PCIe, power and bandwidth from one GPU only, and counts every GPU in the machine. So the cookbook takes the GPU count from `tp × pp`, needs `topology` declared, and leaves energy (and, for pipeline parallel or mixed setups, bandwidth) out. Declare: vLLM `--tensor-parallel-size N` → `tp = N`; llama.cpp `-sm layer` → `pp = N`, `-sm row` → `tp = N`. See [bench-standard gaps](bench-standard-gaps.md). ## Body ````markdown One paragraph: who this is for, and how it compares to the other recipes. ## 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; `tp × pp` is the GPU count, and the runs sit in the recipe's own folder's `results/` - several GPUs: `topology` lists one link per GPU; mixed setups name two or more different GPUs - 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