A Heterogeneous Chiplet Architecture for Accelerating End-to-End Transformer Models
Preprint
Abstract
Transformers have revolutionized deep learning and generative modeling, enabling unprecedented advancements in natural language processing tasks. However, the size of transformer models is increasing continuously, driven by enhanced capabilities across various deep-learning tasks. This trend of ever-increasing model size has given rise to new challenges in terms of memory and computing requirements. Conventional computing platforms, including GPUs, suffer from suboptimal performance due to the memory demands imposed by models with millions/billions of parameters. The emerging chiplet-based platforms provide a new avenue for compute- and data-intensive machine learning (ML) applications enabled by a Network-on-Interposer (NoI). However, designing suitable hardware accelerators for executing Transformer inference workloads is challenging due to a wide variety of complex computing kernels in the Transformer architecture. In this paper, we leverage chiplet-based heterogeneous integration (HI) to design a high-performance and energy-efficient multi-chiplet platform to accelerate transformer workloads. We demonstrate that the proposed NoI architecture caters to the data access patterns inherent in a transformer model. The optimized placement of the chiplets and the associated NoI links and routers enable superior performance compared to the state-of-the-art hardware accelerators. The proposed NoI-based architecture demonstrates scalability across varying transformer models and improves latency and energy efficiency by up to 22.8x and 5.36x respectively.Keywords
All Related Versions
This publication has 21 references indexed in Scilit:
- HexaMesh: Scaling to Hundreds of Chiplets with an Optimized Chiplet Arrangement2023
- Chiplets: How Small is too Small?2023
- HAIMA: A Hybrid SRAM and DRAM Accelerator-in-Memory Architecture for Transformer2023
- TransPIM: A Memory-based Acceleration via Software-Hardware Co-Design for Transformer2022
- NN-Baton: DNN Workload Orchestration and Chiplet Granularity Exploration for Multichip Accelerators2021
- SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruning2021
- IntAct: A 96-Core Processor With Six Chiplets 3D-Stacked on an Active Interposer With Distributed Interconnects and Integrated Power ManagementIEEE Journal of Solid-State Circuits, 2020
- Kite: A Family of Heterogeneous Interposer Topologies Enabled via Accurate Interconnect Modeling2020
- Interconnect-Aware Area and Energy Optimization for In-Memory Acceleration of DNNsIEEE Design & Test, 2020
- A^3: Accelerating Attention Mechanisms in Neural Networks with Approximation2020