TACOS: Topology-Aware Collective Algorithm Synthesizer for Distributed Machine Learning
William Won, Midhilesh Elavazhagan, Sudarshan Srinivasan, Swati Gupta, Tushar Krishna
摘要
The surge of artificial intelligence, particularly large language models, has driven the rapid development of large-scale machine learning clusters. Executing distributed models on these clusters is often constrained by communication overhead, making efficient utilization of available network resources crucial. As a result, the routing algorithm employed for collective communications (i.e., collective algorithms) plays a pivotal role in determining overall performance. Unfortunately, existing collective communication libraries for distributed machine learning are limited by a fixed set of basic collective algorithms. This limitation hinders communication optimization, especially in modern clusters with heterogeneous and asymmetric topologies. Furthermore, manually designing collective algorithms for all possible combinations of network topologies and collective patterns requires heavy engineering and validation efforts. To address these challenges, this paper presents Tacos, an autonomous synthesizer capable of automatically generating topology-aware collective algorithms tailored to specific collective patterns and network topologies. Tacos is highly flexible, synthesizing an All-Reduce algorithm for a heterogeneous 128-NPU system in just 1.08 seconds, while achieving up to a 4.27× performance improvement over state-of-the-art synthesizers. Additionally, Tacos demonstrates better scalability with polynomial synthesis times, in contrast to NP-hard approaches which only scale to systems with tens of NPUs. Tacos can synthesize for 40K NPUs in just 2.52 hours.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Breaking the computation and communication abstraction barrier in distributed machine learning workloads 引用了 ZeRO: memory optimizations toward training trillion parameter models
- Characterizing the Efficiency of Distributed Training: A Power, Performance, and Thermal Perspective 引用了 ZeRO: memory optimizations toward training trillion parameter models
- Characterizing the Efficiency of Distributed Training: A Power, Performance, and Thermal Perspective 引用了 TopoOpt: Co-optimizing Network Topology and Parallelization Strategy for Distributed Training Jobs
- Chimera: Communication Fusion for Hybrid Parallelism in Large Language Models 引用了 Breaking the computation and communication abstraction barrier in distributed machine learning workloads
- HeteCCL: Synthesizing Near-Optimal Collective Communication Schedules for Heterogeneous GPU Clusters 引用了 ZeRO: memory optimizations toward training trillion parameter models
- HeteCCL: Synthesizing Near-Optimal Collective Communication Schedules for Heterogeneous GPU Clusters 引用了 TopoOpt: Co-optimizing Network Topology and Parallelization Strategy for Distributed Training Jobs
- HeteCCL: Synthesizing Near-Optimal Collective Communication Schedules for Heterogeneous GPU Clusters 引用了 ResCCL: Resource-Efficient Scheduling for Collective Communication
- ResCCL: Resource-Efficient Scheduling for Collective Communication 引用了 Breaking the computation and communication abstraction barrier in distributed machine learning workloads
- ResCCL: Resource-Efficient Scheduling for Collective Communication 引用了 TopoOpt: Co-optimizing Network Topology and Parallelization Strategy for Distributed Training Jobs
引用它的顶会 Paper10
- Chimera: Communication Fusion for Hybrid Parallelism in Large Language ModelsLe Qin, Junwei Cui, Weilin Cai, Jiayi HuangISCA 2025 · 11 次引用
- ResCCL: Resource-Efficient Scheduling for Collective CommunicationTongrui Liu, Chenyang Hei, Fuliang Li, Chengxi Gao 等SIGCOMM 2025 · 11 次引用
- Characterizing the Efficiency of Distributed Training: A Power, Performance, and Thermal PerspectiveSeokjin Go, Joongun Park, Spandan More, Hanjiang Wu 等MICRO 2025 · 7 次引用
- DuetServe: Harmonizing Prefill and Decode for LLM Serving via Adaptive GPU MultiplexingLei Gao, Chaoyi Jiang, Hossein Entezari Zarch, Daniel Wong 等ICML 2026 · 4 次引用
- HeteCCL: Synthesizing Near-Optimal Collective Communication Schedules for Heterogeneous GPU ClustersChenyang Hei, Jiayi Li, Jiamin Cao, Chengxi Gao 等NSDI 2026 · 4 次引用
它引用的 Paper13
- ZeRO: memory optimizations toward training trillion parameter modelsSamyam Rajbhandari, Jeff Rasley, Olatunji Ruwase, Yuxiong HeSC 2020 · 852 次引用
- TopoOpt: Co-optimizing Network Topology and Parallelization Strategy for Distributed Training JobsWeiyang Wang, Moein Khazraee, Zhizhen Zhong, Manya Ghobadi 等NSDI 2023 · 215 次引用
- CombOptNet: Fit the Right NP-Hard Problem by Learning Integer Programming ConstraintsAnselm Paulus, Michal Rolínek, Vít Musil, Brandon Amos 等ICML 2021 · 73 次引用
- Breaking the computation and communication abstraction barrier in distributed machine learning workloadsAbhinav Jangda, Jun Huang, Guodong Liu, Amir Hossein Nodehi Sabet 等ASPLOS 2022 · 68 次引用
- An In-Network Architecture for Accelerating Shared-Memory Multiprocessor CollectivesBenjamin Klenk, Nan Jiang, Greg Thorson, Larry DennisonISCA 2020 · 67 次引用
相关 Paper
- TACCL: Guiding Collective Algorithm Synthesis using Communication SketchesAashaka Shah, Vijay Chidambaram, Meghan Cowan, Saeed Maleki 等NSDI 2023
- SyCCL: Exploiting Symmetry for Efficient Collective Communication SchedulingJiamin Cao, Shangfeng Shi, Jiaqi Gao, Weisen Liu 等SIGCOMM 2025 · 15 次引用
- Synthesizing optimal collective algorithmsZixian Cai, Zhengyang Liu, Saeed Maleki, Madanlal Musuvathi 等PPoPP 2021 · 64 次引用
- OptCCL: Scalable Synthesis of Optimal Collective Communication AlgorithmsRichard Shapley, Rachit Agarwal, David B. ShmoysSIGCOMM 2026
- MSCCLang: Microsoft Collective Communication LanguageMeghan Cowan, Saeed Maleki, Madanlal Musuvathi, Olli Saarikivi 等ASPLOS 2023 · 40 次引用
