Install RCCL#

RCCL is distributed as a prebuilt package with ROCm. The recommended way to install RCCL is to install ROCm using the package manager for your Linux distribution, which provides RCCL along with the rest of the ROCm stack.

Before you begin, verify that your system is supported. For more information, see ROCm components.

For advanced workflows, source builds, or custom configurations, see Building RCCL from source.

Note

ROCm is transitioning to a new packaging scheme. The package names you use depend on which ROCm release stream you are installing:

Install RCCL from the ROCm technology preview#

The ROCm 7.13.0 technology preview is built with TheRock and uses a new amdrocm-* package naming scheme. These packages are published from the ROCm preview repositories and are intended for evaluation and development.

For the most complete installation, install the amdrocm-core-sdk meta package, which provides the full ROCm Core SDK including RCCL.

To install RCCL on its own, install the amdrocm-rccl package. RCCL package names use the following format:

amdrocm-rccl<-dev><rocm_version>

Where:

  • -dev adds the library headers in addition to the runtime files. Omit this suffix to install only the runtime package.

  • <rocm_version> is the ROCm Core SDK version to install. Omit this suffix to install the latest available version.

For example: amdrocm-rccl-dev7.13.

Use the following command to install the latest RCCL development package:

sudo apt install amdrocm-rccl-dev
sudo dnf install amdrocm-rccl-dev

Install a nightly build#

TheRock also publishes nightly builds for the ROCm Core SDK and its components, including RCCL. See Nightly release status for details.