Skip to content

Docker openCV 4.3.0 - Cuda cuDNN include and lib not found - CUDA 10 found - JP44 & JP43 #23

Description

@etdecode

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions