Several of one GPU: <gpu>/<model>/<N>x-<engine>-<profile>.md with gpus, tp and pp (tp × pp = gpus) and a declared PCIe topology. Different GPUs: mixed/<setup>/, named after its cards, with the same layout as a GPU folder and a generated mixed/README.md. Runs must sit in their recipe's setup folder. Energy, and bandwidth for pipeline parallel or mixed, are left out where bench-standard measures one GPU only; docs/ bench-standard-gaps.md lists those gaps for the benchmarks repo. The wanted lists take the fewest of one GPU a model fits in. Demo: 2x Arc B580 with vLLM TP 2 and llama.cpp layer split for Qwen3.8-27B, -sm row as what lost, and Arc Pro B60 + Arc B580 mixed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
753bdadf7a
commit
976a8b40e5
59 files changed
+39381
-119
No files matched your search
+30
-3
@@ -1,7 +1,13 @@
|
||||
# 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`).
|
||||
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 | `<gpu>/<model>/<engine>-<profile>.md` |
|
||||
| N of the same GPU | `<gpu>/<model>/<N>x-<engine>-<profile>.md` |
|
||||
| different GPUs | `mixed/<setup>/<model>/<engine>-<profile>.md`, the setup named `<N>x-<gpu>_<N>x-<gpu>` 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
|
||||
@@ -22,6 +28,7 @@ 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 <gpu>/results/, --full runs only
|
||||
"261022_pascal_qwen3.8-27b_vllm_1x-arc-pro-b65",
|
||||
]
|
||||
@@ -32,6 +39,24 @@ The first result is the reference run. More results are reproductions. When thei
|
||||
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
|
||||
@@ -73,7 +98,9 @@ reproduce. Never type numbers into a recipe by hand.
|
||||
- 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
|
||||
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)
|
||||
|
||||
Reference in new issue
Block a user