NVIDIA/nccl

Optimized primitives for collective multi-GPU communication

What it solves

NCCL makes it fast and easy for multiple graphics cards to talk to each other, solving communication bottlenecks when training large workloads across single or multiple nodes.

How it works

It provides a library of standard communication routines like all-reduce, all-gather, and broadcast, optimized to run at high bandwidth over connections like PCIe, NVLink, NVswitch, InfiniBand, and TCP/IP sockets.

Who it’s for

It is for developers and engineers building high-performance multi-GPU applications that require efficient inter-GPU communication.

Highlights

  • Implements standard routines like all-reduce, all-gather, reduce, broadcast, and reduce-scatter
  • Optimized for high bandwidth on PCIe, NVLink, NVswitch, InfiniBand, and TCP/IP networks
  • Supports an arbitrary number of GPUs in a single node or across multiple nodes
  • Compatible with both single-process and multi-process applications like MPI

Related

  • Project
  • Project
  • Project
  • Project
  • Project