Skip to content

feat(WO73/C3): decode-latency budget gate + bench tool - #339

Merged
ronaldtse merged 1 commit into
mainfrom
feat/latency-budget
Oct 22, 2026
Merged

ronaldtse merged 1 commit into
mainfrom
feat/latency-budget

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Completes C3's second half: perf.decode_ms_per_row in an index entry is now enforceable — BudgetGate refuses a declared budget with no supplied measurement and fails an over-budget measurement. tools/bench_decode.py is the measurement half: index-resolved (sha256-verified) artifact, frozen fixtures, shipped single-row greedy decode, median/max ms per row over N repeats.

Deliberately no budget numbers declared yet — the first ones come from running the bench against shipped artifacts (CI conformance job is the natural home), never from assumption.

BudgetGate now enforces perf.decode_ms_per_row: a declared budget with
no measurement refuses ('never assumed'); a measured value over budget
fails the gate. tools/bench_decode.py produces the measurement — it
resolves the artifact through the index (sha256-verified) and decodes
the model's frozen fixtures in the shipped single-row greedy mode.

First measured budgets land from the CI conformance job; no numbers
are declared here — none exist yet, and none are invented.
@ronaldtse
ronaldtse merged commit 84ff7c0 into main Oct 22, 2026
12 checks passed
@ronaldtse
ronaldtse deleted the feat/latency-budget branch October 22, 2026 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant