GSPMD: General and Scalable Parallelization for ML Computation Graphs

By Yuanzhong Xu, HyoukJoong Lee, Dehao Chen, Blake A. Hechtman, Yanping Huang, Rahul Joshi, Maxim Krikun, Dmitry Lepikhin, Andy Ly, Marcello Maggioni and 5 more. 2021

188 citations recorded by the source corpus.

We present GSPMD, an automatic, compiler-based parallelization system for common machine learning computations. It allows users to write programs in the same way as for a single device, then give hints through a few annotations on how to distribute tensors, based on which GSPMD will parallelize the computation. Its representation of partitioning is simple yet general, allowing it to express different or mixed paradigms of parallelism on a wide variety of models. GSPMD infers the partitioning for every operator based on limited user annotations, making it convenient to scale existing single-device programs. It solves several technical challenges for production usage, allowing GSPMD to achieve 50% to 62% compute utilization on up to 2048 Cloud TPUv3 cores for models with up to one trillion parameters.

Subfields: Computer Networks and Communications, Computer Vision and Pattern Recognition, Hardware and Architecture, Efficiency & Compression

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. Denny Zhou
  2. Michael Isard
  3. Anca Dragan
  4. Mingxing Tan
  5. Ankur Bapna
  6. Jason Baldridge
  7. Bo Li
  8. Alexandre Passos

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Trevor Darrell
  4. Quoc V. Le
  5. Xiaogang Wang
  6. Ming-Hsuan Yang
  7. Jitendra Malik
  8. Andrew Zisserman

In Hardware and Architecture

  1. Quoc V. Le
  2. Yi Tay
  3. Barret Zoph
  4. Yanping Huang
  5. Charles Sutton
  6. Nan Du
  7. Myle Ott
  8. Sam Shleifer

In Efficiency & Compression

  1. Quoc V. Le
  2. Barret Zoph
  3. Mingxing Tan
  4. Yi Tay
  5. Hanxiao Liu
  6. Joseph Dean
  7. Zihang Dai
  8. Jiahui Yu

Citations in the corpus