BLaST: High Performance Inference and Pretraining using BLock Sparse Transformers

Patrik Okanovic, Sameer Deshmukh, Grzegorz Kwasniewski, Yi Zhu, Haruto Fujii +6 more
7/3/2025
cs.LGcs.DC

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

The energy consumption of large-scale ML models is dominated by data movement, shuffling billions of parameters across memory hierarchies and data centers. Sparsification offers a principled way to mitigate these costs by pruning redundant weights and activations, thereby reducing data movement. Effective sparsification to prune redundant parameters is still challenging: existing methods incur significant accuracy degradation, performance overhead, or both. We introduce (Bl)ock (a)nd (S)parse (T)ransformers (BLaST), a general, robust, and reliable method for sparsification, applicable to linear layers in all settings. Our method iteratively sparsifies weight matrices into a block sparsity pattern suitable for efficient sparse matrix-matrix (SpMM) multiplication. BLaST achieves up to 95% sparsity in MLP weights with negligible accuracy loss (majority <2.25%). We show a 2.2x inference speedup for Llama 3.2 with 16 GPUs, and up to 4.45x reduction in inference memory footprint resulting in a 2.9x reduction in GPU setup and operating costs.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{okanovic2025blast,
  title  = {BLaST: High Performance Inference and Pretraining using BLock Sparse Transformers},
  author = {Patrik Okanovic and Sameer Deshmukh and Grzegorz Kwasniewski and Yi Zhu and Haruto Fujii and Sakina Fatima and Maciej Besta and Kentaro Katayama and Takumi Honda and Yusuke Nagasaka and Torsten Hoefler},
  year   = {2025},
  eprint = {2507.03117},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.03117v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.03117.svg)](https://codeofpaper.com/paper/2507.03117)

Discussion