跳到正文
arXiv (Robotics + Hardware + Signal)· Chi Zhang, Yi Sun, Weichuang Zhang, Quan Chen, Jieru Zhao·精选AI 评分55

TranSAGE:面向大规模Transformer的空间加速器自动生成框架

TranSAGE: Automating Spatial Accelerator Generation for Large-Scale Transformer Models

AI 导读

上海交大团队提出基于编译器的框架TranSAGE,联合优化大规模Transformer在多算子流水线下的调度并自动生成对应加速器实现。该框架结合设计空间探索引擎、多算子数据流优化与基于动态规划的图划分算法,识别适合流水的算子簇及其最优数据流参数,并通过空间架构原语和lowering pass自动生成RTL实现。

推荐理由

论文给出面向大规模Transformer的加速器自动生成框架,多算子流水线调度与图划分方法可迁移到AI芯片设计流程。

正文 · 原文

arXiv:2610.32279v1 Announce Type: new 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.

来源:arXiv (Robotics + Hardware + Signal) · arxiv.org