feat(helexa-bench): context-length scaling view (#88) #104
Reference in New Issue
Block a user
Delete Branch "feat/88-bench-context-scaling"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of the Performance observability epic (#83), O4. Validates the long-context property that makes the 80B-A3B frontier model (#84) viable.
The
chat:<n>cells already capture prefill & decode tok/s per context (via #85/#86); this pivots them into a per-(target,model) scaling curve and computes decode-flatness — decode tok/s at the largest context ÷ the smallest. ~1.0 confirms the Gated-DeltaNet O(1)-in-sequence-length decode; a sharp drop locates where the model stops scaling for free.Store::scaling()pivots the latest-buildchat:<n>report cells intoScalingCurve/ScalingPoint, ordered by context, with the flatness ratio (concurrency: and other scenarios excluded).render_scaling_markdown(one block per model: prefill/decode tok/s vs ctx + flatness verdict) andrender_scaling_json.helexa-bench report --scaling.GET /api/scalingfor the bench UI.prompt_sizesinto a scaling ladder.No new request shape — reuses the chat-latency measurement points, so a denser curve is just more
prompt_sizesentries (operators widen deliberately; large contexts cost more per sample).Tests: scaling pivot + flatness + scenario exclusion, markdown render. All four validation jobs green. Closes #88.