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
3
votes
1 answer

Why is convolution in cuDNN non-deterministic?

The PyTorch documentary says, when using cuDNN as backend for a convolution, one has to set two options to make the implementation deterministic. The options are torch.backends.cudnn.deterministic = True and torch.backends.cudnn.benchmark = False.…
ty.
  • 221
  • 1
  • 8
3
votes
4 answers

How to find CUDNN with CMake?

Apparently I correctly installed CUDA and CUDNN, but still FindCUDA finds CUDA, but FindCUDNN.cmake does not find CUDNN What else should I check to debug this? OS: Windows 10 cmake version 3.17.2 CUDA Version 10.2 CUDNN version…
WurmD
  • 1,231
  • 5
  • 21
  • 42
3
votes
1 answer

Conda, Keras, cuDNN: different versions showing

I'm using Anaconda (in Ubuntu 18.04) and I have an environment with Keras (and tensorflow-gpu) installed. Here are the different versions: Keras: 2.2.4 Tensorflow-GPU: 1.15.0 CuDNN: 7.6.5 for Cuda10.0.0 CudaToolKit: 10.0.130 The version are chosen…
FoxYou
  • 120
  • 1
  • 11
3
votes
2 answers

Does PyInstaller include CUDA

I am working on a Python script (I use Python 3.7.3) that uses tensorflow-gpu (1.14.0) and used PyInstaller 3.5 to convert this script to an executable. I am using CUDA 10.0 and cuDNN 7.6.1 and my graphics card is a NVIDIA GeForce GTX 960M. I…
disputator1991
  • 165
  • 5
  • 13
3
votes
0 answers

Should I be able to use precompiled TensorFlow 2 on a Laptop Geforce RTX 2060 GPU?

I changed the title from "CUDNN_STATUS_ALLOC_FAILED with minimal network and data using CUDA 10.0 and CuDNN 7.6.x" to better describe my problem. I have Laptop with an NVIDIA Geforce RTX 2060 GPU, that should have a Turing architecture and 7.5…
bers
  • 4,817
  • 2
  • 40
  • 59
3
votes
2 answers

Caffe2 doesn't seem to see cuDNN?

I am trying to install SpConv (spatially sparse convolution library), however when running python3 setup.py bdist_wheel, I get an error which seems to be related to Caffe2 not being able to see cuDNN, as I infer from this message: CMake Error at…
Ivan Novikov
  • 558
  • 6
  • 13
3
votes
0 answers

Anaconda's cuDNN for theano

I have been following instructions here on how to install tensorflow with GPU support on Anaconda. It also installs Cuda and cuDNN on Anaconda with it thus, simplifying the installation process. I needed to replicate the process with theano.…
ryuzakinho
  • 1,891
  • 3
  • 21
  • 35
3
votes
6 answers

tensorflow: Fail to find dnn implementation

I'm trying to run my code Keras CuDNNGRU on tensorflow using gpu but it always get error "Fail to find dnn implementation" even though I already installed CUDA and CuDNN. I already reinstall both CUDA and CuDNN for several times and upgrading CuDNN…
Rike Adelia
  • 41
  • 1
  • 1
  • 5
3
votes
1 answer

Module 'cudnn' not found:No LuaRocks module found for cudnn

Installed Lua and other dependencies following the standard command on Ubuntu 16.04: conda install lua=5.2 lua-science -c alexbw I am getting error in the line: require 'cudnn' The error is: ` /home/parth/miniconda3/envs/fastai-tf/bin/lua:…
3
votes
3 answers

How to delete cudnn from ubuntu?

I need cudnn 7 for my tensorflow version. But I can't delete cudnn. terminal Update: daniel@tales:~$ rm -r /usr/local/cuda-6.0/lib64/libcudnn* rm: can't delete '/usr/local/cuda-6.0/lib64/libcudnn*': didn't find this catalog ``
James_Hames
  • 59
  • 1
  • 1
  • 7
3
votes
1 answer

cudnn RNN implementation with status execution_failed

I write a simple application in order to test cudnn rnn apis and check whether my understanding is correct or not; the code is like this, int layernum = 1; int batchnum = 32; int hiddenSize = 64; float* h_weight, *h_hx_, *h_cx_, *h_hy_,…
yewei
  • 241
  • 2
  • 9
3
votes
1 answer

Install gpu version tensorflow with older version CUDA and cuDNN

Currently, I need to install gpu version tensorflow on a machine that existing an older version CUDA and cuDNN, and my question is how can I get it done without re-installing CUDA and cuDNN since other package (see pytorch) need it.
Yuwen Yan
  • 4,777
  • 10
  • 33
  • 63
3
votes
1 answer

Unable to Run Tensorflow/Keras with GPU

I tried to run Keras with my GPU but got the following error: C:\Python36\lib\site-packages\skimage\transform_warps.py:84: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15. warn("The default mode,…
user2505650
  • 1,293
  • 6
  • 20
  • 38
3
votes
1 answer

ImportError: libnvidia-fatbinaryloader.so.384.90: cannot open shared object file: No such file or directory

import tensorflow as tf Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File…
Vinay Singh
  • 41
  • 1
  • 2
3
votes
3 answers

TensorFlow: could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR but no other TF instances running

I am trying to run some basic transfer learning code using VGG16. I am using Ubuntu 16.04, TensorFlow 1.3 and Keras, and I have 4 1080ti GPUs. When I get to this line of code: datagen = ImageDataGenerator(rescale=1. / 255) model =…
GhostRider
  • 2,109
  • 7
  • 35
  • 53