Lune

SC2024顶会

Optimizing Distributed ML Communication with Fused Computation-Collective Operations

Kishore Punniyamurthy, Khaled Hamidouche, Bradford M. Beckmann

摘要

In order to satisfy their ever increasing capacity and compute requirements, machine learning models are distributed across multiple nodes using numerous parallelism strategies. As a result, collective communications are often on the critical path, and hiding their latency by overlapping kernel-granular communication and computation is difficult due to the absence of independent computation.

In this work, we propose fusing computation with dependent collective communication by leveraging GPUs' massive parallelism and GPU-initiated communication. We have developed selfcontained GPU kernels where threadblocks/workgroups (WGs) immediately communicate their results to remote GPUs when they complete their computation. Meanwhile, other WGs within the same kernel perform overlapping computation, maintaining high ALU utilization. Such fine-grain overlapping provides the additional benefit that peak network bandwidth demand is reduced and communication is spread across the entire lifetime of application rather than only at kernel boundaries. Furthermore, we propose zero-copy optimizations for scale-up communication where the data computed by one GPU is directly communicated to peer GPUs, eliminating intermediate stores and buffering.

We demonstrate our approach by creating three prototype fused operators (embedding + All-to-All, GEMV + AllReduce, and GEMM + All-to-All) to address the pervasive communication overheads observed in deep learning recommendation models (DLRM), Transformers and Mixture of Experts (MoE) model architectures. In order to demonstrate that our approach can be integrated into ML frameworks for wide adoption in production environments, we expose our fused operators as new PyTorch operators as well as extend the Triton framework to enable them. Our evaluations show that our approach can effectively overlap communication with computations, subsequently reducing their combined execution time than the current collective library-based approaches. Our scale-up GEMV + AllReduce and GEMM + Allto-All implementations achieve 13% (up to 22%) and 12% (up to 20%) lower execution time, while our fused embedding + All-to-All reduces execution time by 20% and 31% for intra-node and inter-node configurations. Large scale-out simulations indicate that our approach reduces DLRM execution time by 21% for 128 node system.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • FlashMoE: Fast Distributed MoE in a Single Kernel 引用了 Breaking the computation and communication abstraction barrier in distributed machine learning workloads
  • FlashMoE: Fast Distributed MoE in a Single Kernel 引用了 T3: Transparent Tracking & Triggering for Fine-grained Overlap of Compute & Collectives
  • FlashMoE: Fast Distributed MoE in a Single Kernel 引用了 Overlap Communication with Dependent Computation via Decomposition in Large Deep Learning Models
  • FlowMoE: A Scalable Pipeline Scheduling Framework for Distributed Mixture-of-Experts Training 引用了 Breaking the computation and communication abstraction barrier in distributed machine learning workloads
  • FlowMoE: A Scalable Pipeline Scheduling Framework for Distributed Mixture-of-Experts Training 引用了 FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models
  • FlowMoE: A Scalable Pipeline Scheduling Framework for Distributed Mixture-of-Experts Training 引用了 Overlap Communication with Dependent Computation via Decomposition in Large Deep Learning Models
  • T3: Transparent Tracking & Triggering for Fine-grained Overlap of Compute & Collectives 引用了 Breaking the computation and communication abstraction barrier in distributed machine learning workloads
  • T3: Transparent Tracking & Triggering for Fine-grained Overlap of Compute & Collectives 引用了 Synthesizing optimal collective algorithms
  • T3: Transparent Tracking & Triggering for Fine-grained Overlap of Compute & Collectives 引用了 Splitwise: Efficient Generative LLM Inference Using Phase Splitting
  • T3: Transparent Tracking & Triggering for Fine-grained Overlap of Compute & Collectives 引用了 Overlap Communication with Dependent Computation via Decomposition in Large Deep Learning Models
  • T3: Transparent Tracking & Triggering for Fine-grained Overlap of Compute & Collectives 引用了 DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scale
  • FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models 引用了 Breaking the computation and communication abstraction barrier in distributed machine learning workloads
  • FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models 引用了 T3: Transparent Tracking & Triggering for Fine-grained Overlap of Compute & Collectives
  • FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models 引用了 Overlap Communication with Dependent Computation via Decomposition in Large Deep Learning Models
  • FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models 引用了 DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scale
  • Chimera: Communication Fusion for Hybrid Parallelism in Large Language Models 引用了 Breaking the computation and communication abstraction barrier in distributed machine learning workloads
  • Chimera: Communication Fusion for Hybrid Parallelism in Large Language Models 引用了 Splitwise: Efficient Generative LLM Inference Using Phase Splitting
  • Chimera: Communication Fusion for Hybrid Parallelism in Large Language Models 引用了 Overlap Communication with Dependent Computation via Decomposition in Large Deep Learning Models
  • Chimera: Communication Fusion for Hybrid Parallelism in Large Language Models 引用了 DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scale
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper12

  1. FlashMoE: Fast Distributed MoE in a Single KernelOsayamen Jonathan Aimuyo, Byungsoo Oh, Rachee SinghNeurIPS 2025 · 22 次引用
  2. T3: Transparent Tracking & Triggering for Fine-grained Overlap of Compute & CollectivesSuchita Pati, Shaizeen Aga, Mahzabeen Islam, Nuwan Jayasena 等ASPLOS 2024 · 13 次引用
  3. FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts ModelsXinglin Pan, Wenxiang Lin, Lin Zhang, Shaohuai Shi 等ASPLOS 2025 · 12 次引用
  4. Chimera: Communication Fusion for Hybrid Parallelism in Large Language ModelsLe Qin, Junwei Cui, Weilin Cai, Jiayi HuangISCA 2025 · 11 次引用
  5. FlowMoE: A Scalable Pipeline Scheduling Framework for Distributed Mixture-of-Experts TrainingYunqi Gao, Bing Hu, Mahdi Boloursaz Mashhadi, A-Long Jin 等NeurIPS 2025 · 6 次引用

它引用的 Paper11

  1. DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI ScaleSamyam Rajbhandari, Conglong Li, Zhewei Yao, Minjia Zhang 等ICML 2022 · 523 次引用
  2. Splitwise: Efficient Generative LLM Inference Using Phase SplittingPratyush Patel, Esha Choukse, Chaojie Zhang, Aashaka Shah 等ISCA 2024 · 282 次引用
  3. Breaking the computation and communication abstraction barrier in distributed machine learning workloadsAbhinav Jangda, Jun Huang, Guodong Liu, Amir Hossein Nodehi Sabet 等ASPLOS 2022 · 68 次引用
  4. Synthesizing optimal collective algorithmsZixian Cai, Zhengyang Liu, Saeed Maleki, Madanlal Musuvathi 等PPoPP 2021 · 64 次引用
  5. Overlap Communication with Dependent Computation via Decomposition in Large Deep Learning ModelsShibo Wang, Jinliang Wei, Amit Sabne, Andy Davis 等ASPLOS 2023 · 64 次引用

相关 Paper

  1. Syncopate: Efficient Multi-GPU AI Kernels via Automatic Chunk-Centric Compute-Communication OverlapXinwei Qiang, Yue Guan, Zhengding Hu, Keren Zhou 等OSDI 2026 · 3 次引用
  2. RoCC: Harnessing Raster Operations Pipeline for Efficient Tensor Collective CommunicationYuan Feng, Daniel Wong, Hyeran JeonISCA 2026
  3. ARK: GPU-driven Code Execution for Distributed Deep LearningChangho Hwang, KyoungSoo Park, Ran Shu, Xinyuan Qu 等NSDI 2023 · 22 次引用
  4. Libra: Contention-Aware GPU Thread Allocation for Data Parallel Training in High Speed NetworksYunzhuo Liu, Bo Jiang, Shizhen Zhao, Tao Lin 等INFOCOM 2023 · 4 次引用
  5. Preemptive All-reduce Scheduling for Expediting Distributed DNN TrainingYixin Bao, Yanghua Peng, Yangrui Chen, Chuan WuINFOCOM 2020 · 67 次引用
黄昏的海面,两侧是细线勾勒的悬崖