Group notes by topic, detect PCIe and power limit, default to quick
- Notes are one per topic (gpu, pcie, power_limit, host, engine, parallel, precision, run) instead of 27 flat keys; nothing appears twice. The context size is left to BetterBench's own chip. meta.json keeps every raw value. - collect-env.sh reads the PCIe slot link (through on-card switches) and reports unknown inside a VM; --pcie declares it there. - --power-limit is optional: the GPU's limit is used when omitted. - --special-notes adds free text for anything unusual about a run. - Plain bench.sh is now the quick smoke run; --full is the publishable one. - Standard bumped to 0.2.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1ac7622005
commit
279de33646
5 files changed
+195
-31
No files matched your search
@@ -21,9 +21,11 @@ BetterBench itself is used unmodified, only through its CLI.
|
||||
| `--kv` | KV cache dtype | `f16`, `q8_0`, `int8_k_int4_v` |
|
||||
| `--spec` | speculative decoding: `none` or `METHOD:N` (`mtp`, `eagle`, `eagle3`, `ngram`, `draft`) | `mtp:5` |
|
||||
| `--thinking` | thinking mode **configured on the server**: `off`, `on`, `low`, `medium`, `high`, `default` | `default` |
|
||||
| `--power-limit` | GPU power limit in W, or `stock` | `200` |
|
||||
| `--submitter` | who ran it | `pascal` |
|
||||
|
||||
The GPU power limit is read from the GPU. Pass `--power-limit W` (or `stock`) only
|
||||
where it can't be detected, or to declare it; a mismatch is noted in the result.
|
||||
|
||||
BetterBench can't send `chat_template_kwargs` / `reasoning_effort`, so the thinking
|
||||
mode must be fixed in the server's chat template or launch flags and declared here.
|
||||
5. **Results come from `bench.sh` only.** It adds everything it can detect itself
|
||||
@@ -34,15 +36,20 @@ BetterBench itself is used unmodified, only through its CLI.
|
||||
On the inference server (or any machine that reaches it and has BetterBench 0.6.1):
|
||||
|
||||
```sh
|
||||
./bench.sh --endpoint http://localhost:8080/v1 --model llamacpp-sycl/qwen3.8-27b-q4-mtp \
|
||||
--tp 1 --pp 1 --quant Q4_K_M --kv f16 --spec mtp:5 --thinking default \
|
||||
--power-limit 200 --submitter pascal \
|
||||
--server-cmd-file my-server-cmd.txt
|
||||
./bench.sh --endpoint http://localhost:8080/v1 --model vllm/lfm3-1.7b \
|
||||
--tp 1 --pp 1 --quant bf16 --kv bf16 --spec none --thinking default \
|
||||
--submitter pascal --server-cmd-file my-server-cmd.txt
|
||||
```
|
||||
|
||||
- `--quick` - smoke run (BetterBench `--quick`); recorded as `run_mode=quick`, not for submission.
|
||||
That is a quick smoke run (BetterBench `--quick`, a few minutes) to check the setup.
|
||||
Add `--full` for the run that counts; it takes much longer and occupies the GPU.
|
||||
|
||||
- `--full` - the complete, publishable run; recorded as `run=full · ...`.
|
||||
- `--no-concurrency` - skip the concurrency sweep; recorded as `concurrency=off`.
|
||||
- `--dry-run` - print the BetterBench command and exit.
|
||||
- `--pcie "Gen4 x16"` - declare the slot link where it can't be read (VMs).
|
||||
- `--special-notes "..."` - free text for anything unusual about the run (custom
|
||||
kernels, undervolt, patched engine). Recorded as `special_notes`.
|
||||
- `--api-key KEY` or `$BETTERBENCH_API_KEY` - never stored.
|
||||
- Each mandatory flag can also come from `BENCH_<NAME>` (e.g. `BENCH_SUBMITTER`).
|
||||
- Results go to `results/` next to this file, or `--results-dir` / `$BENCH_RESULTS_DIR`.
|
||||
@@ -60,11 +67,30 @@ Each run produces `results/<timestamp>-<submitter>-<model>-<engine>-<gpu>/` with
|
||||
|
||||
## Recorded notes
|
||||
|
||||
Declared: `submitter tp pp quant kv spec thinking power_limit`, plus `bench_standard
|
||||
run_mode concurrency`. Detected (by `collect-env.sh`): `gpu_vendor gpu_model gpu_count
|
||||
gpu_vram_gb gpu_driver gpu_power_limit_w cpu_model ram_gb os kernel proxy engine
|
||||
engine_version engine_slots model_file ctx`. `gpu_vram_gb` is per GPU. Anything
|
||||
undetectable is `unknown`.
|
||||
The notes are grouped, one per topic, so the report and compare page stay readable:
|
||||
|
||||
| note | example |
|
||||
|---|---|
|
||||
| `submitter` | `pascal` |
|
||||
| `gpu` | `1x Intel Arc Pro B65 · 32 GB · driver 1.17.39395` (VRAM per GPU) |
|
||||
| `pcie` | `Gen4 x16`, `Gen1 x16 now, Gen4 x16 max` (idle downclock), `Gen4 x16 (declared)` |
|
||||
| `power_limit` | `200 W`, or `180 W (GPU reports 200 W)` when they disagree |
|
||||
| `host` | `AMD EPYC 7282 16-Core Processor · 60 GB RAM · Ubuntu 26.04.1 LTS · kernel 7.0.0-38-generic · VM kvm` |
|
||||
| `engine` | `vllm 0.30.0 · via llama-swap`, `llama.cpp b11913-7aca0d2ea · 4 slots · via llama-swap` |
|
||||
| `model_file` | `/models/Qwen3.8-27B-Q4_0.gguf` |
|
||||
| `parallel` | `tp 1 · pp 1` |
|
||||
| `precision` | `weights Q4_0 · kv f16` |
|
||||
| `spec`, `thinking` | `mtp:5`, `default` |
|
||||
| `run` | `full · concurrency on · bench-standard 0.2.0` |
|
||||
| `special_notes` | only when given: free text from `--special-notes` |
|
||||
|
||||
The context size shows as BetterBench's own context chip. Parts that can't be detected
|
||||
are left out. `meta.json` keeps every raw value (`mandatory`, `collected` from
|
||||
`collect-env.sh`) for scripts.
|
||||
|
||||
PCIe is the link into the slot. Cards with their own PCIe switch, like Intel Arc, are
|
||||
read at the switch's upstream port. Inside a VM the link can't be read: run
|
||||
`collect-env.sh` on the hypervisor or pass `--pcie "Gen4 x16"`.
|
||||
|
||||
Engine detection: llama.cpp via `/props`, vLLM via `/version` + `/v1/models`; behind
|
||||
llama-swap through `/upstream/<model>/...`, which also yields the launch command.
|
||||
|
||||
Reference in new issue
Block a user