下載附件 留存到相冊
網路安裝 需安裝 2-3步調
- wget https://developer.download.nvidia.com/compute/cuda/11.7.0/local_installers/cuda-repo-rhel8-11-7-local-11.7.0_515.43.04-1.x86_64.rpm
- rpm -i cuda-repo-rhel8-11-7-local-11.7.0_515.43.04-1.x86_64.rpm
- yum clean all
- yum -y install nvidia-driver-latest-dkms cuda
- yum -y install cuda-drivers
複製代碼
- nvidia-smi
- dmesg | grep NVRM
複製代碼
- dnf config-manager --add-repo http://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-rhel8.repo
複製代碼
- dnf module list nvidia-driver
複製代碼
5. 網路安裝
2024-3-20 18:34 上傳

2. 安裝kernel-headers
- dnf install kernel-devel-$(uname -r) kernel-headers-$(uname -r)
複製代碼
安裝完成後,查抄會顯示
3. 安裝GCC、kernal組件、dkms等


4. 下載CUDA並安裝CUDA
在今朝shell中履行,使情況變數生效。
點竄完成以後退出編輯模式,在尾行模式下貯存退出。
CentOS NVIDIA 驅動程式 CUDA
6. 查看是否安裝成功
zosimogx30t4 發表在 痞客邦 留言(0) 人氣()