mlsanityData to 14 Oct 2026

Blockbuster, Part 1: Block-level AI Operator Fusion

arXiv 2505.07829 ↗First posted 29 Apr 2025cs.LG cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Blockbuster is a framework for AI operator fusion in inference programs. The Blockbuster framework is compatible with any multiprocessor architecture that has a tiered memory hierarchy, including GPUs, multi-core CPUs, and some AI accelerator chips. It includes a graph-based representation for AI workloads, called a block program, which explicitly models how blocks of data move between the memory tiers. It also includes an operator fusion procedure, which is made up of a candidate selection algorithm and a fusion algorithm that fuses each individual candidate - this two-algorithm structure makes Blockbuster especially suitable for large AI programs. The current paper focuses on the fusion algorithm, which is a rule-based technique. While the literature is full of previous rule-based fusion algorithms, what sets our algorithm apart is its direct modeling of data movement between memory tiers, resulting in uniquely powerful fusion results. As a first sanity check, we demonstrate how our algorithm automatically rediscovers the well-known Flash Attention kernel. Then, we demonstrate the real power of our approach by fusing LayerNorm with matrix multiplication and RMSNorm with FNN-SwiGLU - the latter involves fusing three matrix multiplications, a Hadamard product, a reduction, and a few elementwise operations into a single mega-kernel.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 10 of its 19 references that are in the map. First posted on arXiv 29 Apr 2025.

Builds on

10 of 19 references.

References · 10

  1. 2017Attention Is All You Needcited by 60,361
  2. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  3. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  4. 2020GLU Variants Improve Transformercited by 1,804
  5. 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 201
  6. 2021DNNFusion: Accelerating Deep Neural Networks Execution with Advanced Operator Fusioncited by 57
  7. 2024Mirage: A Multi-Level Superoptimizer for Tensor Programscited by 41
  8. 2021CoSA: Scheduling by Constrained Optimization for Spatial Acceleratorscited by 22
  9. 2020FusionStitching: Boosting Memory Intensive Computations for Deep Learning Workloadscited by 9
  10. 2024Optimal Kernel Orchestration for Tensor Programs with Korchcited by 7

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.