shadowcz007 / comfyui-liveportrait

LivePortrait: Efficient Portrait Animation with Stitching and Retargeting Control
357 stars 30 forks source link

CUDA issue #20

Open Betruthier opened 1 month ago

Betruthier commented 1 month ago

Hello! this is awesome but I could not get the v2v function to work in comfyUI. I get this error:

Error occurred when executing LivePortraitVideoNode:

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.

Any Ideas? I followed the instructions on the onnx website to no success..

My GPU is a 4090 and I have CUDA 12.1 but I also tried 12.4

ZiBrianQian commented 1 month ago

Same

Betruthier commented 1 month ago

Somehow I fixed it by blitzing all fixes. good luck!

Halolha commented 1 month ago

same. help.

Halolha commented 1 month ago

running cuda_11.8.0_522.06_windows.exe seemed to work so far

stanleyshek commented 1 month ago

Somehow I fixed it by blitzing all fixes. good luck!

can you share more details about all the steps to fix it? I've encounted the same issue too.

Screenshot 2024-07-21 000829

LeePreston99 commented 1 month ago

anyone able to amend this to make it work on mac, i have an M3 chip but we cant run CUDA

stanleyshek commented 1 month ago

anyone able to amend this to make it work on mac, i have an M3 chip but we cant run CUDA

CUDA only on Nividia, there's some other custom node that can run on CPU