Lune

ISCA2022顶会

Themis: a network bandwidth-aware collective scheduling policy for distributed training of DL models

Saeed Rashidi, William Won, Sudarshan Srinivasan, Srinivas Sridharan, Tushar Krishna

摘要

Distributed training is a solution to reduce DNN training time by splitting the task across multiple NPUs (e.g., GPU/TPU). However, distributed training adds communication overhead between the NPUs in order to synchronize the gradients and/or activation, depending on the parallelization strategy. In next-generation platforms for training at scale, NPUs will be connected through multidimensional networks with diverse, heterogeneous bandwidths. This work identifies a looming challenge of keeping all network dimensions busy and maximizing the network BW within the hybrid environment if we leverage scheduling techniques for collective communication on systems today. We propose Themis, a novel collective scheduling scheme that dynamically schedules collectives (divided into chunks) to balance the communication loads across all dimensions, further improving the network BW utilization. Our results show that on average, Themis can improve the network BW utilization of the single All-Reduce by 1.72× (2.70× max), and improve the end-to-end training iteration performance of real workloads such as ResNet-152, GNMT, DLRM, and Transformer-1T by 1.49× (2.25× max), 1.30× (1.78× max), 1.30× (1.77× max), and 1.25× (1.53× max), respectively.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • vTrain: A Simulation Framework for Evaluating Cost-Effective and Compute-Optimal Large Language Model Training 引用了 ZeRO: memory optimizations toward training trillion parameter models
  • SyCCL: Exploiting Symmetry for Efficient Collective Communication Scheduling 引用了 Rethinking Machine Learning Collective Communication as a Multi-Commodity Flow Problem
  • SyCCL: Exploiting Symmetry for Efficient Collective Communication Scheduling 引用了 Synthesizing optimal collective algorithms
  • Rethinking Machine Learning Collective Communication as a Multi-Commodity Flow Problem 引用了 Synthesizing optimal collective algorithms
  • Flare: flexible in-network allreduce 引用了 An In-Network Architecture for Accelerating Shared-Memory Multiprocessor Collectives
  • Enabling Compute-Communication Overlap in Distributed Deep Learning Training Platforms 引用了 An In-Network Architecture for Accelerating Shared-Memory Multiprocessor Collectives
  • MCCS: A Service-based Approach to Collective Communication for Multi-Tenant Cloud 引用了 Synthesizing optimal collective algorithms
  • TACOS: Topology-Aware Collective Algorithm Synthesizer for Distributed Machine Learning 引用了 ZeRO: memory optimizations toward training trillion parameter models
  • TACOS: Topology-Aware Collective Algorithm Synthesizer for Distributed Machine Learning 引用了 An In-Network Architecture for Accelerating Shared-Memory Multiprocessor Collectives
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper18

  1. Rethinking Machine Learning Collective Communication as a Multi-Commodity Flow ProblemXuting Liu, Behnaz Arzani, Siva Kesava Reddy Kakarla, Liangyu Zhao 等SIGCOMM 2024 · 43 次引用
  2. TACOS: Topology-Aware Collective Algorithm Synthesizer for Distributed Machine LearningWilliam Won, Midhilesh Elavazhagan, Sudarshan Srinivasan, Swati Gupta 等MICRO 2024 · 36 次引用
  3. vTrain: A Simulation Framework for Evaluating Cost-Effective and Compute-Optimal Large Language Model TrainingJehyeon Bang, Yujeong Choi, Myeongwoo Kim, Yongdeok Kim 等MICRO 2024 · 16 次引用
  4. SyCCL: Exploiting Symmetry for Efficient Collective Communication SchedulingJiamin Cao, Shangfeng Shi, Jiaqi Gao, Weisen Liu 等SIGCOMM 2025 · 15 次引用
  5. MCCS: A Service-based Approach to Collective Communication for Multi-Tenant CloudYongji Wu, Yechen Xu, Jingrong Chen, Zhaodong Wang 等SIGCOMM 2024 · 15 次引用

它引用的 Paper7

  1. ZeRO: memory optimizations toward training trillion parameter modelsSamyam Rajbhandari, Jeff Rasley, Olatunji Ruwase, Yuxiong HeSC 2020 · 852 次引用
  2. An In-Network Architecture for Accelerating Shared-Memory Multiprocessor CollectivesBenjamin Klenk, Nan Jiang, Greg Thorson, Larry DennisonISCA 2020 · 67 次引用
  3. Synthesizing optimal collective algorithmsZixian Cai, Zhengyang Liu, Saeed Maleki, Madanlal Musuvathi 等PPoPP 2021 · 64 次引用
  4. Flare: flexible in-network allreduceDaniele De Sensi, Salvatore Di Girolamo, Saleh Ashkboos, Shigang Li 等SC 2021 · 49 次引用
  5. Enabling Compute-Communication Overlap in Distributed Deep Learning Training PlatformsSaeed Rashidi, Matthew Denton, Srinivas Sridharan, Sudarshan Srinivasan 等ISCA 2021 · 39 次引用

相关 Paper

  1. Preemptive All-reduce Scheduling for Expediting Distributed DNN TrainingYixin Bao, Yanghua Peng, Yangrui Chen, Chuan WuINFOCOM 2020 · 67 次引用
  2. Better Together: Jointly Optimizing ML Collective Scheduling and Execution Planning using SYNDICATEKshiteej Mahajan, Ching-Hsiang Chu, Srinivas Sridharan, Aditya AkellaNSDI 2023 · 43 次引用
  3. ResCCL: Resource-Efficient Scheduling for Collective CommunicationTongrui Liu, Chenyang Hei, Fuliang Li, Chengxi Gao 等SIGCOMM 2025 · 11 次引用
  4. SkipReduce: (Interconnection) Network Sparsity to Accelerate Distributed Machine LearningHans Kasan, Dennis Abts, Jungwook Choi, John KimMICRO 2025 · 1 次引用
  5. Communication Algorithm-Architecture Co-Design for Distributed Deep LearningJiayi Huang, Pritam Majumder, Sungkeun Kim, Abdullah Muzahid 等ISCA 2021 · 44 次引用
黄昏的海面,两侧是细线勾勒的悬崖