FlashDecoding++: Faster Large Language Model Inference on GPUs
On the map: Efficient LLM inference and serving → Serving systems and request scheduling
Abstract (arXiv)
As the Large Language Model (LLM) becomes increasingly important in various domains. However, the following challenges still remain unsolved in accelerating LLM inference: (1) Synchronized partial softmax update. The softmax operation requires a synchronized update operation among each partial softmax result, leading to ~20% overheads for the attention computation in LLMs. (2) Under-utilized computation of flat GEMM. The shape of matrices performing GEMM in LLM inference is flat, leading to under-utilized computation and >50% performance loss after padding zeros in previous designs. (3) Performance loss due to static dataflow. Kernel performance in LLM depends on varied input data features, hardware configurations, etc. A single and static dataflow may lead to a 50.25% performance loss for GEMMs of different shapes in LLM inference. We present FlashDecoding++, a fast LLM inference engine supporting mainstream LLMs and hardware back-ends. To tackle the above challenges, FlashDecoding++ creatively proposes: (1) Asynchronized softmax with unified max value. FlashDecoding++ introduces a unified max value technique for different partial softmax computations to avoid synchronization. (2) Flat GEMM optimization with double buffering. FlashDecoding++ points out that flat GEMMs with different shapes face varied bottlenecks. Then, techniques like double buffering are introduced. (3) Heuristic dataflow with hardware resource adaptation. FlashDecoding++ heuristically optimizes dataflow using different hardware resource considering input dynamics. Due to the versatility of optimizations in FlashDecoding++, FlashDecoding++ can achieve up to 4.86x and 2.18x speedup on both NVIDIA and AMD GPUs compared to Hugging Face implementations. FlashDecoding++ also achieves an average speedup of 1.37x compared to state-of-the-art LLM inference engines on mainstream LLMs.
Key facts. Cited by 70 papers in the map (data through 7 Oct 2026). Placed in Serving systems and request scheduling, one of 12 directions in Efficient LLM inference and serving. Builds on 14 of its 32 references that are in the map. First posted on arXiv 2 Nov 2023.
Builds on
14 of 32 references.
References · 14
- 2017Attention Is All You Needcited by 59,932
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
- 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 567
- 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 403
2 more
Built on by
Citing papers per year: 2023: 3; 2024: 37; 2025: 18; 2026: 12.
70 papers.
Sort:
By area:
- 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 360
- 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headscited by 283
- 2024Personal LLM Agents: Insights and Survey about the Capability, Efficiency and Securitycited by 257
- 2024VideoLLM-online: Online Video Large Language Model for Streaming Videocited by 216
- 2024A Survey on Efficient Inference for Large Language Modelscited by 197
- 2023Efficient Large Language Models: A Surveycited by 183
- 2024LLM Inference Unveiled: Survey and Roofline Model Insightscited by 147
- 2024ShadowKV: KV Cache in Shadows for High-Throughput Long-Context LLM Inferencecited by 132
- 2025FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inferencecited by 121
- 2024MagicPIG: LSH Sampling for Efficient LLM Generationcited by 112
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 101
- 2024No Token Left Behind: Reliable KV Cache Compression via Importance-Aware Mixed Precision Quantizationcited by 99
38 more
- 2024TriForce: Lossless Acceleration of Long Sequence Generation with Hierarchical Speculative Decodingcited by 98
- 2024MagicDec: Breaking the Latency-Throughput Tradeoff for Long Context Generation with Speculative Decodingcited by 87
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 84
- 2024BurstGPT: A Real-world Workload Dataset to Optimize LLM Serving Systemscited by 84
- 2024Beyond the Limits: A Survey of Techniques to Extend the Context Length in Large Language Modelscited by 71
- 2024MemServe: Context Caching for Disaggregated LLM Serving with Elastic Memory Poolcited by 67
- 2024Training-Free Activation Sparsity in Large Language Modelscited by 51
- 2024FastDecode: High-Throughput GPU-Efficient LLM Serving using Heterogeneous Pipelinescited by 49
- 2024POD-Attention: Unlocking Full Prefill-Decode Overlap for Faster LLM Inferencecited by 46
- 2024Optimizing RLHF Training for Large Language Models with Stage Fusioncited by 41
- 2024NEO: Saving GPU Memory Crisis with CPU Offloading for Online LLM Inferencecited by 37
- 2024Large Language Model Inference Acceleration: A Comprehensive Hardware Perspectivecited by 36
- 2024Decoding Speculative Decodingcited by 33
- 2024Teola: Towards End-to-End Optimization of LLM-based Applicationscited by 32
- 2024How Far Are We From AGI: Are LLMs All We Need?cited by 31
- 2025PARD: Accelerating LLM Inference with Low-Cost PARallel Draft Model Adaptationcited by 28
- 2024P/D-Serve: Serving Disaggregated Large Language Model at Scalecited by 27
- 2023The Efficiency Spectrum of Large Language Models: An Algorithmic Surveycited by 25
- 2024SubGen: Token Generation in Sublinear Time and Memorycited by 21
- 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Modelscited by 21
- 2024Deeper Insights Without Updates: The Power of In-Context Learning Over Fine-Tuningcited by 20
- 2024ParallelSpec: Parallel Drafter for Efficient Speculative Decodingcited by 20
- 2025Past-Future Scheduler for LLM Serving under SLA Guaranteescited by 20
- 2024DeFT: Decoding with Flash Tree-attention for Efficient Tree-structured LLM Inferencecited by 19
- 2025LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoningcited by 17
- 2024Lean Attention: Hardware-Aware Scalable Attention Mechanism for the Decode-Phase of Transformerscited by 16
- 2025semi-PD: Towards Efficient LLM Serving via Phase-Wise Disaggregated Computation and Unified Storagecited by 15
- 2024ConSmax: Hardware-Friendly Alternative Softmax with Learnable Parameterscited by 14
- 2025WaferLLM: Large Language Model Inference at Wafer Scalecited by 13
- 2025MoNE: Replacing Redundant Experts with Lightweight Novices for Structured Pruning of MoEcited by 12
- 2024E^2-LLM: Efficient and Extreme Length Extension of Large Language Modelscited by 11
- 2025Optimizing Mixture of Block Attentioncited by 8
- 2025Efficient Pretraining Length Scalingcited by 5
- 2025Optimal Scheduling Algorithms for LLM Inference: Theory and Practicecited by 5
- 2024QuickLLaMA: Query-aware Inference Acceleration for Large Language Modelscited by 4
- 2024Deploying Foundation Model Powered Agent Services: A Surveycited by 4
- 2025PipeSpec: Breaking Stage Dependencies in Hierarchical LLM Decodingcited by 4
- 2025QiMeng-Attention: SOTA Attention Operator is generated by SOTA Attention Algorithmcited by 4
50 most cited of 70 All 70 (JSON)
- 2026FoldAttention: Declared-Reference Softmax for Fast Decode and Deterministic Backward27 Sep 2026
- 2026Vortex: Bridging Extreme Compression and Efficient LLM Inference10 Sep 2026
- 2026Faster Than Flash: Exploiting Attention Sparsity for Efficient Long-Context Decoding31 Aug 2026
- 2026Energy-Efficient LLM Serving via Disaggregated Attention--FFN and Flexible Frequency Scaling3 Aug 2026
- 2026ASAP: A Disaggregated and Asynchronous Inference System for MoE Prefill21 Jun 2026
- 2026Tropical: Enhancing SLO Attainment in Disaggregated LLM Serving via SLO-Aware Multiplexing15 Jun 2026
- 2026Vortex: Efficient and Programmable Sparse Attention Serving for AI Agents4 Jun 2026
- 2026Memory-Bound but Not Bandwidth-Limited: The Physical AI Inference Gap in Batch-1 LLM Decode28 May 2026
- 2026An Efficient Hybrid Sparse Attention with CPU-GPU Parallelism for Long-Context Inference8 May 2026
- 2026VFA: Relieving Vector Operations in Flash Attention with Global Maximum Pre-computation14 Apr 2026
- 2026MAC-Attention: a Match-Amend-Complete Scheme for Fast and Accurate Attention Computation31 Mar 2026
- 2026DASH: Deterministic Attention Scheduling for High-throughput Reproducible LLM Training29 Jan 2026
38 more
- 2025OOCO: Latency-disaggregated Architecture for Online-Offline Co-locate LLM Serving26 Nov 2025
- 2025Optimizing Mixture of Block Attention14 Nov 2025
- 2025LUT-LLM: Efficient Large Language Model Inference with Memory-based Computations on FPGAs9 Nov 2025
- 2025CoSense-LLM: Semantics at the Edge with Cost- and Uncertainty-Aware Cloud-Edge Cooperation22 Oct 2025
- 2025VecInfer: Efficient LLM Inference with Low-Bit KV Cache via Outlier-Suppressed Vector Quantization7 Oct 2025
- 2025FlexQ: Efficient Post-training INT6 Quantization for LLM Serving via Algorithm-System Co-Design6 Aug 2025
- 2025Optimal Scheduling Algorithms for LLM Inference: Theory and Practice1 Aug 2025
- 2025Past-Future Scheduler for LLM Serving under SLA Guarantees14 Jul 2025
- 2025MoNE: Replacing Redundant Experts with Lightweight Novices for Structured Pruning of MoE1 Jul 2025
- 2025LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoning19 Jun 2025
- 2025QiMeng-Attention: SOTA Attention Operator is generated by SOTA Attention Algorithm14 Jun 2025
- 2025TaDA: Training-free recipe for Decoding with Adaptive KV Cache Compression and Mean-centering5 Jun 2025
- 2025PipeSpec: Breaking Stage Dependencies in Hierarchical LLM Decoding2 May 2025
- 2025semi-PD: Towards Efficient LLM Serving via Phase-Wise Disaggregated Computation and Unified Storage28 Apr 2025
- 2025PARD: Accelerating LLM Inference with Low-Cost PARallel Draft Model Adaptation23 Apr 2025
- 2025Efficient Pretraining Length Scaling21 Apr 2025
- 2025FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference28 Feb 2025
- 2025WaferLLM: Large Language Model Inference at Wafer Scale6 Feb 2025
- 2024Deploying Foundation Model Powered Agent Services: A Survey18 Dec 2024
- 2024MAS-Attention: Memory-Aware Stream Processing for Attention Acceleration on Resource-Constrained Edge Devices20 Nov 2024
- 2024NEO: Saving GPU Memory Crisis with CPU Offloading for Online LLM Inference2 Nov 2024
- 2024ShadowKV: KV Cache in Shadows for High-Throughput Long-Context LLM Inference28 Oct 2024
- 2024POD-Attention: Unlocking Full Prefill-Decode Overlap for Faster LLM Inference23 Oct 2024
- 2024MagicPIG: LSH Sampling for Efficient LLM Generation21 Oct 2024
- 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads14 Oct 2024
- 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Models8 Oct 2024
- 2024ParallelSpec: Parallel Drafter for Efficient Speculative Decoding8 Oct 2024
- 2024Deeper Insights Without Updates: The Power of In-Context Learning Over Fine-Tuning7 Oct 2024
- 2024Large Language Model Inference Acceleration: A Comprehensive Hardware Perspective6 Oct 2024
- 2024Optimizing RLHF Training for Large Language Models with Stage Fusion20 Sep 2024
- 2024Training-Free Activation Sparsity in Large Language Models26 Aug 2024
- 2024MagicDec: Breaking the Latency-Throughput Tradeoff for Long Context Generation with Speculative Decoding20 Aug 2024
- 2024P/D-Serve: Serving Disaggregated Large Language Model at Scale15 Aug 2024
- 2024Teola: Towards End-to-End Optimization of LLM-based Applications29 Jun 2024
- 2024MemServe: Context Caching for Disaggregated LLM Serving with Elastic Memory Pool25 Jun 2024
- 2024Building on Efficient Foundations: Effectively Training LLMs with Structured Feedforward Layers24 Jun 2024
- 2024VideoLLM-online: Online Video Large Language Model for Streaming Video17 Jun 2024
- 2024QuickLLaMA: Query-aware Inference Acceleration for Large Language Models11 Jun 2024
50 newest of 70 All 70 (JSON)
- 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headscited by 283
- 2024A Survey on Efficient Inference for Large Language Modelscited by 197
- 2024LLM Inference Unveiled: Survey and Roofline Model Insightscited by 147
- 2024ShadowKV: KV Cache in Shadows for High-Throughput Long-Context LLM Inferencecited by 132
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 101
- 2024No Token Left Behind: Reliable KV Cache Compression via Importance-Aware Mixed Precision Quantizationcited by 99
- 2024TriForce: Lossless Acceleration of Long Sequence Generation with Hierarchical Speculative Decodingcited by 98
- 2024MagicDec: Breaking the Latency-Throughput Tradeoff for Long Context Generation with Speculative Decodingcited by 87
- 2024BurstGPT: A Real-world Workload Dataset to Optimize LLM Serving Systemscited by 84
- 2024MemServe: Context Caching for Disaggregated LLM Serving with Elastic Memory Poolcited by 67
- 2024Training-Free Activation Sparsity in Large Language Modelscited by 51
- 2024FastDecode: High-Throughput GPU-Efficient LLM Serving using Heterogeneous Pipelinescited by 49
12 most cited of 40 All 40 (JSON)
- 2026FoldAttention: Declared-Reference Softmax for Fast Decode and Deterministic Backward27 Sep 2026
- 2026Vortex: Bridging Extreme Compression and Efficient LLM Inference10 Sep 2026
- 2026Energy-Efficient LLM Serving via Disaggregated Attention--FFN and Flexible Frequency Scaling3 Aug 2026
- 2026Tropical: Enhancing SLO Attainment in Disaggregated LLM Serving via SLO-Aware Multiplexing15 Jun 2026
- 2026Memory-Bound but Not Bandwidth-Limited: The Physical AI Inference Gap in Batch-1 LLM Decode28 May 2026
- 2026An Efficient Hybrid Sparse Attention with CPU-GPU Parallelism for Long-Context Inference8 May 2026
- 2026MAC-Attention: a Match-Amend-Complete Scheme for Fast and Accurate Attention Computation31 Mar 2026
- 2025OOCO: Latency-disaggregated Architecture for Online-Offline Co-locate LLM Serving26 Nov 2025
- 2025LUT-LLM: Efficient Large Language Model Inference with Memory-based Computations on FPGAs9 Nov 2025
- 2025CoSense-LLM: Semantics at the Edge with Cost- and Uncertainty-Aware Cloud-Edge Cooperation22 Oct 2025
- 2025VecInfer: Efficient LLM Inference with Low-Bit KV Cache via Outlier-Suppressed Vector Quantization7 Oct 2025
- 2025FlexQ: Efficient Post-training INT6 Quantization for LLM Serving via Algorithm-System Co-Design6 Aug 2025
12 newest of 40 All 40 (JSON)
- 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 360
- 2024VideoLLM-online: Online Video Large Language Model for Streaming Videocited by 216
- 2023Efficient Large Language Models: A Surveycited by 183
- 2025FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inferencecited by 121
- 2024MagicPIG: LSH Sampling for Efficient LLM Generationcited by 112
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 84
- 2024POD-Attention: Unlocking Full Prefill-Decode Overlap for Faster LLM Inferencecited by 46
- 2024Teola: Towards End-to-End Optimization of LLM-based Applicationscited by 32
- 2024How Far Are We From AGI: Are LLMs All We Need?cited by 31
- 2023The Efficiency Spectrum of Large Language Models: An Algorithmic Surveycited by 25
- 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Modelscited by 21
- 2024Deeper Insights Without Updates: The Power of In-Context Learning Over Fine-Tuningcited by 20
12 most cited of 22 All 22 (JSON)
- 2026Faster Than Flash: Exploiting Attention Sparsity for Efficient Long-Context Decoding31 Aug 2026
- 2026VFA: Relieving Vector Operations in Flash Attention with Global Maximum Pre-computation14 Apr 2026
- 2026DASH: Deterministic Attention Scheduling for High-throughput Reproducible LLM Training29 Jan 2026
- 2025Optimizing Mixture of Block Attention14 Nov 2025
- 2025QiMeng-Attention: SOTA Attention Operator is generated by SOTA Attention Algorithm14 Jun 2025
- 2025FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference28 Feb 2025
- 2024MAS-Attention: Memory-Aware Stream Processing for Attention Acceleration on Resource-Constrained Edge Devices20 Nov 2024
- 2024POD-Attention: Unlocking Full Prefill-Decode Overlap for Faster LLM Inference23 Oct 2024
- 2024MagicPIG: LSH Sampling for Efficient LLM Generation21 Oct 2024
- 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Models8 Oct 2024
- 2024Deeper Insights Without Updates: The Power of In-Context Learning Over Fine-Tuning7 Oct 2024
- 2024Teola: Towards End-to-End Optimization of LLM-based Applications29 Jun 2024
12 newest of 22 All 22 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2023LLM in a flash: Efficient Large Language Model Inference with Limited Memory
- 2023Efficient LLM inference solution on Intel GPU
- 2026LLM Inference in a Flash!
- 2026FlashAccel: Leveraging High-Bandwidth Flash (HBF) for High-Throughput LLM Inference
- 2026Understand and Accelerate Memory Processing Pipeline for Large Language Model Inference
- 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Serving
- 2025PIM Is All You Need: A CXL-Enabled GPU-Free System for Large Language Model Inference
- 2023Fast and Efficient 2-bit LLM Inference on GPU: 2/4/16-bit in a Weight Matrix with Asynchronous Dequantization