AlgoViz

Attention kernels, KV heads and long context

hard 6 min

Long contexts increase both the work of mixing positions and the size of retained decoding state.