PagedAttention
Quick definition
An attention-memory management technique that stores key-value cache blocks in noncontiguous pages to reduce fragmentation and waste.
An attention-memory management technique that stores key-value cache blocks in noncontiguous pages to reduce fragmentation and waste.
It is especially valuable when many generation requests have different sequence lengths and growing KV caches.
Example: An inference server handles more concurrent conversations by managing KV memory in blocks.
Common use cases: Efficient LLM serving, long-context workloads, and GPU memory management.
Examples
- An inference server handles more concurrent conversations by managing KV memory in blocks.
Use cases
- Efficient LLM serving, long-context workloads, and GPU memory management.
Frequently asked questions
What is PagedAttention?
An attention-memory management technique that stores key-value cache blocks in noncontiguous pages to reduce fragmentation and waste.
What should I know about PagedAttention?
It is especially valuable when many generation requests have different sequence lengths and growing KV caches.