Environment Configuration
Before performing the installation, you need to install the dependent components of the required version.
- Run the following command to install the basic dependency package.
1 2 3 4
dnf install -y \ --setopt=install_weak_deps=False \ --setopt=tsflags=nodocs \ python3 python3-pip libgomp libstdc++ openblas
- Set the CUDA operating environment.
1 2 3 4 5 6
export CUDA_HOME=/usr/local/cuda-13.0 export PATH=${CUDA_HOME}/bin:${PATH} export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH:-} nvcc --version ldconfig -p | grep libcuda.so.1
- Ensure that the Python ABI matches the wheel file name.
1 2 3 4 5 6
python3 --version python3 - <<'PY' import sysconfig print(sysconfig.get_config_var("SOABI")) PY
If Python 3.11.x is expected, the SOABI contains the following:
1cpython-311-aarch64-linux-gnu
Parent topic: Preparations