- Glossary
- KV cache
Glossary term
KV cache
Stored attention keys and values for tokens already processed, so they are not recomputed for each new token.
Also called key-value cache.
Open lesson 30.2
Quantization · Chapter 30, and 2 more lessons below
In plain words
Its memory grows with context length and concurrent users.
Taught in
Also in these lessons
BenchmarkConcurrencyMemoryQuantizationThroughputTime to first token (TTFT)Token