DistIR: An Intermediate Representation for Optimizing Distributed Neural Networks

By Keshav Santhanam, Siddharth Krishna, Ryota Tomioka, Andrew William Fitzgibbon, Tim Harris. 2021

21 citations recorded by the source corpus.

The rapidly growing size of deep neural network (DNN) models and datasets has given rise to a variety of distribution strategies such as data, horizontal, and pipeline parallelism. However, selecting the best set of strategies for a given model and hardware configuration is challenging because debugging and testing on clusters is expensive. In this work we propose DistIR, an IR for explicitly representing distributed DNN computation that can capture many popular distribution strategies. We build an analysis framework for DistIR programs, including a simulator and reference executor that can be used to automatically search for an optimal distribution strategy. Our unified global representation also eases development of new distribution strategies, as one can reuse the lowering to per-rank backend programs. Preliminary results using a grid search over a hybrid data/horizontal/pipeline-parallel space suggest DistIR and its simulator can aid automatic DNN distribution.

Subfields: Computer Networks and Communications, Computer Vision and Pattern Recognition, Hardware and Architecture, Model Architectures

How researchers see this paper

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

In Computer Networks and Communications

  1. Ruoming Pang

In Computer Vision and Pattern Recognition

  1. Quoc V. Le
  2. Yonghui Wu
  3. Luc Van Gool
  4. Yanping Huang
  5. Dacheng Tao
  6. Yi Yang
  7. Noam Shazeer
  8. Alan L. Yuille

In Hardware and Architecture

  1. Yanping Huang
  2. Dmitry Lepikhin
  3. Noam Shazeer
  4. Maxim Krikun
  5. Shibo Wang
  6. Yuanzhong Xu
  7. Blake A. Hechtman
  8. HyoukJoong Lee

In Model Architectures

  1. Yanping Huang
  2. Yonghui Wu
  3. Ruoming Pang
  4. Maxim Krikun
  5. Yuanzhong Xu
  6. Dmitry Lepikhin
  7. HyoukJoong Lee
  8. Dehao Chen

Citations in the corpus