You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Export speculative verification rounds for aggregate acceptance length #21731
The Prometheus exporter exposes accepted-token and draft-token counters, but no counter for request verification rounds containing draft tokens. The existing last-iteration acceptance-length gauge cannot produce a round-weighted aggregate across workers and reporting intervals.
The executor already serializes specDecodingStats.numRequestsWithDraftTokens. Exporting this field would provide the denominator for 1 + accepted_tokens / verification_rounds, evaluated only when the round rate is positive.
The related accepted-token and draft-token metric children should also exist at zero before the first positive observation. Otherwise an interval containing only rejected drafts has no numerator series instead of a measured zero.
Proposed scope: exporter initialization and iteration-stat accounting plus CPU regression tests. No executor, sampler, kernel, or wire-format change is needed.
Activity