Closed AbSomeone closed 6 months ago
You need to install cudnn locally and match the cuda version.
I disagree. The cudnn vpkg package should match the installed version of CUDA. Not the other way around.
I disagree. The cudnn vpkg package should match the installed version of CUDA. Not the other way around.
Cudnn in vcpkg also searches for locally installed packages and obtains the required files.
I'm sorry but I don't understand why you said that?
My point was that you say we should install a version of CUDA to match the vcpkg package. I say that it is the other way around.
VCPKG should provide packages to match whatever valid and supported version of CUDA may be installed.
I have CUDA 11.8 on this PC because that is the version that matches what my customer is using. CUDA 11.8 is still supported by nVidia, so vcpkg should support it, too. If that needs two varieties of the vcpkg package, then that is what vcpkg should have.
I'm sorry but I don't understand why you said that?
My point was that you say we should install a version of CUDA to match the vcpkg package. I say that it is the other way around.
VCPKG should provide packages to match whatever valid and supported version of CUDA may be installed.
I have CUDA 11.8 on this PC because that is the version that matches what my customer is using. CUDA 11.8 is still supported by nVidia, so vcpkg should support it, too. If that needs two varieties of the vcpkg package, then that is what vcpkg should have.
You do not need to install cuda that matches vcpkg. You only need to install cuda and cudnn on your local machine to match each other. vcpkg has no restrictions on cuda versions.
In addition, you can check the portfile.cmake
files of cuda
and cudnn
and find that they are not compiled from source code, but obtain available libraries by looking for locally installed files.
Thank you for the clarification.
If the above reply can solve your problem, I will close the issue.
Are you asking me? I am happy, thank you, but I am not the original poster.
Are you asking me? I am happy, thank you, but I am not the original poster.
Thanks for the reply, it would be great to help you solve the problem. @AbSomeone , can you install cuda normally by installing cudnn?
Package: cudnn:x64-windows@7.6.5#10
Host Environment
To Reproduce
vcpkg install dlib[cuda]:x64-windows
Failure logs