February 11, 2022, 7:08am
I’m following this guide to install cudnn.
I’ve able to perform instruction give under “22.214.171.124. Ubuntu Network Installation” section
I’m getting the following error when I’m trying to perform instruction give under “2.4. Verifying The Install On Linux” section for verifying installation.
cd: /home/e/cudnn_samples_v8/mnistCUDNN: No such file or directory
/usr/src/cudnn_samples_v8 directory I only have one file “NVIDIA_SLA_cuDNN_Support.txt”
Installed cudnn and cuda versions are as follows
Are you still facing this issue.
Which method of installation are you following. Could you run successfully prior steps as mentioned in the docs without any error ?
March 11, 2022, 4:59pm
As I mentioned, I followed
"126.96.36.199. Ubuntu Network Installation” section
Yes. & if I try to reinstall it says : “
libcudnn8 is already the newest version (188.8.131.52-1+cuda11.5)”
I believe the issue I’m facing is related to
“2.4. Verifying The Install On Linux” section.
When I perform the
2nd step of the verification-procedure. “ Go to the writable path.”
bash: cd: /home/e/cudnn_samples_v8/mnistCUDNN: No such file or directory
So I believe
mnistCUDNN is missing from the setup. or not being included anymore.
Are you still facing this issue
I have the same issue, do you have any kind of solution? I have performed multiples time the installation steps…
I have the same Issue too , did anyone find a solution for it ? Note : I used the .tar file Installation
The same here, I followed the steps but there is only the file NVIDIA_SLA_cuDNN_Support.txt.
But now I tried to install dlib which CUDA support and it was found!
Found CUDA: /usr (found suitable version "11.5", minimum required is "7.5")
But it reaised another issue that I’ll handle now.
*** CUDA was found but your compiler failed to compile a simple CUDA program so dlib isn't going to use CUDA.
Same issue here. Any update?
I have followed the installation instruction for the
184.108.40.206. Ubuntu Network Installation as well as 1.3.1. Tar File Installation and eventually the Debian installation. When it get to installing the library it says:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Package libcudnn8-samples is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Version ‘8.x.x.x-1+cudaX.Y~’ for ‘libcudnn8-samples’ was not found
Cant Nvidia just put the sample code to github just like you did with the CUDA toolkit sample codes? Why all the hoop-jumping. And from what I’ve seen this is not a singular issue, a lot of people is having issue locating and finding the cudnn sample codes.
First I installed Ubuntu 22.10 and for my happiness I noticed the SO had finally recognized my Geforce RTX 3070 Ti Laptop in all monitoring tools, including:
sudo lshw -c video
lspci -k | egrep -A 3 -i “vga|display|3d”
It wasn’t been recognized in Ubuntu 22.04 LTS. Even the wifi was recognized at the end of the installation. The nvidia toolkit (nvidia-smi, …) was automatically installed too. :)
Then I’ve followed this
Installing dlib using conda with CUDA enabled · GitHub
I’ve aborted the first installation because it complained about the lack of a package and I’ve decided to install it first and them restart the installation process.
sudo nala install libopenblas-dev liblapack-dev
When it finished I could see the expected messages.
– Found CUDA: /home/…/miniconda3/envs/CV (found suitable version “12.0”, minimum required is “7.5”)
– Found cuDNN: /home/…/miniconda3/envs/CV/lib/libcudnn.so
Up to now I think changing to Ubuntu 22.10 was a good choice.
That is what I did. Good luck!
You can install with:
sudo apt-get update && sudo apt-get upgrade
sudo apt purge '*nvidia*'
sudo apt-get remove --purge '^nvidia-.*'
sudo dpkg -i cuda-keyring_1.0-1_all.deb
sudo apt-get update
sudo apt-get -y install cuda gds libcudnn8 libcudnn8-dev tensorrt
sudo gedit .bashrc
Reboot and enjoy it!