Files
leleka/docs
Pavlo RatushnyiandClaude Sonnet 5.5 3e68def28e decode graph reuse (Q7), part 1: LELEKA_DECODE_GRAPH_REUSE (off), key and policy tested on the lifecycle fake, shared-expert pin and weights epoch; assembly borrow and re-arm API documented as blocked
DecodeGraphKey (shape, tier, pcie mode, cluster top-k, weights and owners epochs) and GraphReuse hand a kept assembly out only for an equal key after Reusable::rearm accepted the new request's seed; anything else retires it and records. The lifecycle fake bakes key and seed into its graph set and fails a stale replay: kept and re-recorded sets give the same text, each key input forces a re-record, a refused re-arm and a failed request do not replay. MoeWeightCache gets pin_for_window / unpin_window / weights_epoch (not wired). With the switch on, open states that the stack cannot keep the graphs yet; every request records as before.

Not done: the assembly still borrows the stack (needs handles instead of &'a DeviceBuffer in original_verify_window_{moe,gr,proj,qsa}), the QSA owner loan and the MTP binding follow it, and the verify bank's re-arm API is the speed session's. Exact changes in docs/experiments/decode-graph-reuse.md. No speedup claim.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 23:16:19 +01:00
..
2026-10-25 14:14:47 +01:00
2026-10-24 02:03:29 +02:00