Environment:
Pop-Os (Ubuntu 20.04)
Gcc 9 and 8 (tried both)
Cmake 3.16.3
dlib 19.20.99
python 3.8.2
NVIDIA Quadro P600
Expected Behavior
Compiling with cuda..
Current Behavior
.....
-- Found cuDNN: /usr/lib/x86_64-linux-gnu/libcudnn.so
-- Building a CUDA test project to see if your compiler is compatible with CUDA...
-- Checking if you have the right version of cuDNN installed.
-- *** Found cuDNN, but it looks like the wrong version so dlib will not use it. ***
-- *** Dlib requires cuDNN V5.0 OR GREATER. Since cuDNN is not found DLIB WILL NOT USE CUDA.
.....
I first tried downloading the latest (and suggested) version of cuda from Nvidia site, which was Cuda 11. then downloaded cuDNN for Cuda 11, which was 8.0.0 (runtime and dev .deb packets) installed them following Nvidia method.
when compiling "cudnn_samples_v8" everything works, so I think installations went ok.
but no way to get dlib compiled with Cuda.
I've tried to uninstall cuda 11 and cudnn 8 and install cuda 10.1 and cudnn 7.6 (suggested for cuda 10.1) but the result is the same.
Every time I erased the build directory, and compiled in 2 ways:
as per dlib instructions, using:
$ sudo python3 setup.py install
or:
$ cmake .. -DDLIB_USE_CUDA=1 -DUSE_AVX_INSTRUCTIONS=1
Any suggestion?
Thanks.
Environment:
Pop-Os (Ubuntu 20.04)
Gcc 9 and 8 (tried both)
Cmake 3.16.3
dlib 19.20.99
python 3.8.2
NVIDIA Quadro P600
Expected Behavior
Compiling with cuda..
Current Behavior
.....
-- Found cuDNN: /usr/lib/x86_64-linux-gnu/libcudnn.so
-- Building a CUDA test project to see if your compiler is compatible with CUDA...
-- Checking if you have the right version of cuDNN installed.
-- *** Found cuDNN, but it looks like the wrong version so dlib will not use it. ***
-- *** Dlib requires cuDNN V5.0 OR GREATER. Since cuDNN is not found DLIB WILL NOT USE CUDA.
.....
git clone https://github.com/davisking/dlib.git
I first tried downloading the latest (and suggested) version of cuda from Nvidia site, which was Cuda 11. then downloaded cuDNN for Cuda 11, which was 8.0.0 (runtime and dev .deb packets) installed them following Nvidia method.
when compiling "cudnn_samples_v8" everything works, so I think installations went ok.
but no way to get dlib compiled with Cuda.
I've tried to uninstall cuda 11 and cudnn 8 and install cuda 10.1 and cudnn 7.6 (suggested for cuda 10.1) but the result is the same.
Every time I erased the build directory, and compiled in 2 ways:
as per dlib instructions, using:
$ sudo python3 setup.py install
or:
$ cmake .. -DDLIB_USE_CUDA=1 -DUSE_AVX_INSTRUCTIONS=1
Any suggestion?
Thanks.