~/talk

PagedAttention: Revolutionizing LLM Inference with Efficient Memory Management

Talkat DevConf.CZ 2025 · 2025-06-12..06-14· [large-language-models, machine-learning]
links:none on file
links:none on file
slides:none on file

PagedAttention implements OS-style paging inside vLLM to split KV caches into 16–32 token pages, allocates pages on demand from a pool, tracks tokens with an indirection table, and reclaims pages after requests end. Integrated with vLLM on GPUs (A100 example), it reports up to 30× higher throughput, cuts KV cache waste to ~4%, halves latency (≈800ms→≈400ms) and drops cost per 1M inferences (~$12→$4.50), with lookup overhead and prefetching as active optimizations.

AI-written summary · about

  1. 0:00PagedAttention and VLM intro
  2. 1:03Traditional LLM memory limits
  3. 3:53Memory fragmentation in LLMs
  4. 6:01What is PagedAttention and its key features
  5. 7:26Need for PagedAttention
  6. 8:32PagedAttention memory paging
  7. 11:01Dynamic memory allocation
  8. 13:54Page reuse and pool management
  9. 15:17PagedAttention benefits
  10. 16:24Real-world cost efficiency
  11. 18:54Integration and compatibility
  12. 19:39Future enhancements
  13. 21:04Q&A: Inference time
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.