POD-Attention: Unlocking Full Prefill-Decode Overlap for Faster LLM Inference
Aditya K. Kamath, Ramya Prabhu, Jayashree Mohan, Simon Peter, Ramachandran Ramjee, Ashish Panwar
摘要
Each request in LLM inference goes through two phases: compute-bound prefill and memory-bandwidth-bound decode. To improve GPU utilization, recent systems use hybrid batching that combines the prefill and decode phases of different requests into the same batch. This approach optimizes linear operations but remains inefficient for attention computation because existing attention kernels specialize execution independently for the prefill and decode phases. In this paper, we present POD-Attention - the first GPU kernel that efficiently computes attention for hybrid batches. POD-Attention aims to maximize the utilization of both compute and memory bandwidth by carefully allocating the GPU's resources such that prefill and decode operations happen concurrently on the same multiprocessor. POD-Attention speeds up attention computation by up to (mean ), enabling higher throughput and lower latency LLM inference compared to the use of independently optimized prefill and decode attention kernels.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 21 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Tail-Optimized Caching for LLM Inference 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
- Tail-Optimized Caching for LLM Inference 引用了 SGLang: Efficient Execution of Structured Language Model Programs
- Efficient LLM Serving for Agentic Workflows: A Data Systems Perspective 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Efficient LLM Serving for Agentic Workflows: A Data Systems Perspective 引用了 FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
- Efficient LLM Serving for Agentic Workflows: A Data Systems Perspective 引用了 Resource Multiplexing in Tuning and Serving Large Language Models
- Efficient LLM Serving for Agentic Workflows: A Data Systems Perspective 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
- Efficient LLM Serving for Agentic Workflows: A Data Systems Perspective 引用了 FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision
- Efficient LLM Serving for Agentic Workflows: A Data Systems Perspective 引用了 SGLang: Efficient Execution of Structured Language Model Programs
- Efficient LLM Serving for Agentic Workflows: A Data Systems Perspective 引用了 vAttention: Dynamic Memory Management for Serving LLMs without PagedAttention
- FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Resource Multiplexing in Tuning and Serving Large Language Models 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
- Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Towards High-Goodput LLM Serving with Prefill-decode Multiplexing 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
- Towards High-Goodput LLM Serving with Prefill-decode Multiplexing 引用了 SGLang: Efficient Execution of Structured Language Model Programs
- FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision 引用了 FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
- FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
- SGLang: Efficient Execution of Structured Language Model Programs 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- SGLang: Efficient Execution of Structured Language Model Programs 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
- vAttention: Dynamic Memory Management for Serving LLMs without PagedAttention 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- vAttention: Dynamic Memory Management for Serving LLMs without PagedAttention 引用了 FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
- vAttention: Dynamic Memory Management for Serving LLMs without PagedAttention 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
- vAttention: Dynamic Memory Management for Serving LLMs without PagedAttention 引用了 FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision
- vAttention: Dynamic Memory Management for Serving LLMs without PagedAttention 引用了 SGLang: Efficient Execution of Structured Language Model Programs
引用它的顶会 Paper21
- vAttention: Dynamic Memory Management for Serving LLMs without PagedAttentionRamya Prabhu, Ajay Nayak, Jayashree Mohan, Ramachandran Ramjee 等ASPLOS 2025 · 38 次引用
- Towards High-Goodput LLM Serving with Prefill-decode MultiplexingYukang Chen, Weihao Cui, Han Zhao, Ziyi Xu 等ASPLOS 2026 · 18 次引用
- Efficient LLM Serving for Agentic Workflows: A Data Systems PerspectiveNoppanat Wadlom, Junyi Shen, Yao LuSIGMOD 2026 · 14 次引用
- Resource Multiplexing in Tuning and Serving Large Language ModelsYongjun He, Haofeng Yang, Yao Lu, Ana Klimovic 等USENIX ATC 2025 · 9 次引用
- Tail-Optimized Caching for LLM InferenceWenxin Zhang, Yueying Li, Ciamac C. Moallemi, Tianyi PengNeurIPS 2025 · 6 次引用
它引用的 Paper19
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
- FlashAttention-2: Faster Attention with Better Parallelism and Work PartitioningTri DaoICLR 2024 · 2,600 次引用
- SGLang: Efficient Execution of Structured Language Model ProgramsLianmin Zheng, Liangsheng Yin, Zhiqiang Xie, Chuyue Sun 等NeurIPS 2024 · 1,586 次引用
- Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng 等SOSP 2023 · 1,016 次引用
- FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisionJay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar 等NeurIPS 2024 · 727 次引用
相关 Paper
- Bullet: Boosting GPU Utilization for LLM Serving via Dynamic Spatial-Temporal OrchestrationZejia Lin, Hongxin Xu, Guanyi Chen, Zhiguang Chen 等ASPLOS 2026 · 2 次引用
- PAT: Accelerating LLM Decoding via Prefix-Aware Attention with Resource Efficient Multi-Tile KernelJinjun Yi, Zhixin Zhao, Yitao Hu, Ke Yan 等ASPLOS 2026 · 1 次引用
- Hybe: GPU-NPU Hybrid System for Efficient LLM Inference with Million-Token Context WindowSeungjae Moon, Junseo Cha, Hyunjun Park, Joo-Young KimISCA 2025 · 11 次引用
- DuetServe: Harmonizing Prefill and Decode for LLM Serving via Adaptive GPU MultiplexingLei Gao, Chaoyi Jiang, Hossein Entezari Zarch, Daniel Wong 等ICML 2026 · 4 次引用
- Accelerating LLM Inference Throughput via Asynchronous KV Cache PrefetchingYanhao Dong, Yubo Miao, Weinan Li, Xiao Zheng 等AAAI 2026 · 4 次引用
