how-to-enable-p2p-on-nvidia-gpus

Cinderella-Man

A step-by-step guide to enabling GPU-to-GPU peer-to-peer data transfer over PCIe on consumer NVIDIA GeForce cards under Ubuntu, tested on pairs of RTX 3090 and 3080 cards, useful for multi-GPU model work.

CudaCreated

What is Cinderella-Man/how-to-enable-p2p-on-nvidia-gpus?

This is a step-by-step guide to enabling GPU-to-GPU peer-to-peer copies over PCIe on consumer GeForce cards, using Ubuntu 26.04. The README says the stock GeForce driver reports no peer access, so CUDA, NCCL, PyTorch and vLLM copy every transfer between GPUs through host RAM. The guide replaces NVIDIA's open kernel modules with a patched build of the same driver version.

The README is organised by card generation. Ampere cards such as the RTX 3080 and 3090 are marked as verified, Turing cards such as the RTX 2060 are marked as experimental and need extra steps, and Pascal cards have their own row. It names the combinations that were tested, the fork the work builds on, and the fixes that Ubuntu 26.04 and Linux 7.0 need.

It suits people running multi-GPU machines on consumer cards who are comfortable rebuilding driver modules, and readers who want to know which cards have been tested.