0.5.0: model hash check, energy per phase, honest bandwidth %, CI
ci / check (push) Successful in 58s
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:
1 parent
b892e7b14d
commit
5bb750cece
17 files changed
+1482
-622
No files matched your search
@@ -0,0 +1,17 @@
|
||||
name: ci
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.10"
|
||||
- run: pip install pytest shellcheck-py
|
||||
- name: shellcheck
|
||||
run: shellcheck -s sh -S warning dev/*.sh bench.sh
|
||||
- name: bench.sh is built from dev/
|
||||
run: sh dev/build.sh --check
|
||||
- name: tests
|
||||
run: pytest -q dev/tests
|
||||
Reference in new issue
Block a user