cuda驱动官方下载地址(根据操作系统下载安装):https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=CentOS&target_version=7&target_type=rpmlocal
下载安装cuda仓库环境
wget http://developer.download.nvidia.com/compute/cuda/11.0.1/local_installers/cuda-repo-rhel7-11-0-local-11.0.1_450.36.06-1.x86_64.rpm
sudo rpm -i cuda-repo-rhel7-11-0-local-11.0.1_450.36.06-1.x86_64.rpm
sudo yum clean all
1、安装dkms
wget ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/epel/7.2020-04-20/ppc64/Packages/d/dkms-2.6.1-1.el7.noarch.rpm
yum install dkms-2.6.1-1.el7.noarch.rpm
2、安装cuda
sudo yum -y install nvidia-driver-latest-dkms cuda
s