README: the full guide for humans; AGENTS.md links to it

The README now has the quick start, the models with hashes, how to find
the declared values, the options, what a run records, the result folder,
the split setup, troubleshooting and how to build. AGENTS.md keeps only
the agent procedure and links to the README's model table, so the
hashes live in one place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
claudeandClaude Opus 5.5 committed 2026-10-29 13:00:11 +01:00
1 parent 1f4ea0b225
commit ad4a9018dc
4 files changed
+202 -41

No files matched your search

+9 -35
View File
@@ -1,19 +1,8 @@
# bench-standard
# AGENTS.md
Benchmark your LLM server the way everyone in the group does. You need one file:
```sh
pip install git+https://github.com/GGZ14/BetterBench # BetterBench 0.6.1 or newer
curl -O https://git.linxweiler.xyz/miga/benchmarks/raw/branch/main/bench.sh && chmod +x bench.sh
./bench.sh --help
```
**Humans:** `./bench.sh --help` has everything. Serve one of the [models](#models) below,
run it, and send in the `results/<run>/` folder of a `--full` run.
**Agents:** the rest of this file is for you.
---
Instructions for a coding agent that helps someone benchmark their LLM server with
`bench.sh`. The human guide is [`README.md`](README.md). Read its "What you declare"
and "Models" sections too.
Your job: get one correct, comparable result folder out of `bench.sh`, and tell your
human what it says. A wrong declared value makes the result worthless, and a skipped
@@ -36,24 +25,9 @@ one makes the run fail. Correct is more important than fast.
## Models
Results only count for these files. Check the hash before benchmarking. On a mismatch,
tell your human.
| model | engine | Hugging Face repo | file | `--quant` | SHA256 |
|---|---|---|---|---|---|
| Qwen3.5-9B | llama.cpp | `unsloth/Qwen3.5-9B-GGUF` | `Qwen3.5-9B-Q4_K_M.gguf` | `Q4_K_M` | `03b74727a860a56338e042c4420bb3f04b2fec5734175f4cb9fa853daf52b7e8` |
| Qwen3.8-27B | llama.cpp | `unsloth/Qwen3.8-27B-GGUF` | `Qwen3.8-27B-UD-Q4_K_M.gguf` | `UD-Q4_K_M` | `322e194ff79741c7baa497c240f677f54b201b0efab44ca8e50f122b39123482` |
| Qwen3.5-9B | vLLM & co. | `RedHatAI/Qwen3.5-9B-quantized.w4a16` | the repo | `w4a16` | `cca16f9855b9f92eee5876ddc8656ed6397316ffc65b9f17ca1939a9549e4c26` |
| Qwen3.8-27B | vLLM & co. | `RedHatAI/Qwen3.8-27B-INT4` | the repo | `w4a16` | `bffa6b23fa11be557fe9de4b122a8bb99f537ad7a1a4effa702f7d0c677778f7` |
```sh
sha256sum Qwen3.5-9B-Q4_K_M.gguf # a GGUF
cd MODEL_DIR && sha256sum *.safetensors | LC_ALL=C sort -k2 | sha256sum # a repo
```
`LC_ALL=C` matters: other locales sort the files differently and give another hash.
The RedHatAI repos include an MTP head for `--spec mtp:N`. The 27B GGUF repo has no plain
Q4_K_M, only Unsloth's `UD-Q4_K_M`. Hashes are as of 2026-10-29.
Results only count for the files in the [README's model table](README.md#models).
Check the served file's SHA256 against it, with the commands below the table. On a
mismatch, tell your human before benchmarking. `--quant` for each model is in that table.
## Procedure
@@ -65,7 +39,7 @@ betterbench --version # 0.6.1 or newer
python3 --version # 3.10+
```
If BetterBench is missing, install it (see the top). If an older one is installed, ask
If something is missing, install it as the README's quick start shows. If an older one is installed, ask
before upgrading it.
### 2. Find the endpoint and the model id
@@ -90,7 +64,7 @@ swing results by 10-50%.
### 4. Derive the declared values
`--quant` comes from the model table. For the rest, use the launch command and confirm
`--quant` comes from the README's model table. For the rest, use the launch command and confirm
with your human:
| flag | llama.cpp | vLLM |