This report presents the Prime Collective Communications Library (PCCL), a novel fault-tolerant collective communication library designed for distributed ML workloads over the public internet. PCCL introduces a new programming model that enables dynamic peer joining and failure recovery. The library implements efficient collective operations like all-reduce while providing robust fault tolerance mechanisms that allow the system to continue operating even when peers fail or join during ongoing operations. We demonstrate that PCCL's design enables practical solutions to dynamic membership challenges in workloads with repeated operations and deterministic state advancement. Our implementation passes extensive stress tests across all major operating systems, showing reliable operation even under rapid peer churn and concurrent collective operations. By dispatching to multiple connections, we can efficiently utilize cross-continental long-fat-pipe TCP WAN links, in our experiments achieving up to 45 Gbit/s of bandwidth utilization across Europe and 25 Gbit/s across North America and Europe. PCCL's architecture enables easy implementation of distributed low-communication optimization strategies like DiLoCo, which significantly reduce communication frequency. Combined with quantization, this leads to a significant reduction in the bandwidth required for distributed training workloads. PCCL also allows for concurrent collective operations, which enables optimization strategies like async DiLoCo, which can completely hide communication overhead by implementing one-step delayed parameter updates. PCCL can facilitate exact bit-parity of the shared state across peers in all cases induced by graceful or abrupt peer churn. While PCCL exposes a C99 API, Python bindings are available which are compatible with PyTorch alongside FSDP. PCCL is available under the open source MIT license.
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(上海人工智能功率科技有限公司)
Comprehensive Deadlock Prevention for GPU Collective Communication
School of Computer Science, Peking University(北京大学计算机学院);OneFlow Research(OneFlow研究院);National Key Laboratory of Parallel and Distributed Computing, College of Computer Science and Technology, National University of Defense Technology(国防科技大学计算机科学与技术学院并行与分布式计算国家重点实验室)
StrataCL: Fabric-Native Communication Library for Production Supernodes
Peking University(北京大学);SKLP, Institute of Computing Technology, CAS(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Huawei Technologies Company Ltd.(华为技术有限公司);Shanghai Jiao Tong University(上海交通大学);Beijing Tongming Lake Information Technology Application Innovation Center, China(北京通明湖信息技术应用创新中心)
针对分布式 AI 工作负载的通信瓶颈,提出零冗余的 fabric 原生通信库 StrataCL,通过分配时注册等技术优化,在华为 CloudMatrix384 上显著提升了带宽与多类工作负载的性能。