-
Notifications
You must be signed in to change notification settings - Fork 97
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
cuda_path is set but cuda wasn't able to be loaded #37
Comments
This may be related to microsoft/onnxruntime#13576 |
I've recently tested deface on Windows and found that the new DirectML execution provider also works quite well. It should work on any GPU since it is based on the built-in Direct3D12 API of Windows. I don't know how it compares to CUDA in terms of speed but if you are still having issues with CUDA it may be worth a shot. You can install it with
|
I had the same issue (windows). I tried multiple versions, and environment setups. I only got it running by installing a new anaconda environment and using anacondas supplied version of cuDDN and CUDA. |
python -m pip install --upgrade setuptools pip replace the v11.4 with the verison you have installed....IIRC 11.8 is max that this tool can use at the moment. python -m pip install "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4\graphsurgeon\graphsurgeon-0.4.5-py2.py3-none-any.whl" to use tensorrt python import tensorrt |
you need cuda 11.X - the 8.9.4 works for me so far if you want tensor as will the 8.6.16 GA version works you will need the latest cuda 11.X toolkit --- its large at 3gb |
thanks, this worked |
After doing the install on windows (CUDA, cudnn, onnxruntime-gpu), I get the following error when running deface...
CUDA_PATH is set but CUDA wasn't able to be loaded.
I've watched countless videos on setting correct PATHs and so forth and am continuing to have the issue.
The text was updated successfully, but these errors were encountered: