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

Cudnn files are not recognized although are present

I created a virtualenv and installed TensorFlow 2.4.0. The CUDA was already installed so I tried to install Cudnn according to these instructions $ tar -xzvf cudnn-11.0-linux-x64-v8.0.2.39.tgz $ sudo cp cuda/include/cudnn*.h…
0
votes
1 answer

How to downgrade cuDNN version 8.1 to version 7.6 on Google Colab

I am currently doing an OCR technology project using only PaddleOCR and running only in GPU on Google Colab. Recently, Google Colab updated its cuDNN version from 7.6 to 8.1, which resulted in my training model being unable to work. The error…
0
votes
0 answers

Running YoloV4 on wsl2

I installed everything required like cuda, cudnn in wsl2 and now when I git clone AlexeyAb and make changes to the Makefile and run "make" cmd in the terminal it throws me an error. How to verify if cudnn is installed in my wsl2? Thanks in advance.
Gram
  • 33
  • 3
0
votes
0 answers

Several warnings when building Opencv with CMake on Windows

I'm following some tutorials to build OpenCV with Cuda support, but when i build it, it shows hundreds of warning messages about OpenCV_world. I've tried different OpenCV versions, like 4.5.5 and 4.5.1, and both of them get the same warning.Warning…
0
votes
1 answer

NVIDIA vs PyTorch versions of cuDNN

After installing PyTorch as per the official command: conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=10.2 -c pytorch, my cuDNN version shown in conda list is pytorch 1.7.1 py3.8_cuda10.2.89_cudnn7.6.5_0 pytorch whereas…
user529295
  • 189
  • 2
  • 11
0
votes
0 answers

get CUDNN_STATUS_BAD_PARAM while executing cudnnFusedOpsExecute()

I was trying out my custom op on V100 and got CUDNN_STATUS_BAD_PARAM while executing cudnnFusedOpsExecute(): Execute line: 43 cuDNN: CUDNN_STATUS_BAD_PARAM Execute line: 43 cuDNN: CUDNN_STATUS_BAD_PARAM According to NVIDIA's API reference,this…
0
votes
1 answer

Issues while verifying cudnn 7.3.0 installation

OS: Ubuntu 18.04/ cuda 10.0/ tensorflow-gpu 1.13.1/ cudnn 7.3.0 When I want to verify the installation of cudnn through ./mnistCUDNN, it runs about 20 mins and failed like this: cudnnGetVersion() : 7300 , CUDNN_VERSION from cudnn.h : 7300…
Lei Shi
  • 11
  • 2
0
votes
0 answers

colab Fail to Find dnn

I ran my model yesterday on Google colab using their GPU and no error was encountered. However, today I tried to run the same code (unchanged from yesterday) and I get the following error: UnknownError: Graph execution error: Fail to find the dnn…
0
votes
2 answers

Tensorflow 2.9 nvidia graphics compatibility issues

I am trying to enable my nvidia gtx 1050 mobile gpu for tensorflow v2.9. Here is what I have so far: The proper driver for my graphics card is 470.xx as per this question. I have installed 470.129.06 . When I do nvidia-smi in terminal I get: My…
ptushev
  • 177
  • 3
  • 16
0
votes
1 answer

CUDA cuDNN: cudnnGetConvolutionForwardWorkspaceSize fails with bad parameter

I am currently trying to implement a very basic 2D convolution using CUDA cuDNN between an "image" of size 3x3 and a kernel of size 2x2, resulting in a 2x2 output. This is my code: // Create a cuDNN handle: cudnnHandle_t…
binaryBigInt
  • 1,526
  • 2
  • 18
  • 44
0
votes
1 answer

NCHW input matrix to Dm conversion logic for convolution in cuDNN

I have been trying to understand the convolution lowering operation shown in the cuDNN paper. I was able to understand most of it by reading through and mapping various parameters to the image below. However, I am unable to understand how the…
0
votes
1 answer

cudnn64_8.dll not found (but I have it installed properly!)

I have tried to get my laptop gpu to work with tensorflow, however I keep encountering this issue I had tensorflow installed through pip (on anaconda env) with CUDA 11.2 and CUDnn 8.1, and it won't work! I then tried a previously known version to…
prairieCoder
  • 11
  • 1
  • 1
0
votes
0 answers

Cudnn won't work when I install cudnn64_8.dll

So I'm currently working with GPT2 running on Tensorflow for text generation. I'm working with this repo specifically. I recently decided to install CUDA and cudnn to improve GPU capability and installed it via these instructions. I'm currently…
Alditrus
  • 87
  • 1
  • 5
0
votes
1 answer

DL4J-Image become too bright

Currently, I've been asked to write CNN code using DL4J using YOLOv2 architecture. But the problem is after the model has complete, I do a simple GUI for validation testing then the image shown is too bright and sometimes the image can be displayed.…
0
votes
1 answer

Colab: UnknownError: Failed to get convolution algorithm when using TF 2.5

I seem to be having problems when using tensorflow 2.5 on Google Colab. I assume there is some incompatibility between the CUDA version and/or CuDNN version. How would I fix them? I checked the CUDA version used by colab. It is 11.2 which should be…
Jim
  • 111
  • 3
  • 13