Skip to content
☰
Curiosity
— knowledge base
⌕
Search
⌘K
Esc
◐
system
Engineering
AI
Meta
All notes
Map
Tags
Close navigation
Category
LLM
1 note.
Type
concept
1
Tags
#inference
1
#llm
1
#new
1
#performance
1
#transformers
1
1 of 1 notes
Clear filters
No notes match these filters.
0043
· concept
· intermediate
· new
KV cache: the engine behind fast LLM inference
Generating token N means attending to tokens 1..N-1. Recomputing their key/value tensors every step turns O(n) work into O(n²). Caching K and V is what makes real-time LLM streaming possible.