Glossary

KV cache

Stored key and value vectors of earlier tokens, reused at each decode step so they are not recomputed. It saves compute but its memory grows with context length and concurrent requests. It is not a response cache.

Where it is explained

See also

Terms explained in the same lessons.

All terms, A to Z