Skip to content

Instantly share code, notes, and snippets.

@1duo
Last active March 30, 2024 06:41
Show Gist options
  • Save 1duo/8276abe00718828264a7a548c2d23379 to your computer and use it in GitHub Desktop.
Save 1duo/8276abe00718828264a7a548c2d23379 to your computer and use it in GitHub Desktop.
Install NCCL for GPU communications on CentOS 7.

NCCL1

git clone https://github.com/NVIDIA/nccl.git
cd nccl
make -j$(nproc) install

NCCL2

cd /usr/local
tar xvf nccl-<version>.txz
  • When compiling applications, specify the directory path to where you installed NCCL, for example
/usr/local/nccl-<version>/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment