Glow: Graph Lowering Compiler Techniques for Neural Networks

By Nadav Rotem, J. Fix, Saleem Abdulrasool, Summer Deng, Roman Dzhabarov, James Hegeman, Roman Levenstein, Bertrand A. Maher, Nadathur Rajagopalan Satish, J. Olesen and 3 more. 2018

337 citations recorded by the source corpus.

This paper presents the design of Glow, a machine learning compiler for heterogeneous hardware. It is a pragmatic approach to compilation that enables the generation of highly optimized code for multiple targets. Glow lowers the traditional neural network dataflow graph into a two-phase strongly-typed intermediate representation. The high-level intermediate representation allows the optimizer to perform domain-specific optimizations. The lower-level instruction-based address-only intermediate representation allows the compiler to perform memory-related optimizations, such as instruction scheduling, static memory allocation and copy elimination. At the lowest level, the optimizer performs machine-specific code generation to take advantage of specialized hardware features. Glow features a lowering phase which enables the compiler to support a high number of input operators as well as a large number of hardware targets by eliminating the need to implement all operators on all targets. The lowering phase is designed to reduce the input space and allow new hardware backends to focus on a small number of linear algebra primitives.

Subfields: Computer Vision and Pattern Recognition, Electrical and Electronic Engineering, Hardware and Architecture, ML Systems & Hardware

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Computer Vision and Pattern Recognition

  1. Quoc V. Le
  2. Luc Van Gool
  3. Dacheng Tao
  4. Yi Yang
  5. Trevor Darrell
  6. Xiaogang Wang
  7. Alan L. Yuille
  8. Jitendra Malik

In Electrical and Electronic Engineering

  1. Carole-Jean Wu
  2. Tal Ben-Nun
  3. Gu-Yeon Wei
  4. David M. Brooks
  5. Torsten Hoefler
  6. Feng Yan
  7. Vijay Janappa Reddi
  8. Sungjoo Yoo

In Hardware and Architecture

  1. Yanping Huang
  2. Gu-Yeon Wei
  3. David M. Brooks
  4. Z. Chen
  5. Carole-Jean Wu
  6. Tal Ben-Nun
  7. Nadathur Rajagopalan Satish
  8. Feng Yan

In ML Systems & Hardware

  1. Carole-Jean Wu
  2. Gu-Yeon Wei
  3. David M. Brooks
  4. Tal Ben-Nun
  5. Feng Yan
  6. Yinlong Xu
  7. Dmitry Lepikhin
  8. Torsten Hoefler

Citations in the corpus