CUDA_PATH is set but CUDA wasnt able to be loaded #21272
Labels
ep:CUDA
issues related to the CUDA execution provider
ep:TensorRT
issues related to TensorRT execution provider
stale
issues that have not been addressed in a while; categorized by a bot
Describe the issue
Im using A1111 and an extension to mask the background. When i try to run the generation to get the mask, i run into some issues. Since there is no install instructions anywhere, from the extensions to onnx. So all i got to go by is the error messages. It says that TensorRT was missing so i installed it. Still says its missing so maybe just a bad error message.
It also says that i did not have CUDA and cuDNN. So i installed those. Have made sure all 3 are on the system variables, only cuda have its own variable, the other two are added to the basic "PATH", since nowhere can i find if it needs its own like CUDA with its "CUDA_PATH" variable. And here's where i am now, with no solution in sight.
CUDA_PATH is set but CUDA wasnt able to be loaded
CUDA Toolkit is v11.8, cuDNN is v8.9.2.26, and TensorRT is v10.0, versions that you have listed as compatible.Do i also need the python module TensorRT, if so what version? This was not installed with A1111 or the extension, or their dependencies.
System can find my CUDA install.
To reproduce
I got no clue. But i guess, install A1111, install "stable-diffusion-webui-rembg" extension, use it to try and generate a mask to select the background.
Urgency
Not that urgent. A1111, and other AI projects run just fine otherwise.
Platform
Windows
OS Version
win10
ONNX Runtime Installation
Other / Unknown
ONNX Runtime Version or Commit ID
onnx-1.15.0
ONNX Runtime API
Python
Architecture
X64
Execution Provider
Other / Unknown
Execution Provider Library Version
No response
The text was updated successfully, but these errors were encountered: