NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

HetCCL: Efficient LLM Training on Heterogeneous Vendor GPUs

Heehoon Kim, Jaehwan Lee, Taejeoung Kim, Jongwon Park, Jinpyo Kim, Pyongwon Suh, Ryan H. Choi, Sangwoo Lee, Jaejin LeeNeurIPS 2026

TL;DR

Until now, training a single large language model across both NVIDIA and AMD GPUs at the same time was like trying to get two people who speak completely different languages to co-write a novel on the fly. HetCCL acts as a universal translator, allowing GPUs from different vendors to communicate directly at high speeds without requiring a single line of code changed in your PyTorch scripts or hardware drivers. It unlocks stranded compute in mixed-vendor clusters, turning fragmented hardware into one unified supercomputer.

What Problem Does This Paper Address?

Unless you work at a tech giant with an infinite budget, you probably build your GPU clusters piecemeal—buying NVIDIA cards one year, and perhaps adding AMD cards the next due to supply shortages or cost.

When training massive deep learning models across multiple GPUs, the devices constantly need to synchronize their math (sharing gradients and model states) using "collective communication" operations like All-Reduce. To make this fast, vendors provide heavily optimized libraries: NCCL for NVIDIA and RCCL for AMD. The catch? They don't talk to each other. Even newer "portable" frameworks force you to pick either NVIDIA or AMD at compile time. Consequently, if you have four NVIDIA nodes and four AMD nodes, you can't pool them together to train one giant model faster.

Figure 2: Comparison between the previous approach and HetCCL.

Methods

Instead of writing a brand-new communication library from scratch (which would be slow and miss out on years of vendor-specific hardware tricks), the authors decoupled collective coordination from vendor-specific execution. Because AMD's RCCL was originally forked from NVIDIA's NCCL, they share very similar high-level logic. HetCCL merges their host-side control planes while keeping their low-level hardware magic intact through four clever mechanisms:

  • TACC (Runtime API Abstraction): HetCCL introduces an interface layer called TACC that unifies CUDA (NVIDIA) and HIP (AMD) runtime commands. When HetCCL asks to allocate memory, TACC detects the local hardware at startup and routes the call to cudaMalloc or hipMalloc dynamically.
  • Decoupled Kernel Compilation: GPU code (kernels) must be compiled by vendor-specific compilers (nvcc or hipcc). HetCCL compiles NVIDIA and AMD device kernels into separate standalone shared libraries, dynamically loading the right one at runtime via a fast function-pointer table.
  • Zero-Copy Cross-Vendor RDMA: Normally, GPUs on different servers talk via RDMA (Remote Direct Memory Access), allowing network cards (NICs) to read/write GPU memory directly without bothering the slow CPU. HetCCL registers NVIDIA and AMD memory buffers with standard InfiniBand Verbs, allowing direct NIC-to-NIC transfers across vendors.
Figure 1: Communication between GPUs across nodes.
  • Zero Code Modification & Load Balancing: Using Linux's LD_PRELOAD trick, HetCCL intercepts standard NCCL/RCCL calls under the hood, requiring zero changes to PyTorch or DeepSpeed. Plus, because different GPUs crunch numbers at different speeds, HetCCL runs a quick offline profile and assigns larger micro-batches of data to faster GPUs so the fast cards aren't stuck waiting on slower "stragglers."

Datasets

To verify that mixing GPU architectures doesn't corrupt the math or ruin model convergence, the authors trained a LLaMA-1B model for 1,000 steps using the WikiText-103 dataset. No new benchmarks were introduced.

Key Insights and Ideas

  • Cross-vendor RDMA isn't a driver problem: There is a widespread misconception that getting an NVIDIA GPU to RDMA directly into an AMD GPU requires rewriting proprietary GPU drivers. The authors noticed that once GPU memory is exposed to the PCIe address space (via GPUDirect or DirectGMA) and registered with the network card, the network stack completely abstracts away the GPU vendor. Even the byte layouts (endianness) match out of the box!
  • You don't have to sacrifice native speed for portability: Historically, portable standards like MPI lag behind vendor-tuned libraries in deep learning workloads. By wrapping and unifying NCCL and RCCL rather than replacing their device kernels, HetCCL gets cross-vendor flexibility for free while retaining near-100% native speed on homogeneous setups.

Key Results

Tested on a 4-node, 16-GPU cluster (two 4x NVIDIA nodes + two 4x AMD nodes) training GPT (125M, 355M) and LLaMA (1B, 3B) models with DeepSpeed ZeRO:

  • End-to-End Speedups: Pooling the cluster with HetCCL achieved an average training speedup of 1.38× over NVIDIA-only runs and 2.69× over AMD-only runs.
  • High Cluster Efficiency: When combining heterogeneous GPUs, HetCCL reached up to 97% efficiency relative to the theoretical sum of running the homogeneous NVIDIA and AMD clusters separately (with micro-batch load balancing boosting throughput by 1.09×).
  • Near-Linear Scaling: Scaling from 8 mixed GPUs to 16 mixed GPUs nearly doubled training throughput across all tested models.
  • Identical Accuracy: In BF16 precision training on WikiText-103, the relative error in final loss between NCCL, RCCL, and HetCCL was below $7 \times 10^{-3}$—well within normal BF16 numerical tolerance ($7.8125 \times 10^{-3}$).

Limitations and Future Work

  • Single-Vendor Nodes Only: HetCCL currently assumes that while nodes in a cluster may differ, all GPUs inside a single server belong to the same vendor. Putting an NVIDIA and AMD card on the same motherboard is rare in data centers, though supporting intra-node cross-vendor P2P/shared-memory transfers is planned for future work.
  • Static Load Balancing: Micro-batch sizes are set once using a brief offline profiling phase before training starts. If a GPU slows down mid-run due to thermal throttling or network contention, the static ratio won't adapt. The authors plan to explore dynamic, online re-profiling to adjust batch sizes on the fly.

Summary updated

BibTeX
@inproceedings{kim2026hetccl,
  author = {Heehoon Kim and Jaehwan Lee and Taejeoung Kim and Jongwon Park and Jinpyo Kim and Pyongwon Suh and Ryan H. Choi and Sangwoo Lee and Jaejin Lee},
  title = {{HetCCL: Efficient LLM Training on Heterogeneous Vendor GPUs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=atJocPineV},
}
Figure