0.5.0: model hash check, energy per phase, honest bandwidth %, CI
ci / check (push) Successful in 58s

- The served model is hashed (cached) and checked against dev/models.tsv;
  the model_file note says standard or not, with warnings for a foreign
  file or a --quant that doesn't match. HASH_MODEL=0 skips it.
- The BetterBench build (git commit or describe) goes into meta and, when
  it isn't the release, into the run note.
- Energy per phase from a timestamped timeline.tsv: J/token for decode and
  each concurrency level, J/1k tokens for prefill.
- Bandwidth %: vLLM's loaded weight size when available, MTP files left out
  of the stored size, bandwidth scaled by tp.
- The notes and post-run Python moved to dev/notes.py and dev/postrun.py,
  with pytest tests; CI runs shellcheck, build --check and the tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
claudeandClaude Opus 5.5 committed 2026-10-29 14:00:00 +01:00
1 parent b892e7b14d
commit 5bb750cece
17 files changed
+1482 -622

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@
set -eu
dev=$(cd "$(dirname "$0")" && pwd)
out="$dev/../bench.sh"
files="bench.sh collect-env.sh gpu-power.sh mem-bw.py config.json standard.env"
files="bench.sh collect-env.sh gpu-power.sh mem-bw.py model_hash.py notes.py postrun.py models.tsv config.json standard.env"
eof=__BENCH_STANDARD_EOF__
. "$dev/standard.env"