Pathways: Asynchronous Distributed Dataflow for ML

By P. Barham, Aakanksha Chowdhery, Joseph Dean, Sanjay Ghemawat, S. Hand, D. Hurt, Michael Isard, Hyeontaek Lim, Ruoming Pang, Sudip Roy and 6 more. 2022

159 citations recorded by the source corpus.

We present the design of a new large scale orchestration layer for accelerators. Our system, Pathways, is explicitly designed to enable exploration of new systems and ML research ideas, while retaining state of the art performance for current models. Pathways uses a sharded dataflow graph of asynchronous operators that consume and produce futures, and efficiently gang-schedules heterogeneous parallel computations on thousands of accelerators while coordinating data transfers over their dedicated interconnects. Pathways makes use of a novel asynchronous distributed dataflow design that lets the control plane execute in parallel despite dependencies in the data plane. This design, with careful engineering, allows Pathways to adopt a single-controller model that makes it easier to express complex new parallelism patterns. We demonstrate that Pathways can achieve performance parity (~100% accelerator utilization) with state-of-the-art systems when running SPMD computations over 2048 TPUs, while also delivering throughput comparable to the SPMD case for Transformer models that are pipelined across 16 stages, or sharded across two islands of accelerators connected over a data center network.

Subfields: Computer Networks and Communications, 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. Elias Frantar
  4. Michele Catasta
  5. Sanjay Ghemawat
  6. Ben Hutchinson
  7. Nan Du
  8. Orhan Firat

In Hardware and Architecture

  1. Yi Tay
  2. Barret Zoph
  3. Charles Sutton
  4. Nan Du
  5. Hyung Won Chung
  6. Joseph Dean
  7. Adam Roberts
  8. Xavier García

In Efficiency & Compression

  1. Elias Frantar
  2. Dan Alistarh
  3. Yi Tay
  4. Barret Zoph
  5. Joseph Dean
  6. Noam Shazeer
  7. Nan Du
  8. Hyung Won Chung

Citations in the corpus