ECE Seminar: Dr. Neal Crago "The Whole Stack Is the Design Space: Why Deep Learning Systems Need a New Kind of Performance Model."
Seminar
Content
Abstract: Chips and data centers take years and cost billions to develop, so they are designed on performance models long before they are built and choosing the right model matters. Deep learning has made that choice harder and demands modeling for the whole stack, software and hardware, from rack design down to chip microarchitecture. With these demands has come a sweeping variety of performance models in use today across industry and academic communities. Ten years ago at ISCA, MICRO, and HPCA, two-thirds of papers that used a performance model relied on a widely used open-source simulator, most often gem5 or GPGPU-Sim. Today two-thirds rely on one-off models, most built for a single paper. So what exactly is the right kind of performance model for this field? New models continue to appear somewhere on the spectrum between analytical equations and cycle-level microarchitectural simulation, but we must ask what they are good for, where they break, and whether there is a better way to model deep learning systems.
This talk tackles these key questions. Analytical models are fast and can model large systems, but they cannot model dynamic behavior, including software sequencing, contention, caching, and work scheduling, that often decides performance. Cycle-level simulators capture those effects in great detail but require complicated compiler stacks and are too slow to go beyond a single chip or a few kernels. Instead, we start with the primary compute and data primitives which are found naturally throughout deep learning systems: the operator-tensor workgraph and its subcomponents, workitems and tiles. We then build a new full-stack modeling framework, FTLSim, around these primitives. Applications are compiled into workitems with programs of tile-level instructions, and an event-driven model of the hardware simulates them. By focusing the model design on these primitives we get most of the speed of analytical models and the dynamic fidelity of cycle-level simulators, while widening the scope to full-stack design space exploration across compilers, runtimes, and chip and rack architecture. I will show how it is used to study new compiler passes and ISA extensions, rack-scale inference serving under a power budget, and hardware from GPUs and TPUs to wafer-scale and dataflow machines, thousands of times faster than cycle-level simulation. I will close with how AI is beginning to help us better use tools like FTLSim.
Bio: Neal Crago is a research scientist in NVIDIA’s Architecture Research Group, where he leads work on performance modeling and simulation tools for deep learning systems. His current research focuses on rack-scale systems built from GPUs and heterogeneous accelerators, and his earlier work spans spatial and dataflow architectures, sparse tensor accelerators, and GPU microarchitecture and compiler co-design. He holds a Ph.D. from the University of Illinois at Urbana-Champaign.