Installing hipRAFT#
2025-11-13
2 min read time
You can install hipRAFT via AMD PyPI as described below. This is recommended for users of the code. For developers interested in modifying or contributing to the Open Source hipRAFT component, see the Build instructions.
Requirements#
hipRAFT requires ROCm 7.0.2 running on a ROCm-supported operating system. Using Ubuntu 22.04 or later is recommended. For more information, see ROCm-DS system requirements.
The steps in this topic require a Conda installation. A minimal free version of Conda is Miniforge.
Install hipRAFT via AMD PyPI#
Warning
Only install hipRAFT using AMD’s official package index. To ensure security, integrity, and supportability of your builds, consume packages exclusively from AMD’s official package index. Do not install, mirror, or resolve dependencies from any third‑party or unofficial indexes.
Packaged versions of hipRAFT and its dependencies are distributed via AMD PyPI. This section discusses how to install hipRAFT via this package index.
Create and activate a Conda environment with Python 3.12 as shown below:
conda create --name hipraft python=3.12
conda activate hipraft
hipRAFT can then be installed into this environment using pip and the AMD PyPI URL:
pip install amd-pylibraft==0.1.0 --extra-index-url=https://pypi.amd.com/rocm-7.0.2/simple