Prerequisites to use ROCm on Radeon desktop GPUs for machine learning development#

Before starting with the installation, ensure that your system meets the necessary requirements such as supported hardware, a compatible operating system, and the recommended system configuration to ensure optimal performance and functionality.

See Compatibility matrices for more information.

Supported hardware#

Supported graphics processing units#

To successfully install ROCm™ for machine learning development, ensure that your system is operating on a Radeon™ Desktop GPU listed in the Compatibility matrices section.

Supported operating systems#

Ensure that your operating system is up-to-date to successfully install ROCm for machine learning development.

Refer to Compatibility matrices for up-to-date operating system compatibility.

Update Ubuntu® operating system#

Use the following commands to bring your OS up-to-date:

sudo apt-get update
sudo apt-get dist-upgrade

Additional package repositories#

For some distributions, the ROCm installation packages depend on packages that aren’t included in the default package repositories. These external repositories need to be sourced before installation. Use the following instructions specific to your distribution to add the necessary repositories.

Red Hat Enterprise Linux#

  1. Add the EPEL repository for RHEL 9.

    wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
    sudo rpm -ivh epel-release-latest-9.noarch.rpm
    
  2. Enable the CodeReady Linux Builder (CRB) repository.

    In order to enable CRB, you may need to install dnf-plugin-config-manager first.

    sudo dnf install dnf-plugin-config-manager
    sudo crb enable
    

    Note

    For more information, see Additional package repositories for Instinct GPUs.