mlsanityData to 7 Oct 2026

Memory-efficient array redistribution through portable collective communication

arXiv 2112.01075 ↗First posted 2 Dec 2021cs.DC cs.LG cs.PLcited by 3

Not on the map. Why?

Abstract (arXiv)

Modern large-scale deep learning workloads highlight the need for parallel execution across many devices in order to fit model data into hardware accelerator memories. In these settings, array redistribution may be required during a computation, but can also become a bottleneck if not done efficiently. In this paper we address the problem of redistributing multi-dimensional array data in SPMD computations, the most prevalent form of parallelism in deep learning. We present a type-directed approach to synthesizing array redistributions as sequences of MPI-style collective operations. We prove formally that our synthesized redistributions are memory-efficient and perform no excessive data transfers. Array redistribution for SPMD computations using collective operations has also been implemented in the context of the XLA SPMD partitioner, a production-grade tool for partitioning programs across accelerator systems. We evaluate our approach against the XLA implementation and find that our approach delivers a geometric mean speedup of 1.22×, with maximum speedups as a high as 5.7×, while offering provable memory guarantees, making our system particularly appealing for large-scale models.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 9 of its 34 references that are in the map. First posted on arXiv 2 Dec 2021.

Builds on

9 of 34 references.

References · 9

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  4. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
  5. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 610
  6. 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 177
  7. 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 168
  8. 2021GSPMD: General and Scalable Parallelization for ML Computation Graphscited by 109
  9. 2020HeAT -- a Distributed and GPU-accelerated Tensor Framework for Data Analyticscited by 3

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 1; 2024: 1.

3 papers.