indexer_state_bytes

Function indexer_state_bytes 

Source
pub fn indexer_state_bytes(capacity: usize, index_head_dim: usize) -> usize
Expand description

2026-09-25: Bytes one sequence’s indexer cache takes for one DSA layer at capacity rows: capacity * (4 * index_head_dim + 1), the sizes Glm5NextDsaState::alloc allocates for k_normed, gate and valid. The serve’s per-sequence reserve uses it.