A Configurable Cloud-Scale DNN Processor for Real-Time AI
Authors:
- Jeremy FowersJFJeremy Fowers
- Kalin OvtcharovKOKalin Ovtcharov
- Michael PapamichaelMPMichael Papamichael
- Todd MassengillTMTodd Massengill
- Ming LiuMLMing Liu
- Daniel LoDLDaniel Lo
- Shlomi AlkalaySAShlomi Alkalay
- Michael HaselmanMHMichael Haselman
- Logan AdamsLALogan Adams
- Mahdi GhandiMGMahdi Ghandi
- Stephen HeilSHStephen Heil
- Prerak PatelPPPrerak Patel
Top Cited Papers
- 1 June 2018
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-14
Abstract
Interactive AI-powered services require low-latency evaluation of deep neural network (DNN) models-aka ""real-time AI"". The growing demand for computationally expensive, state-of-the-art DNNs, coupled with diminishing performance gains of general-purpose architectures, has fueled an explosion of specialized Neural Processing Units (NPUs). NPUs for interactive services should satisfy two requirements: (1) execution of DNN models with low latency, high throughput, and high efficiency, and (2) flexibility to accommodate evolving state-of-the-art models (e.g., RNNs, CNNs, MLPs) without costly silicon updates. This paper describes the NPU architecture for Project Brainwave, a production-scale system for real-time AI. The Brainwave NPU achieves more than an order of magnitude improvement in latency and throughput over state-of-the-art GPUs on large RNNs at a batch size of 1. The NPU attains this performance using a single-threaded SIMD ISA paired with a distributed microarchitecture capable of dispatching over 7M operations from a single instruction. The spatially distributed microarchitecture, scaled up to 96,000 multiply-accumulate units, is supported by hierarchical instruction decoders and schedulers coupled with thousands of independently addressable high-bandwidth on-chip memories, and can transparently exploit many levels of fine-grain SIMD parallelism. When targeting an FPGA, microarchitectural parameters such as native datapaths and numerical precision can be "synthesis specialized" to models at compile time, enabling atypically high FPGA performance competitive with hardened NPUs. When running on an Intel Stratix 10 280 FPGA, the Brainwave NPU achieves performance ranging from ten to over thirty-five teraflops, with no batching, on large, memory-intensive RNNs.Keywords
This publication has 85 references indexed in Scilit:
- ShiDianNao2015
- PuDianNao2015
- Optimizing FPGA-based Accelerator Design for Deep Convolutional Neural Networks2015
- DaDianNao: A Machine-Learning Supercomputer2014
- Caffe2014
- A reconfigurable fabric for accelerating large-scale datacenter services2014
- DianNaoACM SIGPLAN Notices, 2014
- NeuFlow: A runtime reconfigurable dataflow processor for vision2011
- Long Short-Term MemoryNeural Computation, 1997
- Basic Linear Algebra Subprograms for Fortran UsageACM Transactions on Mathematical Software, 1979