DéjàVu: KV-cache Streaming for Fast, Fault-tolerant Generative LLM Serving
Foteini Strati, Sara McAllister, Amar Phanishayee, Jakub Tarnawski, Ana Klimovic
Abstract
Distributed LLM serving is costly and often underutilizes hardware accelerators due to three key challenges: bubbles in pipeline-parallel deployments caused by the bimodal latency of prompt and token processing, GPU memory overprovisioning, and long recovery times in case of failures. In this paper, we propose DéjàVu, a system to address all these challenges using a versatile and efficient KV cache streaming library (DéjàVuLib). Using DéjàVuLib, we propose and implement efficient prompt-token disaggregation to reduce pipeline bubbles, microbatch swapping for efficient GPU memory management, and state replication for fault-tolerance. We highlight the efficacy of these solutions on a range of large models across cloud deployments.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
21 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- MegaScale-Infer: Efficient Mixture-of-Experts Model Serving with Disaggregated Expert Parallelism cites Efficient Memory Management for Large Language Model Serving with PagedAttention
- MegaScale-Infer: Efficient Mixture-of-Experts Model Serving with Disaggregated Expert Parallelism cites DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving
- MegaScale-Infer: Efficient Mixture-of-Experts Model Serving with Disaggregated Expert Parallelism cites Orca: A Distributed Serving System for Transformer-Based Generative Models
- MegaScale-Infer: Efficient Mixture-of-Experts Model Serving with Disaggregated Expert Parallelism cites ServerlessLLM: Low-Latency Serverless Inference for Large Language Models
- IMPRESS: An Importance-Informed Multi-Tier Prefix KV Storage System for Large Language Model Inference cites FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU
- IMPRESS: An Importance-Informed Multi-Tier Prefix KV Storage System for Large Language Model Inference cites H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
- IMPRESS: An Importance-Informed Multi-Tier Prefix KV Storage System for Large Language Model Inference cites Efficient Memory Management for Large Language Model Serving with PagedAttention
- IMPRESS: An Importance-Informed Multi-Tier Prefix KV Storage System for Large Language Model Inference cites DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving
- IMPRESS: An Importance-Informed Multi-Tier Prefix KV Storage System for Large Language Model Inference cites Orca: A Distributed Serving System for Transformer-Based Generative Models
- FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU cites Language Models are Few-Shot Learners
- H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models cites Language Models are Few-Shot Learners
- Efficient Memory Management for Large Language Model Serving with PagedAttention cites FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU
- Efficient Memory Management for Large Language Model Serving with PagedAttention cites Language Models are Few-Shot Learners
- Efficient Memory Management for Large Language Model Serving with PagedAttention cites Orca: A Distributed Serving System for Transformer-Based Generative Models
- DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving cites Efficient Memory Management for Large Language Model Serving with PagedAttention
- DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving cites Orca: A Distributed Serving System for Transformer-Based Generative Models
- Orca: A Distributed Serving System for Transformer-Based Generative Models cites Language Models are Few-Shot Learners
- ServerlessLLM: Low-Latency Serverless Inference for Large Language Models cites FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU
- ServerlessLLM: Low-Latency Serverless Inference for Large Language Models cites Efficient Memory Management for Large Language Model Serving with PagedAttention
- ServerlessLLM: Low-Latency Serverless Inference for Large Language Models cites Orca: A Distributed Serving System for Transformer-Based Generative Models
- vAttention: Dynamic Memory Management for Serving LLMs without PagedAttention cites FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU
- vAttention: Dynamic Memory Management for Serving LLMs without PagedAttention cites H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
- vAttention: Dynamic Memory Management for Serving LLMs without PagedAttention cites Efficient Memory Management for Large Language Model Serving with PagedAttention
- vAttention: Dynamic Memory Management for Serving LLMs without PagedAttention cites DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving
- vAttention: Dynamic Memory Management for Serving LLMs without PagedAttention cites Orca: A Distributed Serving System for Transformer-Based Generative Models
Cited by top-tier papers21
- DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model ServingYinmin Zhong, Shengyu Liu, Junda Chen, Jianbo Hu et al.OSDI 2024 · 646 citations
- ServerlessLLM: Low-Latency Serverless Inference for Large Language ModelsYao Fu, Leyang Xue, Yeqi Huang, Andrei-Octavian Brabete et al.OSDI 2024 · 125 citations
- IMPRESS: An Importance-Informed Multi-Tier Prefix KV Storage System for Large Language Model InferenceWeijian Chen, Shuibing He, Haoyang Qu, Ruidong Zhang et al.FAST 2025 · 40 citations
- vAttention: Dynamic Memory Management for Serving LLMs without PagedAttentionRamya Prabhu, Ajay Nayak, Jayashree Mohan, Ramachandran Ramjee et al.ASPLOS 2025 · 38 citations
- MegaScale-Infer: Efficient Mixture-of-Experts Model Serving with Disaggregated Expert ParallelismRuidong Zhu, Ziheng Jiang, Chao Jin, Peng Wu et al.SIGCOMM 2025 · 19 citations
Builds on13
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng et al.SOSP 2023 · 1,016 citations
- H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language ModelsZhenyu Zhang, Ying Sheng, Tianyi Zhou, Tianlong Chen et al.NeurIPS 2023 · 1,003 citations
- Orca: A Distributed Serving System for Transformer-Based Generative ModelsGyeong-In Yu, Joo Seong Jeong, Geon-Woo Kim, Soojeong Kim et al.OSDI 2022 · 690 citations
- FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUYing Sheng, Lianmin Zheng, Binhang Yuan, Zhuohan Li et al.ICML 2023 · 683 citations
Related papers
- Mell: Memory-Efficient Large Language Model Serving via Multi-GPU KV Cache ManagementQianli Liu, Zicong Hong, Peng Li, Fahao Chen et al.INFOCOM 2025 · 4 citations
- High Throughput and Low Latency LLM Serving via Adaptive KV CachingWenyan Chen, Chengzhi Lu, Huanle Xu, Kejiang Ye et al.EuroSys 2026
- AlignedServe: Orchestrating Prefix-aware Batching to Build a High-throughput and Computing-efficient LLM Serving SystemFengyao Bai, Hongbin Zhang, Zhitao Chen, Jiangsu Du et al.SIGMOD 2026 · 3 citations
- ConServe: Fine-Grained GPU Harvesting for LLM Online and Offline Co-ServingYifan Qiao, Shan Yu, Shu Anzai, Haoran Ma et al.ICML 2026 · 7 citations
- TokenFlow: Responsive LLM Text Streaming Serving under Request Burst via Preemptive SchedulingJunyi Chen, Chuheng Du, Renyuan Liu, Shuochao Yao et al.EuroSys 2026
