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>
18 lines
468 B
YAML
18 lines
468 B
YAML
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
|