Glossary
KV cache — Glossary
Cached key/value attention states that speed up autoregressive decoding.
Full definition
KV caching avoids recomputing attention states for past tokens during generation, improving tokens-per-second at the cost of memory that grows with context length.