计算机科学 ›› 2026, Vol. 53 ›› Issue (11): 353-362.doi: 10.11896/jsjkx.260300042
冯波瑞1, 涂杰1, 杜夏威2, 孙建鹏2
FENG Borui1, TU Jie1, DU Xiawei2, SUN Jianpeng2
摘要: ROCm集合通信库(RCCL)已成为国产异构加速卡模型训练底层数据通信时的重要通信库之一。然而,在单个计算节点内,RCCL默认只会使用类NVLink这一种链路传输数据,造成了资源的浪费。为此,提出了一种结合类NVLink(NVL-like)与主机内存中转(HMT)的融合传输方式。该融合传输方式针对包含NVL-like的多个类GPU加速卡系统进行优化,不仅有效地利用NVL-like直接向对等类GPU加速卡传输数据,还使用主机内存作为类GPU加速卡之间数据传输的辅助链路,旨在更大程度地利用硬件资源,使数据能够在不同硬件链路上并行传输,提高数据的传输效率。实验结果表明,通过合理配置NVL-like与HMT传输通道的比例,融合传输链路的总线带宽优于单一NVL-like传输链路的总线带宽。
中图分类号:
| [1] ZHAI J,LI Y H,LI B B,et al.Personalized Experiment Report Comments Auto-Generation and Application Based on Large Language Models[J].Computer Engineering,2024,50(7):42-52. [2] LIU J S,WEN Y.Auto-Generation and Auto-Tuning Frame-work of Stencil Operation Code[J].Computer Engineering,2024,50(6):35-47. [3] BROWN T B,MANN B,RYDER N,et al.Language Models are Few-Shot Learners[C]//Proceedings of the 34th International Conference on Neural Information Processing Systems.New York,USA:Curran Associates Inc.,2020:1877-1901. [4] NAUMOV M,MUDIGERE D,SHI H-J M,et al.Deep Learning Recommendation Model for Personalization and Recommendation Systems[PP/OL].arXiv[2025-11-05].https://arxiv.org/abs/1906.00091. [5] XU D F.Performance Comparison of the RoCE Networks and InfiniBand Networks Based on HPC[J].Wireless Internet Science and Technology,2024,21(9):111-116. [6] PASZKE A,GROSS S,MASSA F,et al.Pytorch:An Imperative Style,High-Performance Deep Learning Library[C]//The 33rd International Conference on Neural Information Processing Systems.Vancouver:Curran Associates Inc.,2019:8024-8035. [7] KHUDIA D,HUANG J,BASU P,et al.FBGEMM:Enabling High-Performance Low-Precision Deep Learning Inference[PP/OL].arXiv[2025-11-05].https://arxiv.org/abs/2101.05615. [8] WILKINS M,WANG H,LIU P,et al.Generalized CollectiveAlgorithms for the Exascale Era[C]//2023 IEEE International Conference on Cluster Computing(CLUSTER).Santa Fe,NM,USA:IEEE Press,2023:60-71. [9] CHEN Z,HU X,ZHANG M,et al.An Efficient,Reliable and Observable Collective Communication Library in Large-Scale GPU Training Clusters[PP/OL].arXiv[2025-12-30].https://ui.adsabs.harvard.edu/abs/2025arXiv251000991C. [10] COWAN M,MALEKI S,MUSUVATHI M,et al.MSCCL:Microsoft Collective Communication Library[PP/OL].arXiv[2025-11-05].https://arxiv.org/abs/2201.11840v1. [11] JANGDA A,HUANG J,LIU G,et al.Breaking the Computation and Communication Abstraction Barrier in Distributed Machine Learning Workloads[C]//Proceedings of the 27th ACM International Conference on Architectural Support for Programming Languages and Operating Systems.New York,USA:Association for Computing Machinery,2022:402-416. [12] SHAH A,CHIDAMBARAM V,COWAN M,et al.TACCL:Guiding Collective Algorithm Synthesis Using Communication Sketches[C]//20th USENIX Symposium on Networked Systems Design and Implementation(NSDI 23).Boston,MA:USENIX Association,2023:593-612. [13] CAI Z,LIU Z,MALEKI S,et al.Synthesizing Optimal Collective Algorithms[C]//Proceedings of the 26th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming.New York,USA:Association for Computing Machinery,2021:62-75. [14] HUANG J,DI S,YU X,et al.gZCCL:Compression-Accelerated Collective Communication Framework for GPU Clusters[C]//Proceedings of the 38th ACM International Conference on Supercomputing.New York,USA:Association for Computing Machinery,2024:437-448. [15] WANG G,VENKATARAMAN S,PHANISHAYEE A,et al.Blink:Fast and Generic Collectives for Distributed ML[C]//Proceedings of the 3rd Machine Learning and Systems Confe-rence(MLSys 2020).Austin,TX:USENIX Association,2020:172-186. [16] HAMIDOUCHE K,BACHAN J,MARKTHUB P,et al.GPU-Initiated Networking for NCCL[PP/OL].arXiv[2025-12-30].https://arxiv.org/abs/2511.15076. [17] HIDAYETOGLU M,DE GONZALO S G,SLAUGHTER E,et al.HiCCL:A Hierarchical Collective Communication Library[C]//2025 IEEE International Parallel and Distributed Proces-sing Symposium(IPDPS).Washington,DC,USA:IEEE,2025:950-961. [18] DONG J,WANG S,FENG F,et al.ACCL:Architecting Highly Scalable Distributed Training Systems with Highly Efficient Collective Communication Library[J].IEEE Micro,2021,41(5):85-92. [19] LUO L,WEST P,NELSON J,et al.Plink:Discovering and Exploiting Locality for Accelerated Distributed Training on the Public Cloud[C]//Proceedings of Machine Learning and Systems.Virtual:MLSys Conference,2020:82-97. [20] CHO M,FINKLER U,KUNG D,et al.BlueConnect:Decomposing All-Reduce for Deep Learning on Heterogeneous Network Hierarchy[J].Proceedings of Machine Learning and Systems,2019,63(6):1:1-1:11. [21] ZHOU Y,CHEN Z,MAO Z,et al.An Extensible SoftwareTransport Layer for GPU Networking[PP/OL].arXiv[2025-12-30].https://arxiv.org/abs/2504.17307. [22] LI B,WANG X,WANG J,et al.TCCL:Co-optimizing Collective Communication and Traffic Routing for GPU-centric Clusters[C]//Proceedings of the 2024 SIGCOMM Workshop on Networks for AI Computing.New York,USA:Association for Computing Machinery,2024:48-53. [23] WON W,ELAVAZHAGAN M,SRINIVASAN S,et al.TA-COS:Topology-Aware Collective Algorithm Synthesizer for Distributed Machine Learning[C]//2024 57th IEEE/ACM International Symposium on Microarchitecture(MICRO).Washington,DC,USA:IEEE,2024:856-870. [24] LU X,SHANKAR D,GUGNANI S,et al.High-Performance Design of Apache Spark with RDMA and Its Benefits on Va-rious Workloads[C]//2016 IEEE International Conference on Big Data(Big Data).Washington,DC,USA:IEEE,2016:253-262. [25] MAHAJAN K,CHU C H,SRIDHARAN S,et al.Better To-gether:Jointly Optimizing ML Collective Scheduling and Execution Planning Using SYNDICATE[C]//20th USENIX Symposium on Networked Systems Design and Implementation(NSDI 23).Boston:USENIX Association,2023:809-824. [26] CHO S,SON H,KIM J.Logical/Physical Topology-Aware Collective Communication in Deep Learning Training[C]//2023 IEEE International Symposium on High-Performance Computer Architecture(HPCA).Washington,DC,USA:IEEE,2023:56-68. [27] DE SENSI D,DI GIROLAMO S,MCMAHON K H,et al.An In-Depth Analysis of the Slingshot Interconnect[C]//SC20:International Conference for High Performance Computing,Networking,Storage and Analysis.Washington,DC,USA:IEEE,2020:1-14. [28] ZIMMER C,ATCHLEY S,PANKAJAKSHAN R,et al.An Evaluation of the CORAL Interconnects[C]//Proceedings of the International Conference for High Performance Computing,Networking,Storage and Analysis.New York,USA:Association for Computing Machinery,2019:1-18. |
|
||