uccl
UCCL is an efficient communication library for GPUs, covering collectives, P2P (e.g., KV cache transfer, RL weight transfer), and EP (e.g., GPU-driven)
UCCL is a GPU communication library
A C++ library for fast collective, point to point, and expert parallel communication between GPUs in machine learning workloads.
What UCCL provides
UCCL is an efficient communication library for GPUs. The README says it covers three kinds of communication. The first is collectives, the group operations like AllReduce that training jobs use to sync model state across devices. The second is point to point, or P2P, where the README gives KV cache transfer and reinforcement learning weight transfer as examples, meaning one GPU sends specific data directly to another. The third is expert parallelism, or EP, where the README cites IBGDA as an example, a scheme used when model layers are sharded across many GPUs.
The project names two key focuses. Flexibility is aimed at high performance in fast evolving machine learning workloads, so the library is built to adapt as training patterns change. Portability is aimed at connecting heterogeneous GPUs in those workloads, which matters when a cluster mixes different accelerator types or generations. The README links a slide deck overview and a companion site with a blog, a Slack invite, a roadmap, and a quick start. The project also references an open letter issue, suggesting the maintainers communicate direction publicly. For a reader, UCCL is infrastructure that sits beneath training and inference frameworks, moving tensors between accelerators more efficiently than the default libraries. The C++ language and Apache-2.0 license in the metadata fit a performance oriented systems library intended for wide adoption.
Collective communication performance
The README highlights UCCL-collective, also called UCCL-Tran, as a drop in replacement for NCCL and RCCL. The claim is that it needs no changes to application code, so a workload already using those libraries can switch by changing what it links against. The README says UCCL-collective significantly outperforms them in both latency and throughput across various settings, and it backs this with two benchmark scenarios.
The first scenario uses six HGX servers spread across two racks, each with 8x400G CX-7 RoCE network cards and 8xH100 GPUs. In that setup UCCL-collective outperforms NCCL by up to 2.5x for AllReduce. The second scenario uses two AWS g4dn.8xlarge instances, each with a single 1x50G ENA network card and a single T4 GPU, placed in the same cluster placement group, and there UCCL-collective outperforms NCCL by up to 3.7x for AllReduce. These numbers are reported by the project itself and shown as images in the README, so a user should treat them as vendor benchmarks rather than independent results. The drop in replacement property is the practical point: the performance gain comes without rewriting the training code. A team running large collective heavy jobs on H100 or even modest T4 instances is the audience that would benefit most from trying UCCL-collective.
Point to point and expert parallel transports
Beyond collectives, the README describes the P2P and EP sides of UCCL, which target newer machine learning patterns. For P2P it names KV cache transfer, which is relevant to inference systems that serve large language models and must move key value cache data between GPUs, and reinforcement learning weight transfer, where policy weights move between trainer and actor GPUs. These are point to point moves rather than group operations, and they matter as models grow and split across devices.
For EP the README cites IBGDA, an approach for expert parallelism where different experts in a model live on different GPUs and tokens must be routed between them. Efficient EP transport is important for mixture of experts style models. The README does not give benchmark numbers for P2P and EP in the excerpt, focusing its performance evidence on collectives, but it lists them as core coverage so the library is not only about AllReduce. The two focuses of flexibility and portability apply here too, because KV cache and expert routing happen in heterogeneous and quickly changing setups. A reader building inference or RL infrastructure should look at the P2P and EP components as the parts that distinguish UCCL from a pure collective library, even if the headline benchmarks are collective only.
Editorial conclusion
UCCL is written in C++ and released under the Apache-2.0 license, and its UCCL-collective component acts as a drop in replacement for NCCL and RCCL. The README reports up to 2.5x speedup on six HGX servers with H100 GPUs and up to 3.7x on two AWS g4dn.8xlarge instances with T4 GPUs for AllReduce.
Community notes