我要评分
获取效率
正确性
完整性
易理解

Environment Configuration

Before performing the installation, you need to install the dependent components of the required version.

  1. Install the minimum dependencies required for running and verifying the installation.
    1
    2
    3
    4
    dnf install -y \
      --setopt=install_weak_deps=False \
      --setopt=tsflags=nodocs \
      gcc gcc-c++ libgomp libstdc++ openblas
    
  2. After installing the CUDA Toolkit and cuDNN, set the compilation environment variables. The following uses the default installation path of CUDA 13.0 as an example.
    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 
    test -f ${CUDA_HOME}/include/cudnn_version.h