I have CentOS 7 machines that use the NVIDIA repose to install CUDA, cuDNN and some TensorRT packages. Here’s my /etc/yum.repos.d/cuda-rhel7.repo
file:
[cuda-rhel7-x86_64]
name=cuda-rhel7-x86_64
baseurl=https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64
enabled=1
gpgcheck=1
gpgkey=https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/D42D0685.pub
Things are fouled up after a recent cuDNN update. CUDA 11.8 is installed, but the repo wants to install the following:
libcudnn8-8.7.0.84-1.cuda10.2.x86_64
libcudnn8-devel-8.7.0.84-1.cuda10.2.x86_64
Not the cuda10.2
at the end that I believe should be cuda11.8
. When I attempt to remove the offending packages, yum tries to remove other CUDA 11.8 dependent packages I want to keep.
================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
libcudnn8 x86_64 8.7.0.84-1.cuda10.2 @cuda-rhel7-x86_64 367 M
libcudnn8-devel x86_64 8.7.0.84-1.cuda10.2 @cuda-rhel7-x86_64 443 M
Removing for dependencies:
libnvinfer-devel x86_64 8.5.1-1.cuda11.8 @cuda-rhel7-x86_64 1.0 G
libnvinfer-plugin-devel x86_64 8.5.1-1.cuda11.8 @cuda-rhel7-x86_64 45 M
libnvinfer-plugin8 x86_64 8.5.1-1.cuda11.8 @cuda-rhel7-x86_64 41 M
libnvinfer8 x86_64 8.5.1-1.cuda11.8 @cuda-rhel7-x86_64 821 M
libnvonnxparsers-devel x86_64 8.5.1-1.cuda11.8 @cuda-rhel7-x86_64 2.6 M
libnvonnxparsers8 x86_64 8.5.1-1.cuda11.8 @cuda-rhel7-x86_64 2.7 M
libnvparsers-devel x86_64 8.5.1-1.cuda11.8 @cuda-rhel7-x86_64 20 M
libnvparsers8 x86_64 8.5.1-1.cuda11.8 @cuda-rhel7-x86_64 3.3 M
python3-libnvinfer x86_64 8.5.1-1.cuda11.8 @cuda-rhel7-x86_64 3.8 M
Transaction Summary
================================================================================
Remove 2 Packages (+9 Dependent packages)
It seems like there are bad package dependencies floating around.
Can someone confirm?
TIA,
Pete