Pith. sign in

Memory-efficient array redistribution through portable collective communication

1 Pith paper cite this work. Polarity classification is still indexing.

1 Pith paper citing it
abstract

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\times$, with maximum speedups as a high as $5.7\times$, while offering provable memory guarantees, making our system particularly appealing for large-scale models.

citation-role summary

background 1

citation-polarity summary

fields

eess.IV 1

years

2024 1

verdicts

REJECT 1

roles

background 1

polarities

unclear 1

representative citing papers

citing papers explorer

Showing 1 of 1 citing paper.

  • Diffusion-Based Approaches in Medical Image Generation and Analysis eess.IV · 2024-12-22 · reject · none · ref 61 · internal anchor

    CNNs trained only on diffusion-generated synthetic medical images achieved 72-91% accuracy on real test images across three domains, but no comparison to models trained on real data was performed.