mlsanityData to 7 Oct 2026

FlashDecoding++: Faster Large Language Model Inference on GPUs

arXiv 2311.01282 ↗First posted 2 Nov 2023cs.LG cs.CLcited by 70

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  4. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  5. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  6. 2016Pointer Sentinel Mixture Modelscited by 2,992
  7. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  8. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  9. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  10. 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
  11. 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 567
  12. 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 403
2 more
  1. 2023Receive, Reason, and React: Drive as You Say with Large Language Models in Autonomous Vehiclescited by 72
  2. 2023A Survey on Long Text Modeling with Transformerscited by 47

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 3; 2024: 37; 2025: 18; 2026: 12.

70 papers.

Sort:

By area:

  1. 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 360
  2. 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headscited by 283
  3. 2024Personal LLM Agents: Insights and Survey about the Capability, Efficiency and Securitycited by 257
  4. 2024VideoLLM-online: Online Video Large Language Model for Streaming Videocited by 216
  5. 2024A Survey on Efficient Inference for Large Language Modelscited by 197
  6. 2023Efficient Large Language Models: A Surveycited by 183
  7. 2024LLM Inference Unveiled: Survey and Roofline Model Insightscited by 147
  8. 2024ShadowKV: KV Cache in Shadows for High-Throughput Long-Context LLM Inferencecited by 132
  9. 2025FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inferencecited by 121
  10. 2024MagicPIG: LSH Sampling for Efficient LLM Generationcited by 112
  11. 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 101
  12. 2024No Token Left Behind: Reliable KV Cache Compression via Importance-Aware Mixed Precision Quantizationcited by 99
38 more
  1. 2024TriForce: Lossless Acceleration of Long Sequence Generation with Hierarchical Speculative Decodingcited by 98
  2. 2024MagicDec: Breaking the Latency-Throughput Tradeoff for Long Context Generation with Speculative Decodingcited by 87
  3. 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 84
  4. 2024BurstGPT: A Real-world Workload Dataset to Optimize LLM Serving Systemscited by 84
  5. 2024Beyond the Limits: A Survey of Techniques to Extend the Context Length in Large Language Modelscited by 71
  6. 2024MemServe: Context Caching for Disaggregated LLM Serving with Elastic Memory Poolcited by 67
  7. 2024Training-Free Activation Sparsity in Large Language Modelscited by 51
  8. 2024FastDecode: High-Throughput GPU-Efficient LLM Serving using Heterogeneous Pipelinescited by 49
  9. 2024POD-Attention: Unlocking Full Prefill-Decode Overlap for Faster LLM Inferencecited by 46
  10. 2024Optimizing RLHF Training for Large Language Models with Stage Fusioncited by 41
  11. 2024NEO: Saving GPU Memory Crisis with CPU Offloading for Online LLM Inferencecited by 37
  12. 2024Large Language Model Inference Acceleration: A Comprehensive Hardware Perspectivecited by 36
  13. 2024Decoding Speculative Decodingcited by 33
  14. 2024Teola: Towards End-to-End Optimization of LLM-based Applicationscited by 32
  15. 2024How Far Are We From AGI: Are LLMs All We Need?cited by 31
  16. 2025PARD: Accelerating LLM Inference with Low-Cost PARallel Draft Model Adaptationcited by 28
  17. 2024P/D-Serve: Serving Disaggregated Large Language Model at Scalecited by 27
  18. 2023The Efficiency Spectrum of Large Language Models: An Algorithmic Surveycited by 25
  19. 2024SubGen: Token Generation in Sublinear Time and Memorycited by 21
  20. 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Modelscited by 21
  21. 2024Deeper Insights Without Updates: The Power of In-Context Learning Over Fine-Tuningcited by 20
  22. 2024ParallelSpec: Parallel Drafter for Efficient Speculative Decodingcited by 20
  23. 2025Past-Future Scheduler for LLM Serving under SLA Guaranteescited by 20
  24. 2024DeFT: Decoding with Flash Tree-attention for Efficient Tree-structured LLM Inferencecited by 19
  25. 2025LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoningcited by 17
  26. 2024Lean Attention: Hardware-Aware Scalable Attention Mechanism for the Decode-Phase of Transformerscited by 16
  27. 2025semi-PD: Towards Efficient LLM Serving via Phase-Wise Disaggregated Computation and Unified Storagecited by 15
  28. 2024ConSmax: Hardware-Friendly Alternative Softmax with Learnable Parameterscited by 14
  29. 2025WaferLLM: Large Language Model Inference at Wafer Scalecited by 13
  30. 2025MoNE: Replacing Redundant Experts with Lightweight Novices for Structured Pruning of MoEcited by 12
  31. 2024E^2-LLM: Efficient and Extreme Length Extension of Large Language Modelscited by 11
  32. 2025Optimizing Mixture of Block Attentioncited by 8
  33. 2025Efficient Pretraining Length Scalingcited by 5
  34. 2025Optimal Scheduling Algorithms for LLM Inference: Theory and Practicecited by 5
  35. 2024QuickLLaMA: Query-aware Inference Acceleration for Large Language Modelscited by 4
  36. 2024Deploying Foundation Model Powered Agent Services: A Surveycited by 4
  37. 2025PipeSpec: Breaking Stage Dependencies in Hierarchical LLM Decodingcited by 4
  38. 2025QiMeng-Attention: SOTA Attention Operator is generated by SOTA Attention Algorithmcited by 4

50 most cited of 70 All 70 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2023LLM in a flash: Efficient Large Language Model Inference with Limited Memory
  2. 2023Efficient LLM inference solution on Intel GPU
  3. 2026LLM Inference in a Flash!
  4. 2026FlashAccel: Leveraging High-Bandwidth Flash (HBF) for High-Throughput LLM Inference
  5. 2026Understand and Accelerate Memory Processing Pipeline for Large Language Model Inference
  6. 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Serving
  7. 2025PIM Is All You Need: A CXL-Enabled GPU-Free System for Large Language Model Inference
  8. 2023Fast and Efficient 2-bit LLM Inference on GPU: 2/4/16-bit in a Weight Matrix with Asynchronous Dequantization