Flash-LLM: Enabling Cost-Effective and Highly-Efficient Large Generative Model Inference with Unstructured Sparsity
Not on the map. Why?
Abstract (arXiv)
With the fast growth of parameter size, it becomes increasingly challenging to deploy large generative models as they typically require large GPU memory consumption and massive computation. Unstructured model pruning has been a common approach to reduce both GPU memory footprint and the overall computation while retaining good model accuracy. However, the existing solutions do not provide a highly-efficient support for handling unstructured sparsity on modern GPUs, especially on the highly-structured Tensor Core hardware. Therefore, we propose Flash-LLM for enabling low-cost and highly-efficient large generative model inference with the sophisticated support of unstructured sparsity on high-performance but highly restrictive Tensor Cores. Based on our key observation that the main bottleneck of generative model inference is the several skinny matrix multiplications for which Tensor Cores would be significantly under-utilized due to low computational intensity, we propose a general Load-as-Sparse and Compute-as-Dense methodology for unstructured sparse matrix multiplication. The basic insight is to address the significant memory bandwidth bottleneck while tolerating redundant computations that are not critical for end-to-end performance on Tensor Cores. Based on this, we design an effective software framework for Tensor Core based unstructured SpMM, leveraging on-chip resources for efficient sparse data extraction and computation/memory-access overlapping. At SpMM kernel level, Flash-LLM significantly outperforms the state-of-the-art library, i.e., Sputnik and SparTA by an average of 2.9x and 1.5x, respectively. At end-to-end framework level on OPT-30B/66B/175B models, for tokens per GPU-second, Flash-LLM achieves up to 3.8x and 3.6x improvement over DeepSpeed and FasterTransformer, respectively, with significantly lower inference cost.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 37 of its 57 references that are in the map. First posted on arXiv 19 Sep 2023.
Builds on
37 of 57 references.
References · 37
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,090
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
- 2018Rethinking the Value of Network Pruningcited by 595
25 more
- 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 567
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
- 2019Importance Estimation for Neural Network Pruningcited by 531
- 2021Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networkscited by 521
- 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 403
- 2021Accelerating Sparse Deep Neural Networkscited by 213
- 2022TranAD: Deep Transformer Networks for Anomaly Detection in Multivariate Time Series Datacited by 211
- 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 177
- 2022Can Foundation Models Wrangle Your Data?cited by 173
- 2020Sparse GPU Kernels for Deep Learningcited by 138
- 2020DAPPLE: A Pipelined Data Parallel Approach for Training Large Modelscited by 100
- 2017Soft Weight-Sharing for Neural Network Compressioncited by 99
- 2020PyTorch Distributed: Experiences on Accelerating Data Parallel Trainingcited by 87
- 2023FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device Placementcited by 52
- 2022Galvatron: Efficient Transformer Training over Multiple GPUs Using Automatic Parallelismcited by 51
- 2022SparseTIR: Composable Abstractions for Sparse Compilation in Deep Learningcited by 47
- 2019Learning Sparse Networks Using Targeted Dropoutcited by 40
- 2022MiCS: Near-linear Scaling for Training Gigantic Model on Public Cloudcited by 21
- 20211xN Pattern for Pruning Convolutional Neural Networkscited by 16
- 2022Efficient Quantized Sparse Matrix Operations on Tensor Corescited by 16
- 2019CROSSBOW: Scaling Deep Learning with Small Batch Sizes on Multi-GPU Serverscited by 14
- 2023From BERT to GPT-3 Codex: Harnessing the Potential of Very Large Language Models for Data Managementcited by 10
- 2022Optimizing Tensor Programs on Flexible Storagecited by 9
- 2022Harmony: Overcoming the Hurdles of GPU Memory Capacity to Train Massive DNN Models on Commodity Serverscited by 6
- 2022Shfl-BW: Accelerating Deep Neural Network Inference with Tensor-Core Aware Weight Pruningcited by 4
Built on by
Citing papers per year: 2023: 3; 2024: 4; 2025: 5; 2026: 2.
14 papers.
Sort:
By area:
- 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPUcited by 210
- 2023LLM in a flash: Efficient Large Language Model Inference with Limited Memorycited by 170
- 2024BurstGPT: A Real-world Workload Dataset to Optimize LLM Serving Systemscited by 84
- 2024How Far Are We From AGI: Are LLMs All We Need?cited by 31
- 2024BatchLLM: Optimizing Large Batched LLM Inference with Global Prefix Sharing and Throughput-oriented Token Batchingcited by 31
- 2025PAPI: Exploiting Dynamic Parallelism in Large Language Model Decoding with a Processing-In-Memory-Enabled Computing Systemcited by 19
- 2024MixLLM: LLM Quantization with Global Mixed-precision between Output-features and Highly-efficient System Designcited by 17
- 2025FlexPipe: Adapting Dynamic LLM Serving Through Inflight Pipeline Refactoring in Fragmented Serverless Clusterscited by 9
- 2026ZipServ: Fast and Memory-Efficient LLM Inference with Hardware-Aware Lossless Compressioncited by 8
- 2025Apt-Serve: Adaptive Request Scheduling on Hybrid Cache for Scalable LLM Inference Servingcited by 6
- 2023MOSEL: Inference Serving Using Dynamic Modality Selectioncited by 5
- 2025A Cost-Effective Near-Storage Processing Solution for Offline Inference of Long-Context LLMscited by 4
- 2026Unified Static-Dynamic Pruning for Efficient LLM Inference24 Jul 2026
- 2026ZipServ: Fast and Memory-Efficient LLM Inference with Hardware-Aware Lossless Compression18 Mar 2026
- 2025FlexPipe: Adapting Dynamic LLM Serving Through Inflight Pipeline Refactoring in Fragmented Serverless Clusters13 Oct 2025
- 2025Long Exposure: Accelerating Parameter-Efficient Fine-Tuning for LLMs under Shadowy Sparsity12 Oct 2025
- 2025Apt-Serve: Adaptive Request Scheduling on Hybrid Cache for Scalable LLM Inference Serving10 Apr 2025
- 2025PAPI: Exploiting Dynamic Parallelism in Large Language Model Decoding with a Processing-In-Memory-Enabled Computing System21 Feb 2025
- 2025A Cost-Effective Near-Storage Processing Solution for Offline Inference of Long-Context LLMs14 Feb 2025
- 2024MixLLM: LLM Quantization with Global Mixed-precision between Output-features and Highly-efficient System Design19 Dec 2024
- 2024BatchLLM: Optimizing Large Batched LLM Inference with Global Prefix Sharing and Throughput-oriented Token Batching29 Nov 2024
- 2024How Far Are We From AGI: Are LLMs All We Need?16 May 2024
- 2024BurstGPT: A Real-world Workload Dataset to Optimize LLM Serving Systems31 Jan 2024
- 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPU16 Dec 2023
2 more
- 2023LLM in a flash: Efficient Large Language Model Inference with Limited Memorycited by 170
- 2024BurstGPT: A Real-world Workload Dataset to Optimize LLM Serving Systemscited by 84
- 2025PAPI: Exploiting Dynamic Parallelism in Large Language Model Decoding with a Processing-In-Memory-Enabled Computing Systemcited by 19
- 2025FlexPipe: Adapting Dynamic LLM Serving Through Inflight Pipeline Refactoring in Fragmented Serverless Clusterscited by 9
- 2026ZipServ: Fast and Memory-Efficient LLM Inference with Hardware-Aware Lossless Compressioncited by 8
- 2025Apt-Serve: Adaptive Request Scheduling on Hybrid Cache for Scalable LLM Inference Servingcited by 6
- 2025A Cost-Effective Near-Storage Processing Solution for Offline Inference of Long-Context LLMscited by 4
- 2026Unified Static-Dynamic Pruning for Efficient LLM Inferencecited by 0
- 2026Unified Static-Dynamic Pruning for Efficient LLM Inference24 Jul 2026
- 2026ZipServ: Fast and Memory-Efficient LLM Inference with Hardware-Aware Lossless Compression18 Mar 2026
- 2025FlexPipe: Adapting Dynamic LLM Serving Through Inflight Pipeline Refactoring in Fragmented Serverless Clusters13 Oct 2025
- 2025Apt-Serve: Adaptive Request Scheduling on Hybrid Cache for Scalable LLM Inference Serving10 Apr 2025
- 2025PAPI: Exploiting Dynamic Parallelism in Large Language Model Decoding with a Processing-In-Memory-Enabled Computing System21 Feb 2025
- 2025A Cost-Effective Near-Storage Processing Solution for Offline Inference of Long-Context LLMs14 Feb 2025
- 2024BurstGPT: A Real-world Workload Dataset to Optimize LLM Serving Systems31 Jan 2024
- 2023LLM in a flash: Efficient Large Language Model Inference with Limited Memory12 Dec 2023
- 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPUcited by 210
- 2024How Far Are We From AGI: Are LLMs All We Need?cited by 31
- 2024BatchLLM: Optimizing Large Batched LLM Inference with Global Prefix Sharing and Throughput-oriented Token Batchingcited by 31
- 2024MixLLM: LLM Quantization with Global Mixed-precision between Output-features and Highly-efficient System Designcited by 17
- 2023MOSEL: Inference Serving Using Dynamic Modality Selectioncited by 5
- 2025Long Exposure: Accelerating Parameter-Efficient Fine-Tuning for LLMs under Shadowy Sparsitycited by 2
- 2025Long Exposure: Accelerating Parameter-Efficient Fine-Tuning for LLMs under Shadowy Sparsity12 Oct 2025
- 2024MixLLM: LLM Quantization with Global Mixed-precision between Output-features and Highly-efficient System Design19 Dec 2024
- 2024BatchLLM: Optimizing Large Batched LLM Inference with Global Prefix Sharing and Throughput-oriented Token Batching29 Nov 2024
- 2024How Far Are We From AGI: Are LLMs All We Need?16 May 2024
- 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPU16 Dec 2023
- 2023MOSEL: Inference Serving Using Dynamic Modality Selection27 Oct 2023