GithubHelp home page GithubHelp logo

Stable Diffusion WEBUI stop working after installing "sd-wav2lip-uhq". CUDA TorchAudio issue. On clean- new virtual env. about sd-wav2lip-uhq HOT 7 OPEN

0Core avatar 0Core commented on June 12, 2024 2
Stable Diffusion WEBUI stop working after installing "sd-wav2lip-uhq". CUDA TorchAudio issue. On clean- new virtual env.

from sd-wav2lip-uhq.

Comments (7)

0Core avatar 0Core commented on June 12, 2024

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?

from sd-wav2lip-uhq.

greyphilosophy avatar greyphilosophy commented on June 12, 2024

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"
Python 3.10.9 | packaged by conda-forge | (main, Jan 11 2023, 15:15:40) [MSC v.1916 64 bit (AMD64)]
Version: v1.6.0-2-g4afaaf8a
Commit hash: 4afaaf8a020c1df457bcf7250cb1c7f609699fa7
Traceback (most recent call last):
File "C:\stable-diffusion\stable-diffusion-webui\launch.py", line 48, in
main()
File "C:\stable-diffusion\stable-diffusion-webui\launch.py", line 39, in main
prepare_environment()
File "C:\stable-diffusion\stable-diffusion-webui\modules\launch_utils.py", line 356, in prepare_environment
raise RuntimeError(
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check

from sd-wav2lip-uhq.

ItsMe-TJ avatar ItsMe-TJ commented on June 12, 2024

Yeah, It also broke my A1111 install.

@numz Any idea what might be causing it?

from sd-wav2lip-uhq.

esmaeili128 avatar esmaeili128 commented on June 12, 2024

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]
*** Command: "C:\StableD\stable-diffusion-webui\venv\Scripts\python.exe" "C:\StableD\stable-diffusion-webui\extensions\sd-wav2lip-uhq\install.py"
*** Error code: 1
*** stdout: Installing wav2lip_uhq requirement: imutils
*** Installing wav2lip_uhq requirement: dlib-bin
*** Installing wav2lip_uhq requirement: librosa==0.10.0.post2
*** Installing wav2lip_uhq requirement: imageio_ffmpeg
*** Installing wav2lip_uhq requirement: git+https://github.com/suno-ai/bark.git


*** stderr: Traceback (most recent call last):
*** File "C:\StableD\stable-diffusion-webui\extensions\sd-wav2lip-uhq\install.py", line 17, in
*** launch.run_pip(f"install {lib}", f"wav2lip_uhq requirement: {lib}")
*** File "C:\StableD\stable-diffusion-webui\modules\launch_utils.py", line 144, in run_pip
*** return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live)
*** File "C:\StableD\stable-diffusion-webui\modules\launch_utils.py", line 116, in run
*** raise RuntimeError("\n".join(error_bits))
*** RuntimeError: Couldn't install wav2lip_uhq requirement: git+https://github.com/suno-ai/bark.git.
*** Command: "C:\StableD\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install git+https://github.com/suno-ai/bark.git --prefer-binary
*** Error code: 1
*** stdout: Collecting git+https://github.com/suno-ai/bark.git
*** Cloning https://github.com/suno-ai/bark.git to c:\users\hossein\appdata\local\temp\pip-req-build-19b0lg0t
*** Resolved https://github.com/suno-ai/bark.git to commit 773624d26db84278a55aacae9a16d7b25fbccab8
*** Installing build dependencies: started
*** Installing build dependencies: finished with status 'done'
*** Getting requirements to build wheel: started
*** Getting requirements to build wheel: finished with status 'done'
*** Installing backend dependencies: started
*** Installing backend dependencies: finished with status 'done'
*** Preparing metadata (pyproject.toml): started
*** Preparing metadata (pyproject.toml): finished with status 'done'
*** Collecting encodec
*** Using cached encodec-0.1.1-py3-none-any.whl
*** Requirement already satisfied: huggingface-hub>=0.14.1 in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from suno-bark==0.0.1a0) (0.20.1)
*** Requirement already satisfied: scipy in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from suno-bark==0.0.1a0) (1.11.4)
*** Collecting boto3
*** Downloading boto3-1.34.10-py3-none-any.whl (139 kB)
*** ------------------------------------ 139.3/139.3 kB 192.1 kB/s eta 0:00:00
*** Collecting funcy
*** Using cached funcy-2.0-py2.py3-none-any.whl (30 kB)
*** Requirement already satisfied: numpy in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from suno-bark==0.0.1a0) (1.23.5)
*** Requirement already satisfied: transformers in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from suno-bark==0.0.1a0) (4.27.4)
*** Requirement already satisfied: tokenizers in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from suno-bark==0.0.1a0) (0.13.3)
*** Requirement already satisfied: tqdm in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from suno-bark==0.0.1a0) (4.66.1)
*** Requirement already satisfied: torch in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from suno-bark==0.0.1a0) (2.0.1+cu118)
*** Requirement already satisfied: filelock in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from huggingface-hub>=0.14.1->suno-bark==0.0.1a0) (3.13.1)
*** Requirement already satisfied: packaging>=20.9 in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from huggingface-hub>=0.14.1->suno-bark==0.0.1a0) (23.2)
*** Requirement already satisfied: requests in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from huggingface-hub>=0.14.1->suno-bark==0.0.1a0) (2.31.0)
*** Requirement already satisfied: typing-extensions>=3.7.4.3 in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from huggingface-hub>=0.14.1->suno-bark==0.0.1a0) (4.9.0)
*** Requirement already satisfied: fsspec>=2023.5.0 in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from huggingface-hub>=0.14.1->suno-bark==0.0.1a0) (2023.12.2)
*** Requirement already satisfied: pyyaml>=5.1 in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from huggingface-hub>=0.14.1->suno-bark==0.0.1a0) (6.0.1)
*** Requirement already satisfied: colorama in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from tqdm->suno-bark==0.0.1a0) (0.4.6)
*** Collecting botocore<1.35.0,>=1.34.10
*** Downloading botocore-1.34.10-py3-none-any.whl (11.9 MB)
*** ---------------------------------------- 11.9/11.9 MB 1.1 MB/s eta 0:00:00
*** Collecting s3transfer<0.11.0,>=0.10.0
*** Using cached s3transfer-0.10.0-py3-none-any.whl (82 kB)
*** Collecting jmespath<2.0.0,>=0.7.1
*** Using cached jmespath-1.0.1-py3-none-any.whl (20 kB)
*** Collecting torchaudio
*** Using cached torchaudio-2.1.2-cp310-cp310-win_amd64.whl (2.3 MB)
*** Requirement already satisfied: einops in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from encodec->suno-bark==0.0.1a0) (0.4.1)
*** Requirement already satisfied: jinja2 in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from torch->suno-bark==0.0.1a0) (3.1.2)
*** Requirement already satisfied: networkx in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from torch->suno-bark==0.0.1a0) (3.2.1)
*** Requirement already satisfied: sympy in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from torch->suno-bark==0.0.1a0) (1.12)
*** Requirement already satisfied: regex!=2019.12.17 in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from transformers->suno-bark==0.0.1a0) (2023.12.25)
*** Collecting urllib3<2.1,>=1.25.4
*** Using cached urllib3-2.0.7-py3-none-any.whl (124 kB)
*** Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from botocore<1.35.0,>=1.34.10->boto3->suno-bark==0.0.1a0) (2.8.2)
*** Requirement already satisfied: MarkupSafe>=2.0 in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from jinja2->torch->suno-bark==0.0.1a0) (2.1.3)
*** Requirement already satisfied: idna<4,>=2.5 in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from requests->huggingface-hub>=0.14.1->suno-bark==0.0.1a0) (3.6)
*** Requirement already satisfied: certifi>=2017.4.17 in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from requests->huggingface-hub>=0.14.1->suno-bark==0.0.1a0) (2023.11.17)
*** Requirement already satisfied: charset-normalizer<4,>=2 in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from requests->huggingface-hub>=0.14.1->suno-bark==0.0.1a0) (3.3.2)
*** Requirement already satisfied: mpmath>=0.19 in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from sympy->torch->suno-bark==0.0.1a0) (1.3.0)
*** Collecting torch
*** Using cached torch-2.1.2-cp310-cp310-win_amd64.whl (192.3 MB)
*** Requirement already satisfied: six>=1.5 in c:\stabled\stable-diffusion-webui\venv\lib\site-packages (from python-dateutil<3.0.0,>=2.1->botocore<1.35.0,>=1.34.10->boto3->suno-bark==0.0.1a0) (1.16.0)
*** Building wheels for collected packages: suno-bark
*** Building wheel for suno-bark (pyproject.toml): started
*** Building wheel for suno-bark (pyproject.toml): finished with status 'done'
*** Created wheel for suno-bark: filename=suno_bark-0.0.1a0-py3-none-any.whl size=2567582 sha256=451bf4df524ce6ca180dacf96f41d56301f23a36577a3a444a7b3940aa73aff1
*** Stored in directory: C:\Users\Hossein\AppData\Local\Temp\pip-ephem-wheel-cache-dc2i2xbm\wheels\e6\6d\c2\107ed849afe600f905bb4049a026df3c7c5aa75d86c2721ec7
*** Successfully built suno-bark
*** Installing collected packages: funcy, urllib3, jmespath, torch, botocore, torchaudio, s3transfer, encodec, boto3, suno-bark
*** Attempting uninstall: urllib3
*** Found existing installation: urllib3 2.1.0
*** Uninstalling urllib3-2.1.0:
*** Successfully uninstalled urllib3-2.1.0
*** Attempting uninstall: torch
*** Found existing installation: torch 2.0.1+cu118
*** Uninstalling torch-2.0.1+cu118:
*** Successfully uninstalled torch-2.0.1+cu118


*** 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'
*** ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'C:\StableD\stable-diffusion-webui\venv\Lib\site-packages\~vfuser\_C.cp310-win_amd64.pyd'
*** Check the permissions.


*** 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).

from sd-wav2lip-uhq.

esmaeili128 avatar esmaeili128 commented on June 12, 2024

After installation of wav2lip when I run stable diffusion webui it crash:
C:\StableD\stable-diffusion-webui>webui-user.bat
venv "C:\StableD\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.7.0
Commit hash: cf2772fab0af5573da775e7437e6acdca424f26e
Traceback (most recent call last):
File "C:\StableD\stable-diffusion-webui\launch.py", line 48, in
main()
File "C:\StableD\stable-diffusion-webui\launch.py", line 39, in main
prepare_environment()
File "C:\StableD\stable-diffusion-webui\modules\launch_utils.py", line 384, in prepare_environment
raise RuntimeError(
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
Press any key to continue . . .

from sd-wav2lip-uhq.

dairydaddy avatar dairydaddy commented on June 12, 2024

a huge same from me... I was able to get this working after I nuked the requirements.txt file...

*** ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'C:\StableD\stable-diffusion-webui\venv\Lib\site-packages~vfuser_C.cp310-win_amd64.pyd'

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.

from sd-wav2lip-uhq.

zdaar avatar zdaar commented on June 12, 2024

Also broke my installation in a similar way. @dairydaddy facefusion has a pretty good wav2lip support

from sd-wav2lip-uhq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.