Skip to content

Commit 0a15a5e

Browse files
authored
Adjust installation commands to NVIDIA suggestion
When you try to install CUDA drivers following our documentation, installation finishes with the following error using Centos-7.9 image with a NCv3 when you execute nvidia-smi - "NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running." After trying several times I went to NVIDIA documentation and using their steps works without any issue. Our article installs *cuda-drivers* package that has a depencendy with *nvidia-driver-latest-dkms*, while NVIDIA install first *nvidia-driver-latest-dkms* and later *cuda-drivers*
1 parent 72af05b commit 0a15a5e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/virtual-machines/linux/n-series-driver-setup.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,10 @@ For example, CentOS 8 and RHEL 8 will need the following steps.
132132
sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
133133
sudo yum install dkms
134134
135-
wget https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-rhel8.repo /etc/yum.repos.d/cuda-rhel8.repo
136-
137-
sudo yum install cuda-drivers
135+
sudo yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo
136+
sudo yum clean all
137+
sudo yum -y install nvidia-driver-latest-dkms
138+
sudo yum -y install cuda-drivers
138139
```
139140

140141
4. To optionally install the complete CUDA toolkit, type:

0 commit comments

Comments
 (0)