I’m trying to install CUDA 11.4 on my Ubuntu 21.04 machine, which has a Tesla K40m installed.
Because the K40 is so old, it is not supported by the latest Nvidia driver v495. I have driver 470 installed, which works well.
I’ve followed the directions to add the Ubuntu 20.04 Nvidia repo (Index of /compute/cuda/repos/ubuntu2004/x86_64) and tried
sudo apt install cuda-11-4. This has a dependency on nvidia driver
>=470.52.02 (the version I have installed) but tries to update to the latest version, 495. This driver is incompatible with my K40.
Is there any way to install
cuda-11-4 without upgrading
sudo apt-mark hold nvidia-driver-470 results in unmet dependencies issues.