decode_rollback_ring_slots

Function decode_rollback_ring_slots 

Source
pub fn decode_rollback_ring_slots(
    num_ssm_layers: usize,
    use_speculative: bool,
) -> DecodeRingDecision
Expand description

2026-09-25: The per-sequence ring depth, from the published depth and the environment (decode_rollback_ring_slots_with). Preflight passes args.speculative || args.dflash as use_speculative; the allocation must receive the same flag, or the reserve and the ring differ.