Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mv2050arshad opened this issue Aug 14, 2024 · 0 comments
Closed

Comments

@mv2050arshad
Copy link

mv2050arshad commented Aug 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant