mlsanityData to 7 Oct 2026

Flash-LLM: Enabling Cost-Effective and Highly-Efficient Large Generative Model Inference with Unstructured Sparsity

arXiv 2309.10285 ↗First posted 19 Sep 2023cs.DC cs.AR cs.LGcited by 14

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  5. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
  6. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
  7. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
  8. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  9. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
  10. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,090
  11. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
  12. 2018Rethinking the Value of Network Pruningcited by 595
25 more
  1. 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 567
  2. 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
  3. 2019Importance Estimation for Neural Network Pruningcited by 531
  4. 2021Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networkscited by 521
  5. 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 403
  6. 2021Accelerating Sparse Deep Neural Networkscited by 213
  7. 2022TranAD: Deep Transformer Networks for Anomaly Detection in Multivariate Time Series Datacited by 211
  8. 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 177
  9. 2022Can Foundation Models Wrangle Your Data?cited by 173
  10. 2020Sparse GPU Kernels for Deep Learningcited by 138
  11. 2020DAPPLE: A Pipelined Data Parallel Approach for Training Large Modelscited by 100
  12. 2017Soft Weight-Sharing for Neural Network Compressioncited by 99
  13. 2020PyTorch Distributed: Experiences on Accelerating Data Parallel Trainingcited by 87
  14. 2023FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device Placementcited by 52
  15. 2022Galvatron: Efficient Transformer Training over Multiple GPUs Using Automatic Parallelismcited by 51
  16. 2022SparseTIR: Composable Abstractions for Sparse Compilation in Deep Learningcited by 47
  17. 2019Learning Sparse Networks Using Targeted Dropoutcited by 40
  18. 2022MiCS: Near-linear Scaling for Training Gigantic Model on Public Cloudcited by 21
  19. 20211xN Pattern for Pruning Convolutional Neural Networkscited by 16
  20. 2022Efficient Quantized Sparse Matrix Operations on Tensor Corescited by 16
  21. 2019CROSSBOW: Scaling Deep Learning with Small Batch Sizes on Multi-GPU Serverscited by 14
  22. 2023From BERT to GPT-3 Codex: Harnessing the Potential of Very Large Language Models for Data Managementcited by 10
  23. 2022Optimizing Tensor Programs on Flexible Storagecited by 9
  24. 2022Harmony: Overcoming the Hurdles of GPU Memory Capacity to Train Massive DNN Models on Commodity Serverscited by 6
  25. 2022Shfl-BW: Accelerating Deep Neural Network Inference with Tensor-Core Aware Weight Pruningcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 3; 2024: 4; 2025: 5; 2026: 2.

14 papers.

Sort:

By area: