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
2
votes
2 answers

RuntimeError: CuDNN error: CUDNN_STATUS_SUCCESS

I am running code that UI downloaded from github. It is supposed to be working (I saw that other people managed to activate it). When I try to run it I get the following error message: RuntimeError: CuDNN error: CUDNN_STATUS_SUCCESS The code uses…
Hadas Ofir
  • 21
  • 1
  • 4
2
votes
1 answer

converting from deprecated cudnn functions to working ones

I need to run a repo that contains deprecated cudnn functions (cudnnGetConvolutionForwardAlgorithm',cudnnGetConvolutionBackwardFilterAlgorithm','cudnnGetConvolutionBackwardDataAlgorithm'). I am on cudnn8.0 at the moment. I know there are working…
2
votes
0 answers

pytorch-yolov3 train RuntimeError: Unable to find a valid cuDNN algorithm to run convolution

https://github.com/ultralytics/yolov3/ When I started training yolov3 with 'python train.py' this happened, what is the reason? Traceback (most recent call last): File "train.py", line 415, in train() # train normally File…
zst
  • 21
  • 4
2
votes
1 answer

Failed to get convolution algorithm error ~ tensorflow-gpu on ubuntu 20.04

I have a NVIDIA 2070 RTX GPU, and my OS is Ubuntu20.04. I have installed the tensorflow-gpu package with conda. I have not installed the CUDA-toolkit I believe it also installs the required libraries from the CUDA-toolkit to use gpu-acceleration,…
Psychotechnopath
  • 2,471
  • 5
  • 26
  • 47
2
votes
1 answer

Building OpenCV 4 requires CC 5.3 or higher - RTX 2080TI

I am trying to build the OpenCV 4.2.0 with OPENCV_DNN_CUDA=ON in Ubuntu 18.04, but I get the below CMake error even though I have a NVIDIA 2080TI GPU which has a CC 7.5 CUDA backend for DNN module requires CC 5.3 or higher. Please remove …
Teshan Shanuka J
  • 1,448
  • 2
  • 17
  • 31
2
votes
1 answer

How to solve "Code Generation value is not in the expected format '[Arch],[Code]' " error compiling darknet with CUDA

Attempting to compile Darknet with CUDA 10.0, cudnn 7.4, and OpenCV 3.4.0. Using Cmake 3.10.1 to generate project files for VS 2017 Community. Compiled OpenCV with CUDA 10.0. Using the AlexeyAB/darknet fork for Windows build of darknet…
nylorac
  • 21
  • 3
2
votes
1 answer

CuDNN code gives CUDNN_STATUS_EXECUTION_FAILED status only in release

I am compiling a git version of the MXNet framework, which use CuDNN inside its code. Whenever MXNet is compiled in debug, my example test is running fine and my neural network is training. However, when I switch to release mode, the execution fails…
Emile D.
  • 602
  • 2
  • 11
  • 20
2
votes
1 answer

Tensorflow-alpha-gpu issue ImportError: DLL load failed: The specified module could not be found

I previously had cuda9.0_0 and cudnn7.1.4, I wanted to run tf-alpha in gpu,from this tf guide:https://www.tensorflow.org/install/gpu I found I need cuDNN SDK (>= 7.4.1) and cuda10.so I uninstalled previous versions from control panel and installed…
fpaekoaij
  • 193
  • 1
  • 2
  • 15
2
votes
0 answers

Can tensor in Tensorflow have non-contigous memory?

Tensors in PyTorch can have non-contiguous memory, as described here. What about Tensorflow? Can tensors in Tensorflow have non-contiguous memory? Or is it impossible because of static graph?
Antonio Jurić
  • 541
  • 4
  • 15
2
votes
1 answer

Tensorflow 1.13.1 doesn't recognize GPU

I have GPU NVIDIA GeForce GT 740M (compute capability 3.0) and the following versions of CUDA, cuDNN and tensorflow installed. nvcc -V nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2019 NVIDIA Corporation Built on…
svetlana
  • 23
  • 1
  • 6
2
votes
1 answer

Error : Invalid Reference Format in Dockerfile ubuntu 14.04, cuda 8.0, cudnn 6.0

I am trying to build an image from the Dockerfile of specifications ubuntu 14.04, cuda 8.0, cudnn 6.0 (devel) from here. I saved the dockerfile on my local system When I use docker build PATH command where PATH = /home/anil/Desktop/container I…
Rachna Pathak
  • 135
  • 1
  • 10
2
votes
1 answer

Two CUDA folders under /usr/local. Which one should I export?

I'm sorry if I'm asking a silly question. I'm new to CUDA. Installed CUDA 10.1 using Runfile method and did the following export according to Nvidia instructions: export LD_LIBRARY_PATH=/usr/local/cuda-10.1/lib64:$LD_LIBRARY_PATH export…
Dadi Gao
  • 31
  • 1
  • 4
2
votes
1 answer

CuDNN Reduce Format Bug

I really hate to dump a lot of code here, but I wanted it to be compilable. The following is used to demonstrate a possible bug (most likely a misunderstanding) in CuDNN. #include #include #include #include…
McAngus
  • 1,826
  • 18
  • 34
2
votes
1 answer

Initializing the state of CUDNN LSTMs

I think we may use the following code segment to create a stack of LSTMs and initializes the states of it to be zero. lstm_cell = tf.contrib.rnn.BasicLSTMCell( hidden_size, forget_bias=0.0, state_is_tuple=True) cell =…
chanwcom
  • 4,420
  • 8
  • 37
  • 49
2
votes
3 answers

ImportError: Could not find 'cudnn64_7.dll' , while importing tensorflow

This is an issue that many of us must have come across. While installing tensorflow, this is one of the error messages that pops up for most of the users. I could not install Tensorflow 1.10.0 due to the following error that I posted a few days back…
Arnab Sinha
  • 301
  • 2
  • 7
  • 17