Installing rocPyDecode#
The rocPyDecode source code and its installation scripts are available from the rocPyDecode GitHub Repository.
The develop branch is the default branch. The develop branch is intended for users who want to preview new features or contribute to the rocPyDecode code base. If you don’t intend to preview new features or contribute to the codebase, clone the rocPyDecode branch that corresponds to your version of ROCm.
rocPyDecode requires ROCm 6.3 or later running on accelerators based on the CDNA architecture with Ubuntu 22.04 or 24.04.
ROCm must be installed using the AMDGPU installer with the rocm
usecase.
Note
sudo access is required to install rocPyDecode on bare metal.
Before building and installing rocPyDecode, run rocPyDecode-requirements.py from the rocPyDecode
root directory:
python3 rocPyDecode-requirements.py
If you’re installing rocPyDecode on Ubuntu 22.04, install libstdc++-12-dev:
apt install libstdc++-12-dev
To install rocPyDecode on bare metal, run pip3 install
from the rocPyDecode
root directory:
pip3 install .
To build and install rocPyDecode in a Docker container, run the rocPyDecode-docker-install.py script from the rocPyDecode
root directory:
python3 rocPyDecode-docker-install.py
The resulting .egg
file will saved to rocPyDecode/dist
.
To create a wheel distribution file, run the build_rocpydecode_wheel.py script from the rocPyDecode
root directory:
python3 build_rocpydecode_wheel.py
You can also run:
python3 setup.py bdist_wheel
The resulting .whl
file will be saved to rocPyDecode/dist
.