transformers
4e0cc1a2 - benchmark_v2: compare results against a baseline, fix git revision detection

Commit
22 days ago
benchmark_v2: compare results against a baseline, fix git revision detection - compare_results.py: compares candidate results to a baseline per scenario (e2e latency, TTFT, ITL, throughput), flags changes above a threshold, reports per-metric noise, and exits 1 on regression so it can gate CI. Each side can be a directory of repeated runs (median of per-run medians). - get_git_revision: use `git rev-parse HEAD`; reading .git/HEAD by hand crashed on a detached HEAD, and broke with packed refs and worktrees. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
Parents
Loading