GPU安装
安装驱动
https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=CentOS&target_version=7&target_type=runfilelocal
推荐下载runfilelocal方式的,现在完成后运行运行sh
错误提示:
that the kernel source packages are installed and set up correctly. If you know that the kernel source packages are installed and set up correctly, you may pass the location of the kernel source with the '--kernel-source-path' flag.
解决方法:
sudo yum install epel-release yum install --enablerepo=epel dkms