PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
May 10, 202138 citationsOpen Access

GSPMD: General and Scalable Parallelization for ML Computation Graphs

YXYuanzhong XuGoogle (United States)HLHyoukJoong LeeGoogle (United States)DCDehao ChenEmory University

Key Points

Key points are not available for this paper at this time.

Abstract

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.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Xu et al. (2021) studied this question.

synapsesocial.com/papers/6a19b92b05af093a17f67878https://doi.org/10.48550/arxiv.2105.04663
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1MPI: A Message-Passing Interface Standard1994 · 2,721 citations
  2. 23D U-Net: Learning Dense Volumetric Segmentation from Sparse Annotation2016 · 7,857 citations
  3. 3Untitled2015 · 50,405 citations
  4. 4TensorFlow: a system for large-scale machine learning2016 · 6,370 citations
  5. 5PyTorch: An Imperative Style, High-Performance Deep Learning Library2019 · 16,169 citations