Questions tagged [cudnn]

The NVIDIA CUDA Deep Neural Network library (cuDNN) is a GPU-accelerated library of primitives for deep neural networks.

The NVIDIA CUDA Deep Neural Network library (cuDNN) is a GPU-accelerated library of primitives for deep neural networks. cuDNN provides highly tuned GPU implementations of standard routines such as forward and backward convolution, pooling, normalization, and activation layers, exposed by a C++ API.

Please use this tag only if you are writing or building code which uses the cuDNN APIs. If you are having problems with installing or running frameworks or libraries which use cuDNN internally, please tag those questions with the library or framework in question, and refrain from tagging them with this tag.

385 questions
321
votes
7 answers

Which TensorFlow and CUDA version combinations are compatible?

I have noticed that some newer TensorFlow versions are incompatible with older CUDA and cuDNN versions. Does an overview of the compatible versions or even a list of officially tested combinations exist? I can't find it in the TensorFlow…
whiletrue
  • 10,500
  • 6
  • 27
  • 47
248
votes
13 answers

How to verify CuDNN installation?

I have searched many places but ALL I get is HOW to install it, not how to verify that it is installed. I can verify my NVIDIA driver is installed, and that CUDA is installed, but I don't know how to verify CuDNN is installed. Help will be much…
alfredox
  • 4,082
  • 6
  • 21
  • 29
48
votes
8 answers

Tensorflow not running on GPU

I have aldready spent a considerable of time digging around on stack overflow and else looking for the answer, but couldn't find anything Hi all, I am running Tensorflow with Keras on top. I am 90% sure I installed Tensorflow GPU, is there any way…
valegians
  • 850
  • 1
  • 7
  • 17
46
votes
23 answers

could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR

I installed tensorflow 1.0.1 GPU version on my Macbook Pro with GeForce GT 750M. Also installed CUDA 8.0.71 and cuDNN 5.1. I am running a tf code that works fine with non CPU tensorflow but on GPU version, I get this error (once a while it works…
Shimano
  • 785
  • 1
  • 6
  • 13
38
votes
4 answers

CUDA_HOME path for Tensorflow

The Tensorflow linux installation instructions say: Ensure that you create the CUDA_HOME environment variable as described in the NVIDIA documentation. I cannot find any mention of CUDA_HOME in the NVIDIA instructions for cuDNN v6 or in the…
Ron Cohen
  • 2,815
  • 5
  • 30
  • 45
38
votes
3 answers

How can I make tensorflow run on a GPU with capability 2.x?

I've successfully installed tensorflow (GPU) on Linux Ubuntu 16.04 and made some small changes in order to make it work with the new Ubuntu LTS release. However, I thought (who knows why) that my GPU met the minimum requirement of a compute…
mickkk
  • 1,172
  • 2
  • 17
  • 38
28
votes
4 answers

On windows, how do you verify the version number of CuDNN installed?

On windows, how do you verify the version number of CuDNN installed? I'm finding a lot of results when I search for the answer for Linux machines. It doesn't seem like there's a clear way to find out what version is installed for Windows.
Axoren
  • 623
  • 1
  • 8
  • 22
25
votes
3 answers

Could not load dynamic library 'libnvinfer.so.7'

I know that this question has been asked a lot, but none of the suggestions seem to work, probably since my setup is somewhat different: Ubuntu 22.04 python 3.10.8 tensorflow 2.11.0 cudatoolkit 11.2.2 cudnn …
Daniel von Eschwege
  • 481
  • 1
  • 4
  • 10
24
votes
3 answers

TensorFlow : failed call to cuInit: CUDA_ERROR_NO_DEVICE

My test : import tensorflow as tf hello = tf.constant('Hello, TensorFlow!') sess = tf.Session()` Error : c:\l\work\tensorflow-1.1.0\tensorflow\stream_executor\cuda\cuda_driver.cc:405] failed call to cuInit: CUDA_ERROR_NO_DEVICE -> but "/cpu:0"…
Vincent Roye
  • 2,751
  • 7
  • 33
  • 53
22
votes
6 answers

How to install latest cuDNN to conda?

In conda the latest version of conda is: cudnn 7.3.1 cuda10.0_0 anaconda But i need 7.4.2 for tensorflow-gpu.1.13 How install cuDNN==7.4.2 in conda?
Andriy Rizhiy
  • 233
  • 1
  • 2
  • 7
22
votes
7 answers

Tensorflow: ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory

I have recently installed tensorflow-gpu using pip. But when I am importing it it is giving the following error: ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory I have gone through all the answers of…
shivank01
  • 1,015
  • 3
  • 16
  • 35
21
votes
7 answers

How to install Cudnn from command line

Cudnn: https://developer.nvidia.com/cudnn I login and go jump through all the hoops that NVIDIA wants you to do; however, when it comes time to download the file I can't seem to figure out how to do it via wget and the command line. I was hoping…
user678392
  • 1,981
  • 3
  • 28
  • 50
18
votes
9 answers

CuDNNLSTM: UnknownError: Fail to find the dnn implementation

I have run the model with LSTM as the first layer successfully. But out of curiosity, I replace LSTM with CuDNNLSTM. But after model.fit, it replied the following error message: UnknownError: Fail to find the dnn implementation. [[{{node…
Fay Wang
  • 191
  • 1
  • 1
  • 4
18
votes
2 answers

Best practice for upgrading CUDA and cuDNN for tensorflow

I'm currently in charge of getting tensorflow-gpu 1.8 to work on my machine. I've been using tf-gpu 1.2 until now, but due to some required features, I have to upgrade my installation. Before doing so, I wanted to check if there is a best practice…
DocDriven
  • 3,726
  • 6
  • 24
  • 53
18
votes
3 answers

What is the difference and relation among 'cuda' 'cudnn' 'cunn' and 'cutorch' in torch?

I see many torch codes use: require cudnn require cunn require cutorch What are these package used for? What is their relation with Cuda?
hunter
  • 529
  • 2
  • 6
  • 16
1
2 3
25 26