arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.15076cs.DCcs.AIcs.ARcs.LG
收藏

为NCCL的GPU启动网络

GPU-Initiated Networking for NCCL

Oak Ridge National Laboratory(橡树岭国家实验室);University of New Mexico(新墨西哥大学);Los Alamos National Laboratory(洛斯阿拉莫斯国家实验室);Department of Energy(能源部);Department of Defense(国防部);Oak Ridge Leadership Computing Facility(橡树岭领导计算设施);Quantum Monte Carlo(量子蒙特卡罗);Community Earth System Model(社区地球系统模型);Vampir Tool Suite(Vampir工具套件);Structured Adaptive Mesh Refinement Application Infrastructure(结构自适应网格细化应用基础设施);Chemistry at HARvard Macromolecular Mechanics(哈佛大学分子力学);Large-scale Atomic/Molecular Massively Parallel Simulator(大规模原子/分子并行模拟器)

Khaled Hamidouche, John Bachan, Pak Markthub, Peter-Jan Gootzen, Elena Agostini, Sylvain Jeaugey, Aamir Shafi, Georgios Theodorakis, Manjunath Gorentla Venkata

AI总结:

本文提出GPU-Initiated Networking(GIN)架构,用于提升MoE架构中GPU到GPU的低延迟通信,通过设备端控制减少CPU开销,并结合NCCL运行时实现高效通信。

摘要:

现代AI工作负载,特别是混合专家(MoE)架构,越来越多地要求低延迟、细粒度的GPU到GPU通信,并具有设备端控制。传统GPU通信遵循主机启动模型,其中CPU负责所有通信操作——这是CUDA运行时的特征。尽管在集体操作中很稳健,需要紧密集成计算和通信的应用可以从设备启动通信中获益,这种通信消除了CPU协调开销。NCCL 2.28引入了设备API,具有三种操作模式:适用于NVLink/PCIe的Load/Store Accessible(LSA)、适用于NVLink SHARP的Multimem,以及适用于网络RDMA的GPU-Initiated Networking(GIN)。本文介绍了GIN架构、设计及其对MoE通信的影响。GIN基于三层架构:i)NCCL核心主机侧API用于设备通信器设置和集体内存窗口注册;ii)设备侧API用于远程内存操作,可在CUDA内核中调用;iii)一个网络插件架构,具有双语义(GPUDirect Async Kernel-Initiated和Proxy)以支持广泛的硬件。GPUDirect Async Kernel-Initiated后端利用DOCA GPUNetIO实现直接的GPU到NIC通信,而Proxy后端通过基于标准RDMA网络的无锁GPU到CPU队列提供等效功能。我们通过与DeepEP(一个MoE通信库)的集成展示了GIN的实用性。全面的基准测试显示,GIN在NCCL的统一运行时中提供了设备启动通信,结合了低延迟操作与NCCL的集体算法和生产基础设施。

英文摘要:

Modern AI workloads, especially Mixture-of-Experts (MoE) architectures, increasingly demand low-latency, fine-grained GPU-to-GPU communication with device-side control. Traditional GPU communication follows a host-initiated model, where the CPU orchestrates all communication operations - a characteristic of the CUDA runtime. Although robust for collective operations, applications requiring tight integration of computation and communication can benefit from device-initiated communication that eliminates CPU coordination overhead. NCCL 2.28 introduces the Device API with three operation modes: Load/Store Accessible (LSA) for NVLink/PCIe, Multimem for NVLink SHARP, and GPU-Initiated Networking (GIN) for network RDMA. This paper presents the GIN architecture, design, semantics, and highlights its impact on MoE communication. GIN builds on a three-layer architecture: i) NCCL Core host-side APIs for device communicator setup and collective memory window registration; ii) Device-side APIs for remote memory operations callable from CUDA kernels; and iii) A network plugin architecture with dual semantics (GPUDirect Async Kernel-Initiated and Proxy) for broad hardware support. The GPUDirect Async Kernel-Initiated backend leverages DOCA GPUNetIO for direct GPU-to-NIC communication, while the Proxy backend provides equivalent functionality via lock-free GPU-to-CPU queues over standard RDMA networks. We demonstrate GIN's practicality through integration with DeepEP, an MoE communication library. Comprehensive benchmarking shows that GIN provides device-initiated communication within NCCL's unified runtime, combining low-latency operations with NCCL's collective algorithms and production infrastructure.

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

↑