Add lab vllm-bench to re-run a vLLM sizing matrix
What this adds
just lab vllm-bench re-runs a frozen vLLM sizing matrix on a GPU rig and writes a results table. It takes model keys, image tags and arm ids as comma words. --machine-type and --accelerator are required and have no default, so the repository names no hardware.
Each model has one data file under skills/gitlab-simulation/gce/vllm-bench/models/ with pinned weight revisions, license, a gated flag and, per arm, the tensor-parallel size, flags, expected outcome and which image tags it runs on. An arm with gated weights, or a tensor-parallel size above the device count, is recorded as skipped with that reason. A failed pull or download skips only the arms that need it.
--out gets results.md, results.json and raw/. results.md holds a table per model and tag, a comparison, a tested-with line and phase timings. The renderer is a pure script over fetched raw output.
ADR 0007 records the principle: a sizing figure is a recipe that re-runs it, and the table is never hand-edited.
Closes #63
Driver flow
flowchart TD
U["up: create the rig, ship the plan"] --> P
subgraph P["prefetch, in parallel"]
I["pull each image tag"]
W["download each pinned weight variant"]
end
P --> A["arms: serve, then concurrency ladder"]
A --> R["render results.md and results.json"]
A -. "any exit path" .-> F
R --> F["fetch raw output, then down"]Evidence
The recipe ran twice end to end on real GPU rigs on 2026-11-20. The first run covered 13 arms across 5 models. The second covered 5 arms, on the branch tip before its rebase onto main.
- Parallel prefetch took 1065 s, against a 4084 s sum of the same steps run serially.
- Teardown ran on every exit path.
- The selftest covers the outcome classifier, plan quoting and the renderer.
To check it offline, run just ci, which includes the vllm-bench selftest and the word ceiling on the skill's loaded Markdown.