TranSAGE: Automating Spatial Accelerator Generation for Large-Scale Transformer Models
Chi Zhang, Yi Sun, Weichuang Zhang, Quan Chen, Jieru Zhao
Key points
From the paper's conclusion- We propose TranSAGE, a compiler-based framework that jointly optimizes scheduling for large-scale Transformers under multi-operation pipelining and generates corresponding accelerator implementations.
Abstract
Large-scale Transformers have achieved remarkable success across NLP, computer vision, and robotics, but their growing computational and memory demands challenge efficient inference. Spatial accelerators offer advantages in on-chip bandwidth and energy efficiency, yet designing them for large models remains costly and time-consuming. Existing accelerator generators typically focus on single-operation support, overlooking the benefits of multi-operation pipelining, which limits throughput and energy efficiency. We propose TranSAGE, a compiler-based framework that jointly optimizes scheduling for large-scale Transformers under multi-operation pipelining and generates corresponding accelerator implementations. Our approach integrates a design space exploration (DSE) engine with multi-operation dataflow optimization and a dynamic programming-based graph partitioning algorithm to efficiently identify pipeline-friendly operation clusters and their optimal dataflow parameters. We further design spatial architecture primitives and lowering passes to automatically generate efficient RTL implementations. Evaluations on four representative LLMs demonstrate that TranSAGE achieves up to 2.41x higher throughput and 13.04x higher energy efficiency than commercial GPU/NPU baselines. Compared with state-of-the-art accelerator generators, TranSAGE achieves up to 11.33x higher throughput and 6.07x higher energy efficiency. Our code is available at https://github.com/sjtu-zhao-lab/TranSAGE.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- TauLang: A Language and Compiler for Space-Time Programming on Statically Scheduled AcceleratorsarXiv · 2026
- MaxKernel: Agentic Kernel Generation for TPUsarXiv · 2026
- Generalized Tensor Parallelism: Powering Trillion-Parameter LLM Training at 10+ EFLOP/sarXiv · 2026
- Cleave: Scaling Tensor Program Optimization via Decoupled Algebraic Search and Operator SchedulingarXiv · 2026
- Layer-wise CPU-GPU Scheduling for LLM Inference on Memory-Limited Consumer GPUsarXiv · 2026
- Large Language Models for AI InfrastructurearXiv · 2026