bench-standard 0.5.0: fix silent exits and signals, check declared values, hash the model
Fixes: - A run on a machine without nvidia-smi/xpu-smi (every AMD box) exited silently with status 1 after BetterBench: the power sampler had already exited, so `kill` failed under set -e. No summary, no post_run, no done. - Ctrl-C or kill didn't stop the script: the INT/TERM traps cleaned up and carried on, so a partial run could print a summary and `done:`. Now BetterBench is stopped at once and the folder is renamed .interrupted. The one-file bench.sh exec's the real script, so kill PID reaches it. - Redaction turned --max-num-batched-tokens=8192 into <redacted>, corrupting the launch note. Env-style secrets and user:pass@ in URLs are still redacted. - The --kv check was inverted when only -ctk is set: it warned on the correct q8_0/f16 and accepted q8_0. - Negative flag values (-t -1) were parsed as flags. - Model sizes in the HF cache counted symlinks, not the weights. - A failed greedy check was recorded without any message. Improvements: - The served model is hashed (cached) and checked against the README's table (dev/models.txt), with a --quant cross-check. - --spec, --thinking and vLLM --tp/--pp are checked against the launch command, like --kv; warnings name the value to declare. - Weights are found through docker -v/--mount for any launch command, not only llama-swap's, and vLLM repo ids through the HF cache. - AMD power and clock are sampled from amdgpu's hwmon sysfs files. - Warnings are repeated after the summary and in the dry run, and saved in meta.json; the summary is saved as summary.txt. - dev/test.sh: 36 end-to-end tests with a fake server and fake BetterBench, no GPU; CI runs them under dash and bash, plus shellcheck and build --check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EooZ9aTJE7srSQEYUqdQio
This commit is contained in:
14 files changed
+1004
-206
No files matched your search
@@ -0,0 +1,7 @@
|
||||
# The standard models: results only count for these files. Same as the
|
||||
# README's model table; change both together and bump STANDARD_VERSION.
|
||||
# sha256 (a GGUF file, or a repo's *.safetensors as in the README) --quant name
|
||||
03b74727a860a56338e042c4420bb3f04b2fec5734175f4cb9fa853daf52b7e8 Q4_K_M Qwen3.5-9B-Q4_K_M.gguf
|
||||
322e194ff79741c7baa497c240f677f54b201b0efab44ca8e50f122b39123482 UD-Q4_K_M Qwen3.8-27B-UD-Q4_K_M.gguf
|
||||
cca16f9855b9f92eee5876ddc8656ed6397316ffc65b9f17ca1939a9549e4c26 w4a16 RedHatAI/Qwen3.5-9B-quantized.w4a16
|
||||
bffa6b23fa11be557fe9de4b122a8bb99f537ad7a1a4effa702f7d0c677778f7 w4a16 RedHatAI/Qwen3.8-27B-INT4
|
||||
Reference in new issue
Block a user