-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
Stable Diffusion WEBUI stop working after installing "sd-wav2lip-uhq". CUDA TorchAudio issue. On clean- new virtual env. #98
Comments
Tried on Ubuntu 22, 23 clean new installation of Linux, Python, official Stable Diffusion WEBUI. Also tried to change torchaudio installation did not resolve the issue. After removing plugin all back to normal. Any ideas? |
I'm having a similar issue on windows in my anaconda environment. Installing wav2studio wrecks my stable diffusion installation. venv "C:\stable-diffusion\stable-diffusion-webui\venv\Scripts\Python.exe" |
Yeah, It also broke my A1111 install. @numz Any idea what might be causing it? |
I have similar problem. after installation got this: *** Error running install.py for extension C:\StableD\stable-diffusion-webui\extensions\sd-wav2lip-uhq.0:00, 1.42it/s] *** stderr: Traceback (most recent call last): *** stderr: Running command git clone --filter=blob:none --quiet https://github.com/suno-ai/bark.git 'C:\Users\Hossein\AppData\Local\Temp\pip-req-build-19b0lg0t' *** WARNING: There was an error checking the latest version of pip. I install bark package manually but it doesn't change anything (pip install --user git+https://github.com/suno-ai/bark.git). Also removing read-only attribute from all files and folder in C:\StableD\stable-diffusion-webui\venv\Lib\site-packages before installing wav2lip doesn't work (each time I replace venv folder with backup). |
After installation of wav2lip when I run stable diffusion webui it crash: |
a huge same from me... I was able to get this working after I nuked the requirements.txt file...
If you go to the site-packages folder, you'll see that there's a tilde at the start of that folder. Dunno why this happens, but it makes it tough for pip/conda/whatever to delete it. So delete any folders in venv/lib/site-packages/~vfuser etc... This was the problem for me. Some horrendous version of something was requested in the requirements.txt file and I had to delete the folder (instead of deleting the whole venv folder). Otherwise, A1111 starts up, sees that cursed requirements.txt file asking for tqdm and rando torch versions that aren't 2.0.2... and it immediately adds the awful back to your venv. And you'd think it would start fresh. It's a mess, and I'm sure it's my fault for mixing pip and conda and expecting them to work the same way. I'd explain, but I'd likely misspeak. So, nuke the ~ folders, edit the requirements.txt file in wav2lip's extension folder, and remove the "numpy==6.6.6" <- the ==6.6.6 part. See how vague you can get. I feel like that req file was meant for a standalone repository. That said, I cannot get wav2lip to work in any capacity, locally. I would rather not use a collab setup. I've tried wav2lip HD, codeformer, gfpgan and even the extension (ran as its own env), and it's killing me. The issue always ends up being around opencv (gpu version) or tqdm. |
Also broke my installation in a similar way. @dairydaddy facefusion has a pretty good wav2lip support |
Stable diffusion works just fine before installing plugin "sd-wav2lip-uhq"
Traceback (most recent call last):
File "/home/borg/projects/sd_web_ui/stable-diffusion-webui/launch.py", line 48, in
main()
File "/home/borg/projects/sd_web_ui/stable-diffusion-webui/launch.py", line 44, in main
start()
File "/home/borg/projects/sd_web_ui/stable-diffusion-webui/modules/launch_utils.py", line 432, in start
import webui
File "/home/borg/projects/sd_web_ui/stable-diffusion-webui/webui.py", line 13, in
initialize.imports()
File "/home/borg/projects/sd_web_ui/stable-diffusion-webui/modules/initialize.py", line 16, in imports
import pytorch_lightning # noqa: F401
File "/home/borg/.pyenv/versions/webui/lib/python3.10/site-packages/pytorch_lightning/init.py", line 35, in
from pytorch_lightning.callbacks import Callback # noqa: E402
File "/home/borg/.pyenv/versions/webui/lib/python3.10/site-packages/pytorch_lightning/callbacks/init.py", line 14, in
from pytorch_lightning.callbacks.batch_size_finder import BatchSizeFinder
File "/home/borg/.pyenv/versions/webui/lib/python3.10/site-packages/pytorch_lightning/callbacks/batch_size_finder.py", line 24, in
from pytorch_lightning.callbacks.callback import Callback
File "/home/borg/.pyenv/versions/webui/lib/python3.10/site-packages/pytorch_lightning/callbacks/callback.py", line 25, in
from pytorch_lightning.utilities.types import STEP_OUTPUT
File "/home/borg/.pyenv/versions/webui/lib/python3.10/site-packages/pytorch_lightning/utilities/types.py", line 27, in
from torchmetrics import Metric
File "/home/borg/.pyenv/versions/webui/lib/python3.10/site-packages/torchmetrics/init.py", line 22, in
from torchmetrics import functional # noqa: E402
File "/home/borg/.pyenv/versions/webui/lib/python3.10/site-packages/torchmetrics/functional/init.py", line 14, in
from torchmetrics.functional.audio._deprecated import _permutation_invariant_training as permutation_invariant_training
File "/home/borg/.pyenv/versions/webui/lib/python3.10/site-packages/torchmetrics/functional/audio/init.py", line 14, in
from torchmetrics.functional.audio.pit import permutation_invariant_training, pit_permutate
File "/home/borg/.pyenv/versions/webui/lib/python3.10/site-packages/torchmetrics/functional/audio/pit.py", line 22, in
from torchmetrics.utilities import rank_zero_warn
File "/home/borg/.pyenv/versions/webui/lib/python3.10/site-packages/torchmetrics/utilities/init.py", line 14, in
from torchmetrics.utilities.checks import check_forward_full_state_property
File "/home/borg/.pyenv/versions/webui/lib/python3.10/site-packages/torchmetrics/utilities/checks.py", line 25, in
from torchmetrics.metric import Metric
File "/home/borg/.pyenv/versions/webui/lib/python3.10/site-packages/torchmetrics/metric.py", line 30, in
from torchmetrics.utilities.data import (
File "/home/borg/.pyenv/versions/webui/lib/python3.10/site-packages/torchmetrics/utilities/data.py", line 22, in
from torchmetrics.utilities.imports import _TORCH_GREATER_EQUAL_1_12, _XLA_AVAILABLE
File "/home/borg/.pyenv/versions/webui/lib/python3.10/site-packages/torchmetrics/utilities/imports.py", line 54, in
_TORCHAUDIO_GREATER_EQUAL_0_10: Optional[bool] = compare_version("torchaudio", operator.ge, "0.10.0")
File "/home/borg/.pyenv/versions/webui/lib/python3.10/site-packages/lightning_utilities/core/imports.py", line 77, in compare_version
pkg = importlib.import_module(package)
File "/home/borg/.pyenv/versions/3.10.6/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/home/borg/.pyenv/versions/webui/lib/python3.10/site-packages/torchaudio/init.py", line 1, in
from torchaudio import ( # noqa: F401
File "/home/borg/.pyenv/versions/webui/lib/python3.10/site-packages/torchaudio/_extension/init.py", line 47, in
_check_cuda_version()
File "/home/borg/.pyenv/versions/webui/lib/python3.10/site-packages/torchaudio/_extension/utils.py", line 119, in _check_cuda_version
raise RuntimeError(
RuntimeError: Detected that PyTorch and TorchAudio were compiled with different CUDA versions. PyTorch has CUDA version 11.8 whereas TorchAudio has CUDA version 11.7. Please install the TorchAudio version that matches your PyTorch version.
pip list result:
absl-py 2.0.0
accelerate 0.21.0
addict 2.4.0
aenum 3.1.15
aiofiles 23.2.1
aiohttp 3.9.1
aiosignal 1.3.1
albumentations 1.3.1
altair 5.2.0
antlr4-python3-runtime 4.9.3
anyio 3.7.1
appdirs 1.4.4
async-timeout 4.0.3
attrs 23.1.0
audioread 3.0.1
basicsr 1.4.2
beautifulsoup4 4.12.2
blendmodes 2022
boltons 23.1.1
boto3 1.33.10
botocore 1.33.10
cachetools 5.3.2
certifi 2023.11.17
cffi 1.16.0
charset-normalizer 3.3.2
clean-fid 0.1.35
click 8.1.7
clip 1.0
cmake 3.27.9
coloredlogs 15.0.1
contourpy 1.2.0
cycler 0.12.1
Cython 3.0.6
decorator 5.1.1
deprecation 2.1.0
dlib-bin 19.24.2
easydict 1.11
einops 0.4.1
encodec 0.1.1
exceptiongroup 1.2.0
facexlib 0.3.0
fastapi 0.94.0
ffmpy 0.3.1
filelock 3.13.1
filterpy 1.4.5
flatbuffers 23.5.26
fonttools 4.46.0
frozenlist 1.4.0
fsspec 2023.12.1
ftfy 6.1.3
funcy 2.0
future 0.18.3
gdown 4.7.1
gfpgan 1.3.8
gitdb 4.0.11
GitPython 3.1.32
google-auth 2.25.1
google-auth-oauthlib 1.1.0
gradio 3.41.2
gradio_client 0.5.0
grpcio 1.60.0
h11 0.12.0
httpcore 0.15.0
httpx 0.24.1
huggingface-hub 0.19.4
humanfriendly 10.0
idna 3.6
ifnude 0.0.3
imageio 2.33.0
imageio-ffmpeg 0.4.9
importlib-metadata 7.0.0
importlib-resources 6.1.1
imutils 0.5.4
inflection 0.5.1
insightface 0.7.3
Jinja2 3.1.2
jmespath 1.0.1
joblib 1.3.2
jsonmerge 1.8.0
jsonschema 4.20.0
jsonschema-specifications 2023.11.2
kiwisolver 1.4.5
kornia 0.6.7
lark 1.1.2
lazy_loader 0.3
librosa 0.10.0.post2
lightning-utilities 0.10.0
lit 17.0.6
llvmlite 0.41.1
lmdb 1.4.1
lpips 0.1.4
Markdown 3.5.1
MarkupSafe 2.1.3
matplotlib 3.8.2
mpmath 1.3.0
msgpack 1.0.7
multidict 6.0.4
networkx 3.2.1
numba 0.58.1
numpy 1.23.5
oauthlib 3.2.2
omegaconf 2.2.3
onnx 1.14.0
onnxruntime 1.15.0
onnxruntime-gpu 1.15.0
open-clip-torch 2.20.0
opencv-contrib-python 4.8.1.78
opencv-python 4.8.1.78
opencv-python-headless 4.8.1.78
orjson 3.9.10
packaging 23.2
pandas 2.1.4
piexif 1.1.3
Pillow 9.5.0
pip 22.2.1
platformdirs 4.1.0
pooch 1.6.0
prettytable 3.9.0
protobuf 4.25.1
psutil 5.9.5
pyasn1 0.5.1
pyasn1-modules 0.3.0
pycparser 2.21
pydantic 1.10.13
pydub 0.25.1
pyparsing 3.1.1
PySocks 1.7.1
python-dateutil 2.8.2
python-multipart 0.0.6
pytorch-lightning 1.9.4
pytz 2023.3.post1
PyWavelets 1.5.0
PyYAML 6.0.1
qudida 0.0.4
realesrgan 0.3.0
referencing 0.32.0
regex 2023.10.3
requests 2.31.0
requests-oauthlib 1.3.1
resize-right 0.0.2
rpds-py 0.13.2
rsa 4.9
s3transfer 0.8.2
safetensors 0.3.1
scikit-image 0.21.0
scikit-learn 1.3.2
scipy 1.11.4
semantic-version 2.10.0
sentencepiece 0.1.99
setuptools 63.2.0
six 1.16.0
smmap 5.0.1
sniffio 1.3.0
soundfile 0.12.1
soupsieve 2.5
soxr 0.3.7
starlette 0.26.1
suno-bark 0.0.1a0
sympy 1.12
tb-nightly 2.16.0a20231208
tensorboard-data-server 0.7.2
tf-keras-nightly 2.16.0.dev2023120810
threadpoolctl 3.2.0
tifffile 2023.9.26
timm 0.9.2
tokenizers 0.13.3
tomesd 0.1.3
tomli 2.0.1
toolz 0.12.0
torch 2.0.1+cu118
torchaudio 2.0.2
torchdiffeq 0.2.3
torchmetrics 1.2.1
torchsde 0.2.5
torchvision 0.15.2+cu118
tqdm 4.66.1
trampoline 0.1.2
transformers 4.30.2
triton 2.0.0
typing_extensions 4.8.0
tzdata 2023.3
urllib3 2.0.7
uvicorn 0.24.0.post1
wcwidth 0.2.12
websockets 11.0.3
Werkzeug 3.0.1
yapf 0.40.2
yarl 1.9.4
zipp 3.17.0
The text was updated successfully, but these errors were encountered: