xCCLTuner: Treating xCCL as Black-Box and Automatically Tuning
Chenxu Wang, Wentao Fan, Zhehao Lin, Peirui Cao, Xi Lin, Xiaohu Xu, Wanchun Dou, Guihai Chen, Chen Tian
Abstract
The collective communication libraries (xCCL) are an important networking support for distributed training systems. Optimizing xCCL is crucial for reducing training costs while maintaining accuracy, but existing approaches often require extensive manual intervention, lack user-friendliness, and struggle to adapt to complex environments. Therefore, we introduce xCCLTuner, an out-of-the-box tuning system without needing to categorize or model parameters that automatically optimizes xCCL parameters for distributed training systems. xCCLTuner utilizes Bayesian optimization to navigate the high-dimensional parameter space of xCCL knobs in a black-box manner. It overcomes key challenges through three main designs: (1) Low-dimensional tuning to reduce the complexity of the parameter space, (2) xCCL-specific lookup table to identify and skip fatal parameter combinations, and (3) Bucketization techniques to conquer vast parameter domains. xCCLTuner rapidly delivers optimized training times across various topologies, showcasing its efficiency and ease of use. Our experiments demonstrate that xCCLTuner achieves up to a 5.87X improvement in throughput.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext d6a249c1-a51c-4bda-b60c-d1d8a5b6a42eBuilds on13
- MegaScale: Scaling Large Language Model Training to More Than 10, 000 GPUsZiheng Jiang, Haibin Lin, Yinmin Zhong, Qi Huang et al.NSDI 2024 · 415 citations
- Alibaba HPN: A Data Center Network for Large Language Model TrainingKun Qian, Yongqing Xi, Jiamin Cao, Jiaqi Gao et al.SIGCOMM 2024 · 173 citations
- Efficient sparse collective communication and its application to accelerate distributed deep learningJiawei Fei, Chen-Yu Ho, Atal Narayan Sahu, Marco Canini et al.SIGCOMM 2021 · 120 citations
- Breaking the computation and communication abstraction barrier in distributed machine learning workloadsAbhinav Jangda, Jun Huang, Guodong Liu, Amir Hossein Nodehi Sabet et al.ASPLOS 2022 · 68 citations
- Synthesizing optimal collective algorithmsZixian Cai, Zhengyang Liu, Saeed Maleki, Madanlal Musuvathi et al.PPoPP 2021 · 64 citations
Related papers
- AutoCCL: Automated Collective Communication Tuning for Accelerating Distributed and Parallel DNN TrainingGuanbin Xu, Zhihao Le, Yinhe Chen, Zhiqi Lin et al.NSDI 2025 · 27 citations
- Rethinking Machine Learning Collective Communication as a Multi-Commodity Flow ProblemXuting Liu, Behnaz Arzani, Siva Kesava Reddy Kakarla, Liangyu Zhao et al.SIGCOMM 2024 · 43 citations
- TACCL: Guiding Collective Algorithm Synthesis using Communication SketchesAashaka Shah, Vijay Chidambaram, Meghan Cowan, Saeed Maleki et al.NSDI 2023
- Handling Network Faults in Distributed AI Training: Failover is Now an OptionXin Zhe Khooi, Zhuo Jiang, Pan Xie, Zhigang Cui et al.EuroSys 2026 · 1 citation
- ZipCCL: Efficient Lossless Data Compression of Communication Collectives for Accelerating LLM TrainingWenxiang Lin, Xinglin Pan, Ruibo Fan, Shaohuai Shi et al.SIGCOMM 2026 · 1 citation
