abdozmantar / ComfyUI-InstaSwap

ComfyUI Instaswap Node
GNU General Public License v3.0
48 stars 3 forks source link

Error occurred when executing InstaSwapFaceSwap #5

Closed Tobe2d closed 1 week ago

Tobe2d commented 5 months ago

When I try proccing the node I get this error:

Error occurred when executing InstaSwapFaceSwap:

D:\a\_work\1\s\onnxruntime\python\onnxruntime_pybind_state.cc:636 onnxruntime::python::CreateExecutionProviderInstance CUDA_PATH is set but CUDA wasn't able to be loaded. Please install the correct version of CUDA and cuDNN 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.

I have RTX card and I do have cuda 12.2 and cdnn installed and wortking with other nodes fine.

Only the onnxruntime is not detecting my cuda.

Why it is pointing to this path: D:\a_work\1\s\onnxruntime\python\onnxruntime_pybind_state.cc:636

The path mentioned does not exsist on my system

Any tip on how to solve this please?

abdozmantar commented 5 months ago

Is there CUDA_PATH in your environment veriables and if exists which version of it