Peek LLM

Concept 06 · KV Cache

KV Cache

Autoregressive decoding revisits the same history one token at a time. Keep every past key and value, append one new pair, and stop projecting the same tokens again.

1 exhibit Computed decoding trace Offline, single file