Lune

NSDI2023顶会

TACCL: Guiding Collective Algorithm Synthesis using Communication Sketches

Aashaka Shah, Vijay Chidambaram, Meghan Cowan, Saeed Maleki, Madan Musuvathi, Todd Mytkowicz, Jacob Nelson, Olli Saarikivi

摘要

Machine learning models are increasingly being trained across multiple GPUs and servers. In this setting, data is transferred between GPUs using communication collectives such as ALLTOALL and ALLREDUCE, which can become a significant bottleneck in training large models. Thus, it is important to use efficient algorithms for collective communication. We develop TACCL, a tool that enables algorithm designers to guide a synthesizer into automatically generating algorithms for a given hardware configuration and communication collective. TACCL uses a novel communication sketch abstraction to get crucial information from the designer to significantly reduce the search space and guide the synthesizer towards better algorithms. TACCL also uses a novel encoding of the problem that allows it to scale beyond single-node topologies. We use TACCL to synthesize algorithms for three collectives and two hardware topologies: DGX-2 and NDv2. We demonstrate that the algorithms synthesized by TACCL outperform the Nvidia Collective Communication Library (NCCL) by up to 6.7×. We also show that TACCL can speed up end-to-end training of Transformer-XL and BERT models by 11%-2.3× for different batch sizes.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Rethinking Machine Learning Collective Communication as a Multi-Commodity Flow Problem 引用了 Synthesizing optimal collective algorithms
  • Rethinking Machine Learning Collective Communication as a Multi-Commodity Flow Problem 引用了 Themis: a network bandwidth-aware collective scheduling policy for distributed training of DL models
  • Themis: a network bandwidth-aware collective scheduling policy for distributed training of DL models 引用了 Synthesizing optimal collective algorithms
  • Swing: Short-cutting Rings for Higher Bandwidth Allreduce 引用了 Synthesizing optimal collective algorithms
  • Swing: Short-cutting Rings for Higher Bandwidth Allreduce 引用了 ATP: In-network Aggregation for Multi-tenant Learning
  • Crux: GPU-Efficient Communication Scheduling for Deep Learning Training 引用了 CASSINI: Network-Aware Job Scheduling in Machine Learning Clusters
  • Crux: GPU-Efficient Communication Scheduling for Deep Learning Training 引用了 ATP: In-network Aggregation for Multi-tenant Learning
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper40

  1. CASSINI: Network-Aware Job Scheduling in Machine Learning ClustersSudarsanan Rajasekaran, Manya Ghobadi, Aditya AkellaNSDI 2024 · 144 次引用
  2. Crux: GPU-Efficient Communication Scheduling for Deep Learning TrainingJiamin Cao, Yu Guan, Kun Qian, Jiaqi Gao 等SIGCOMM 2024 · 60 次引用
  3. Swing: Short-cutting Rings for Higher Bandwidth AllreduceDaniele De Sensi, Tommaso Bonato, David Saam, Torsten HoeflerNSDI 2024 · 48 次引用
  4. Rethinking Machine Learning Collective Communication as a Multi-Commodity Flow ProblemXuting Liu, Behnaz Arzani, Siva Kesava Reddy Kakarla, Liangyu Zhao 等SIGCOMM 2024 · 43 次引用
  5. Themis: a network bandwidth-aware collective scheduling policy for distributed training of DL modelsSaeed Rashidi, William Won, Sudarshan Srinivasan, Srinivas Sridharan 等ISCA 2022 · 40 次引用

它引用的 Paper6

  1. GShard: Scaling Giant Models with Conditional Computation and Automatic ShardingDmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen 等ICLR 2021 · 1,954 次引用
  2. ATP: In-network Aggregation for Multi-tenant LearningChonLam Lao, Yanfang Le, Kshiteej Mahajan, Yixi Chen 等NSDI 2021 · 359 次引用
  3. Cost-effective Cloud Edge Traffic Engineering with CascaraRachee Singh, Sharad Agarwal, Matt Calder, Paramvir BahlNSDI 2021 · 79 次引用
  4. Synthesizing optimal collective algorithmsZixian Cai, Zhengyang Liu, Saeed Maleki, Madanlal Musuvathi 等PPoPP 2021 · 64 次引用
  5. Cost-effective capacity provisioning in wide area networks with ShooflyRachee Singh, Nikolaj S. Bjørner, Sharon Shoham, Yawei Yin 等SIGCOMM 2021 · 32 次引用

相关 Paper

  1. SyCCL: Exploiting Symmetry for Efficient Collective Communication SchedulingJiamin Cao, Shangfeng Shi, Jiaqi Gao, Weisen Liu 等SIGCOMM 2025 · 15 次引用
  2. TACOS: Topology-Aware Collective Algorithm Synthesizer for Distributed Machine LearningWilliam Won, Midhilesh Elavazhagan, Sudarshan Srinivasan, Swati Gupta 等MICRO 2024 · 36 次引用
  3. OptCCL: Scalable Synthesis of Optimal Collective Communication AlgorithmsRichard Shapley, Rachit Agarwal, David B. ShmoysSIGCOMM 2026
  4. MSCCLang: Microsoft Collective Communication LanguageMeghan Cowan, Saeed Maleki, Madanlal Musuvathi, Olli Saarikivi 等ASPLOS 2023 · 40 次引用
  5. TCCL: Discovering Better Communication Paths for PCIe GPU ClustersHeehoon Kim, Junyeol Ryu, Jaejin LeeASPLOS 2024 · 26 次引用
黄昏的海面,两侧是细线勾勒的悬崖