enlyth / sd-webui-riffusion

Riffusion extension for AUTOMATIC1111's SD Web UI
MIT License
195 stars 23 forks source link

auto1111 environment fix #36

Open wedgeewoo opened 6 months ago

wedgeewoo commented 6 months ago

I installed auto1111 version 1.6.1 the extension will not work with the current venv for this version, but a quick change to the venv libraries can sort out the issue .

cd A:\stable-diffusion-webui\venv\Scripts activate.bat pip uninstall torch torchaudio torchvision pip install torch==2.0.1 torchaudio==2.0.2 torchvision==0.15.2 --extra-index-url <whatever version of CUDA (11.8 for me)>

so i use this command for my use case pip install torch==2.0.1+cu118 torchaudio==2.0.2+cu118 torchvision==0.15.2+cu118 -f https://download.pytorch.org/whl/cu118/torch_stable.html

I spent all last night trying to fix the dependencies, just putting it here for my sanity.

Alectriciti commented 6 months ago

You are an absolute godsend, thank you so much.

Cryptospy commented 6 months ago

@wedgeewoo Works! 2 nights torturing myself, I never thought i will be able to resolve. Thanks a ton.