arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.00991cs.DC
收藏

大规模GPU训练集群中高效、可靠且可观测的集合通信库

An Efficient, Reliable and Observable Collective Communication Library in Large-scale GPU Training Clusters

Infrawaves;Shanghai Innovation Institute(上海创新研究院);Beihang University(北京航空航天大学);Tsinghua University(清华大学);Zhipu AI(智谱AI);China Unicom Research Institute(中国联通研究院);Shanghai AI Power Technology Co., Ltd(上海人工智能功率科技有限公司)
Mingjun Zhang, Xiaohe Hu, Menghao Zhang, Ziteng Chen, Yanmin Jia, Yan Zhang, Da Liu, Qing Chen, Fangzheng Jiao, Jun Chen, He Liu, Aohan Zeng, Shuaixing Duan, Ru… 展开作者

Mingjun Zhang, Xiaohe Hu, Menghao Zhang, Ziteng Chen, Yanmin Jia, Yan Zhang, Da Liu, Qing Chen, Fangzheng Jiao, Jun Chen, He Liu, Aohan Zeng, Shuaixing Duan, Ruya Gu, Yang Jing, Bowen Han, Wei Chen, Wenqi Xie, Jinlong Hou, Yuan Cheng, Hongzhou Zhang, Bohua Xu, Mingwei Xu, Chunming Hu

AI总结:

针对NCCL在SM竞争、链路故障重启成本高和瞬态异常可观测性不足的问题,提出VCCL,通过将节点内数据传输和流依赖强制转移到CPU线程和GPU拷贝引擎、主备QP机制以及窗口监控器,实现高效、可靠和可观测的集合通信,提升训练吞吐量并减少GPU资源浪费。

摘要:

大规模LLM训练需要集合通信库在分布式GPU之间交换数据。作为一家致力于构建和运营大规模GPU训练集群的公司,我们在生产中遇到了NCCL的几个实际限制,包括:1)计算和通信之间的SM竞争,2)链路故障下昂贵的重启成本,以及3)瞬态集合通信异常的可观测性不足。为了解决这些挑战,我们提出了VCCL,一种在大规模GPU训练集群中高效、可靠且可观测的集合通信库。VCCL通过将节点内数据移动和流依赖强制转移到CPU线程和GPU拷贝引擎,消除了消耗SM的P2P内核。VCCL还引入了一种主备QP机制来容忍频繁的NIC端口故障,并设计了一种基于窗口的监控器,以O(μs)级别观测网络异常。我们将VCCL开源,并在生产训练集群中部署了数月。与NCCL相比,VCCL将训练吞吐量提高了高达5.28%,并通过运行时容错和细粒度监控减少了大量的GPU资源浪费。我们还分享了在大规模集群中部署VCCL期间获得的经验和教训。

英文摘要:

Large-scale LLM training requires collective communication libraries to exchange data among distributed GPUs. As a company dedicated to building and operating large-scale GPU training clusters, we encounter several practical limitations of NCCL in production, including 1) SM competition between computation and communication, 2) expensive restart costs under link failures, and 3) insufficient observability of transient collective communication anomalies. To address these challenges, we propose VCCL, an efficient, reliable, and observable collective communication library in large-scale GPU training clusters. VCCL removes SM-consuming P2P kernels by moving intra-node data movement and stream dependency enforcement to CPU threads and GPU copy engines. VCCL also introduces a primary-backup QP mechanism to tolerate frequent NIC port failures, and designs a window-based monitor to observe network anomalies at O(μs) level. We opensource VCCL and deploy it in production training clusters for several months. Compared with NCCL, VCCL improves training throughput by up to 5.28% and reduces massive GPU resource wastage through runtime fault tolerance and finegrained monitor. We also share experience and lessons we learned during the deployment of VCCL in large-scale clusters.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑