numz / sd-wav2lip-uhq

Wav2Lip UHQ extension for Automatic1111
Apache License 2.0
1.16k stars 158 forks source link

RuntimeError: Couldn't load custom C++ ops. #94

Open itsmikepowers opened 7 months ago

itsmikepowers commented 7 months ago

I need help with this error on windows.

I noticed someone else had the same issue but cannot fix it on my machine. Ive tried everything im on Torch 2.1 and TV 0.16 and have python 3.10.6. Ive used every combination of cuda and non cuda versions and have had no luck. Also i checked the box on my python install. I have no clue what to do any help would be awesome

This is the error:

RuntimeError: Couldn't load custom C++ ops. This can happen if your PyTorch and torchvision versions are incompatible, or if you had errors while compiling torchvision from source. For further information on the compatible versions, check https://github.com/pytorch/vision#installation for the compatibility matrix. Please check your PyTorch version with torch.version and your torchvision version with torchvision.version and verify if they are compatible, and if not please reinstall torchvision so that it matches your PyTorch install.

matthias33890 commented 6 months ago

I have the same problem with python 3.10.13.

shirubei commented 6 months ago

Same for python 3.10.10 on windows 11.

aestuar commented 6 months ago

Same here with python3.10, Apple M1 OSX 13.6.3

dbodbo commented 1 month ago

solution?

vasco747 commented 1 month ago

I have same problem on Mac M1. Any solution?

dbodbo commented 1 month ago

I uninstalled pytorch, torchaudio and torchvision and reinstalled the latest version ( download here ) this worked

I also deleted the venv folder from my a1111