Docker openCV 4.3.0 - Cuda cuDNN include and lib not found - CUDA 10 found - JP44 & JP43
Opened this issue · 0 comments
Hello, first of all thanks AastaNV I was able to make it works with 4.1.1.
But then I'm building a Dockerfile for 4.3.0 to improve inference speed.
Host: jetson nano freshly flashed with JP44 iso.
I've even tried to install cudnn.deb v 7.6.4 from Nvidia ARM64 (previous flash but same issue).
I've tried to install the cudnn deb on docker too without any difference.
REM: This is JP43 below.
$ cat /usr/include/cudnn.h | grep CUDNN_MAJOR -A 2
#define CUDNN_MAJOR 7
#define CUDNN_MINOR 6
#define CUDNN_PATCHLEVEL 3
--
#define CUDNN_VERSION (CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL)
#include "driver_types.h
$ cat /usr/local/cuda/version.txt
CUDA Version 10.0.326
How do we solve this? Should we hardcode LIBRARY_CUDNN and INCLUDE_LIB_CUDNN?
Or do we merge (cp) CUDNN into Cuda?
- nvidia CUDA: YES (ver10.0, CUFFT, CUBLAS)
- cuDNN: NO
So I've had a docker build issue due to missing runtime.
EDIT: Solved the build issue, /etc/docker/daemon.json was not reloaded with nvidia runtime
So if you can install it by docker run and not by dockerfile, check your runtime (;
EDITED: removed stuff that is solved or trivial.