EngineeringComputer EngineeringComputer ScienceComputer ArchitectureLow-power DesignMemoryAccelerator ArchitectureAccelerator IntegrationData ParallelismHardware AccelerationMemory Hierarchy OptimizationMemory Subsystem DesignEnergy-efficient Memory DesignGpu ArchitectureHigh PerformanceHybrid Memory ArchitecturesLow-power Memory ArchitectureMemory LocalityNext-token PredictionTransformer Models
Abstract Decoder-only Transformer models such as Generative Pre-trained Transformers (GPT) have demonstrated exceptional performance in text generation by autoregressively predicting the next token. However, the efficiency of running GPT on current hardware systems is bounded by low compute-to-memory-ratio and high memory access. In this work, we propose a Process-in-memory (PIM) GPT accelerator, PIM-GPT, which achieves end-to-end acceleration of GPT inference with high performance and high energy efficiency. PIM-GPT leverages DRAM-based PIM designs for executing multiply-accumulate (MAC) operations directly in the DRAM chips, eliminating the need to move matrix data off-chip. Non-linear functions and data communication are supported by an application specific integrated chip (ASIC). At the software level, mapping schemes are designed to maximize data locality and computation parallelism. Overall, PIM-GPT achieves 41 − 137 × , 631 − 1074 × speedup and 123 − 383 × , 320 − 602 × energy efficiency over GPU and CPU baseline on 8 GPT models with up to 1.4 billion parameters.
34
Deep Residual Learning for Image Recognition
Kaiming He, Xiangyu Zhang, Shaoqing Ren et al. · 2016 · 222.1K citations · Full text
GPUs and the Future of Parallel Computing
Stephen W. Keckler, William J. Dally, Brucek Khailany et al. · IEEE Micro · 2011 · 664 citations
Learning Deep Transformer Models for Machine Translation
Qiang Wang, Bei Li, Tong Xiao et al. · 2019 · 623 citations · Full text
Computing, Computer Science, Natural Language Processing +11
Hardware implementation of memristor-based artificial neural networks
Fernando Aguirre, Abu Sebastian, Manuel Le Gallo et al. · Nature Communications · 2024 · 414 citations · Full text