15.02.2026, 21:29
I included mmod_human_face_detector.dat because was used by the script python test_dlib_cuda_13.py. CodeFormer is using the same model but with a different name and location.
But in this case the test script fails when dlib is imported. This means that in your PC is missing CUDA 13 or is not located in 'C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v13.0'.
In the case it is installed this means that is missing cuDNN.
You need:
1) download: cudnn-windows-x86_64-9.15.1.9_cuda13-archive.zip
2) extract the cuDNN package (it's a .zip file, not a real installer). Copy the files directly into the CUDA directory:
This should fix the issue.
Dan
P.S.
as shown in release-compatibility-matrix
![[Image: attachment.php?aid=3501]](https://forum.selur.net/attachment.php?aid=3501)
for pytorch version 2.10 with CUDA 13.0 is used CUDNN 9.15.1.9 (note that CUDA 13.0 is still considered experimental)
But in this case the test script fails when dlib is imported. This means that in your PC is missing CUDA 13 or is not located in 'C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v13.0'.
In the case it is installed this means that is missing cuDNN.
You need:
1) download: cudnn-windows-x86_64-9.15.1.9_cuda13-archive.zip
2) extract the cuDNN package (it's a .zip file, not a real installer). Copy the files directly into the CUDA directory:
# Header
copy cudnn-windows-x86_64-*-archive\include\cudnn*.h ^
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.0\include\"
# Library
copy cudnn-windows-x86_64-*-archive\lib\x64\cudnn*.lib ^
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.0\lib\x64\"
# DLL (for CUDA 13.x, put them in bin\x64\)
copy cudnn-windows-x86_64-*-archive\bin\cudnn64_*.dll ^
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.0\bin\x64\"This should fix the issue.
Dan
P.S.
as shown in release-compatibility-matrix
for pytorch version 2.10 with CUDA 13.0 is used CUDNN 9.15.1.9 (note that CUDA 13.0 is still considered experimental)

