-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Build] Report an error while using comfyui “CUDA_PATH is set but CUDA wasnt able to be loaded” #21610
Comments
I saw that you install pytorch for cuda 11.8, but use cudnn for cuda 12.x, they are not compatible. For example, you can choose one of the following: CUDA 11.x
CUDA 12.x
For Windows, you will need install latest VC Runtime as well. See https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements for more info. |
i encounter the same error, indeed the torch version is incompatible for cuda |
@tianleiwu Hello, I have tried it but it does not solve my problem. How can I troubleshoot the version mismatch problem? What commands do I need to execute? |
My problem was solved. My original configuration was installed in the stable environment of conda, but my comfyui was not running, so I had installed the correct version but still had problems. If you still have problems locally, you can refer to this link |
Describe the issue
Hello, comfyui is reporting an error while using it
Error occurred when executing Image Rembg (Remove Background):
D:\a\_work\1\s\onnxruntime\python\onnxruntime_pybind_state.cc:891 onnxruntime::python::CreateExecutionProviderInstance CUDA_PATH is set but CUDA wasnt able to be loaded. Please install the correct version of CUDA andcuDNN as mentioned in the GPU requirements page (https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements), make sure they're in the PATH, and that your GPU is supported.
My Cuda current environment:
My ComfyUI Version is the latest version
What I tried after this problem occurred:
Refer to this link to perform some necessary installation, but it did not take effect after restarting the computer
Urgency
No response
Target platform
Windows11
Build script
.
Error / output
Visual Studio Version
No response
GCC / Compiler Version
No response
The text was updated successfully, but these errors were encountered: