On 09/20/2018 10:49 AM, Yan Li wrote:
NVIDIA actually releases their drivers in official RPM format for
RHEL/CentOS. Much easier/faster to use and update than their shell
script driver. They are in NVIDIA's cuda repo. You can install the repo
files from here:
https://developer.nvidia.com/cuda-downloads
Choose "rpm (network)" for the last step to get to the yum repo. I use
cuda but I think you can just install nvidia-kmod to get the driver only.
Just checked. The latest repo changed the package name from nvidia-kmod
to dkms-nvidia.
A minor problem is that one cuda version and repo are only maintained
for about half a year, then NVIDIA moves to next version. If you always
want the latest NVIDIA driver, you might need to change the cuda repo
URL to point to the latest every year. I only upgrade when TensorFlow
supports a new version of CUDA.
I was wrong on this. NVIDIA now actively updates the repo to always
point to the latest driver. No manual update needed.
--
Yan Li
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos