davisking/dlib

[Bug]: Segmentation fault (core dumped) on cuda 12.4 & cudnn 9.3.0

mv2050arshad opened this issue · 0 comments

What Operating System(s) are you seeing this problem on?

Linux (x86-64) 22.04

dlib version

19.24

Compiler

GCC

Expected Behavior

No response

Current Behavior

I build dlib (cuda-active) and i tried to build my application using dlib Face recognition().
Everything build successfully but i got run-time error :
Segmentation fault (core dumped)

It was detected faces and gpu , but i think the problem was when it try to load model in gpu for faceDescriptor extraction.
std::vector<matrix<float,0,1>> faceDescriptor = net(facesfiltered);

cout<< dlib::cuda::get_num_devices() ; // print 1
dlib::cuda::set_device(0); // without error run this also

Whats wrong? what is the last version of cuda/cudnn which supported by dlib?

I installed :
Cuda 12.4
Cudnn 9.3.0
Gpu 4070

Steps to Reproduce

Install cuda , cudnn and build dlib with cuda active.
Run-time error when run my code in c++ on faceDescriptor extraction.

Anything else?

No response