Skip to content
Inference Academy

What is the KV cache?

Stored attention keys and values for all earlier tokens so they need not be recomputed. Grows with context length.

Learn it properly in the lesson →

Where it comes up

Lessons that use this term, most mentions first.

Related terms

All 115 terms