This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

dlib 19.24.99 with CUDA
#6
If I remember previously it was necessary to include in the path the folder "torch_dependencies".
Probably on my PC is working because I have also the cuda 11.4 dll.
I have to check the thread on CodeFormer probably this issue was already covered in that post.

EDIT:

Same issue reported here: https://forum.selur.net/thread-3574-post...l#pid21272


On my side this code works

PS D:\Programs\Hybrid\64bit\Vapoursynth> .\python
Python 3.12.3 (tags/v3.12.3:f6650f9, Apr  9 2024, 14:05:25) [MSC v.1938 64 bit (AMD64)] on win32
>>> import dlib
>>> print('DLIB_USE_CUDA: ' + str(dlib.DLIB_USE_CUDA))
DLIB_USE_CUDA: True
>>> print('cuda.get_num_devices: ' + str(dlib.cuda.get_num_devices()))
cuda.get_num_devices: 1


Dan
Reply


Messages In This Thread
dlib 19.24.99 with CUDA - by Dan64 - 01.06.2024, 13:52
RE: dlib 19.24.99 with CUDA - by Selur - 01.06.2024, 14:08
RE: dlib 19.24.99 with CUDA - by Selur - 01.06.2024, 14:58
RE: dlib 19.24.99 with CUDA - by Dan64 - 01.06.2024, 15:25
RE: dlib 19.24.99 with CUDA - by Selur - 01.06.2024, 15:34
RE: dlib 19.24.99 with CUDA - by Dan64 - 01.06.2024, 15:52
RE: dlib 19.24.99 with CUDA - by Selur - 01.06.2024, 16:03
RE: dlib 19.24.99 with CUDA - by Dan64 - 01.06.2024, 16:06
RE: dlib 19.24.99 with CUDA - by Selur - 01.06.2024, 16:15
RE: dlib 19.24.99 with CUDA - by Selur - 01.06.2024, 16:22
RE: dlib 19.24.99 with CUDA - by Dan64 - 01.06.2024, 16:35
RE: dlib 19.24.99 with CUDA - by Selur - 01.06.2024, 16:54
RE: dlib 19.24.99 with CUDA - by Dan64 - 03.06.2024, 21:56
RE: dlib 19.24.99 with CUDA - by Selur - 09.06.2024, 11:24

Forum Jump:


Users browsing this thread: 4 Guest(s)