paper-with-me

Papers

Blockbuster, Part 1: Block-level AI Operator Fusion

2025-04-29 · Ofer Dekel

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.

📄 PDF Abstract BibTeX arXiv:2505.07829

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
RMSNorm 설명 없음

Similar Papers 제목 키워드 기반

Data-driven Blockbuster Planning on Online Movie Knowledge Library

2018-10-24 · Ye Liu, Jiawei Zhang, Chenwei Zhang, Philip S. Yu

In the era of big data, logistic planning can be made data-driven to take advantage of accumulated knowledge in the past. While in the movie industry, movie planning can also exploit the existing online movie knowledge l…

Longitudinal Abuse and Sentiment Analysis of Hollywood Movie Dialogues using LLMs

2025-01-20 · Rohitash Chandra, Guoxiang Ren, Group-H

Over the past decades, there has been an increasing concern about the prevalence of abusive and violent content in Hollywood movies. This study uses Large Language Models (LLMs) to explore the longitudinal abuse and sent…

Sentiment Analysis

SwiftDiffusion: Efficient Diffusion Model Serving with Add-on Modules

2024-07-02 · Suyi Li, Lingyun Yang, Xiaoxiao Jiang, Hanfeng Lu 외

Text-to-image (T2I) generation using diffusion models has become a blockbuster service in today's AI cloud. A production T2I service typically involves a serving workflow where a base diffusion model is augmented with va…

Image Generation

NABLA: Neighborhood Adaptive Block-Level Attention

2025-07-17 · Dmitrii Mikhailov, Aleksey Letunovskiy, Maria Kovaleva, Vladimir Arkhipkin 외 arxiv

Recent progress in transformer-based architectures has demonstrated remarkable success in video generation tasks. However, the quadratic complexity of full attention mechanisms remains a critical bottleneck, particularly…

Video Generation

Hierarchical Attention via Domain Decomposition

2026-06-16 · Stephan Köhler, Oliver Rheinbach arxiv

We propose a hierarchical attention mechanism based on two-level overlapping Schwarz domain decomposition. The method is motivated by the observation that two-level Schwarz domain decomposition methods combine local subd…