paper-with-me

홈 › Papers

Memory-efficient array redistribution through portable collective communication

2021-12-02 · Norman A. Rink, Adam Paszke, Dimitrios Vytiniotis, Georg Stefan Schmid

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.

📄 PDF Abstract BibTeX arXiv:2112.01075

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Completing Sets of Prototype Transfer Functions for Subspace-based Direction of Arrival Estimation of Multiple Speakers

2025-01-13 · Daniel Fejgin, Simon Doclo

To estimate the direction of arrival (DOA) of multiple speakers, subspace-based prototype transfer function matching methods such as multiple signal classification (MUSIC) or relative transfer function (RTF) vector match…

Direction of Arrival Estimation

Attention at the Theoretical Minimum: A Mathematics of Arrays Framework for Memory-Optimal Transformer Kernels

2026-06-05 · Lenore Mullin, Gaetan Hains arxiv

The attention mechanism is the dominant computational bottleneck in modern transformer-based AI. Its standard implementation incurs quadratic memory traffic in the sequence length~$n$, and DRAM accesses cost 100--1000$\t…

Enabling more efficient and cost-effective AI/ML systems with Collective Mind, virtualized MLOps, MLPerf, Collective Knowledge Playground and reproducible optimization tournaments

2024-06-24 · Grigori Fursin

This white paper introduces my educational community initiative to learn how to run AI, ML and other emerging workloads in the most efficient and cost-effective way across diverse models, data sets, software and hardware…

Benchmarking

HetCCL: Enabling Collective Communication For Mixed-Vendor Heterogeneous Clusters

2026-05-29 · Yuejie Wang, Tao Chang, Yuanyuan Zhao, Yulong Ao 외 arxiv

Training Large Language Models (LLMs) on heterogeneous clusters presents significant challenges for collective communication, as hardware from multiple vendors introduces diverse network and computational characteristics…

Resource-aware Computation-Communication Overlap for multi-GPU ML Workloads

2026-06-08 · Minyu Cui, Miquel Pericas arxiv

The rapid growth of large-scale machine learning (ML) has made distributed training across multiple GPUs a fundamental component of modern ML systems. As model sizes and computational throughput continue to increase, com…