说明
最近买了洋垃圾回来装备一套gpu服务器,故记录下安装过程。
步骤
准备工作
sudo dnf install kernel-devel-$(uname -r) kernel-headers-$(uname -r)
sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
sudo rpm --erase gpg-pubkey-7fa2af80*
distro=rhel9
arch=x86_64
sudo dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/$distro/$arch/cuda-$distro.repo
sudo dnf clean expire-cache
Install CUDA SDK:
sudo dnf module install nvidia-driver:latest-dkms
sudo dnf install cuda-toolkit
Install GPUDirect Filesystem:
sudo dnf install nvidia-gds
最后重启即可。