2023-10-23 · conference-paper · Natural Language Processing Techniques · en
highly citedfrom the source record
High throughput serving of large language models (LLMs) requires batching sufficiently many requests at a time. However, existing systems struggle because the key-value cache (KV cache) memory for each request is huge and grows and shrinks dynamically. When managed inefficiently, this memory can be significantly wasted by fragmentation and redundant duplication, limiting the batch size. To address this problem, we propose PagedAttention, an attention algorithm inspired by the classical virtual memory and paging techniques in operating systems. On top of it, we build vLLM, an LLM serving system that achieves (1) near-zero waste in KV cache memory and (2) flexible sharing of KV cache within and across requests to further reduce memory usage. Our evaluations show that vLLM improves the throughput of popular LLMs by 2--4× with the same level of latency compared to the state-of-the-art systems, such as FasterTransformer and Orca. The improvement is more pronounced with longer sequences, larger models, and more complex decoding algorithms. vLLM's source code is publicly available at https://github.com/vllm-project/vllm.
Claims drawn from cited facts, not live model generation.
This paper addresses natural language processing techniques and is a conference paper. As a conference paper, it has passed peer review and should be weighted as a formally published contribution rather than an unreviewed preprint.
3 cited facts
This work was produced by a small team of 3 researchers.
1 cited fact
With 11657 citations, the work is already an established reference point in its field, as indicated by its highly cited status. It references 40 works.
3 cited facts
Efficient Memory Management for Large Language Model Serving with PagedAttention is a conference-paper, focusing on Natural Language Processing Techniques, published in 2023.
Efficient Memory Management for Large Language Model Serving with PagedAttention has 11,657 citations in our record, placing it among the highly cited works we track.
Our record lists 3 authors for Efficient Memory Management for Large Language Model Serving with PagedAttention and references 40 other works. Author names aren't in our data yet — the source link on the page lists the full byline.
Source facts, citations, and refresh stamp for this record.
Sources: openalex_works