>Fix A1111 py torch and xformers Issues
#torch #pytorch #xformers #A1111 #SD #StableDiffusion

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
SOCIAL MEDIA LINKS!
✨ Support my (*・‿・)ノ⌒*:・゚✧

character available at https://ko-fi.com/impactframes/shop
SD related https://civitai.com/user/impactframes
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
VIDEO LINKS📄🖍️o(≧o≦)o🔥
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
https://pytorch.org/get-started/previous-versions/
https://pytorch.org/get-started/locally/
https://github.com/facebookresearch/xformers

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
🔥NOTES
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
This only works on current A1111 v1.6
if none of this work you wiil need to delete the venv and run webui-user.bat to reinstall A1111

linux
cd ~/stable-diffusion-webui
source ./venv/bin/activate
pip uninstall torch torchvision torchaudio
pip uninstall xformers
pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 torchaudio==2.0.2 –index-url https://download.pytorch.org/whl/cu118
pip install xformers==0.0.21

win terminal
cd ./venv/scripts
./activate
pip uninstall torch torchvision torchaudio
pip uninstall xformers
pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 torchaudio==2.0.2 –index-url https://download.pytorch.org/whl/cu118
pip install xformers==0.0.21

win cmd
cd ./venv/scripts
activate
pip uninstall torch torchvision torchaudio
pip uninstall xformers
pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 torchaudio==2.0.2 –index-url https://download.pytorch.org/whl/cu118
pip install xformers==0.0.21

Not super sure but for MacOS try:
cd venv/Scripts
activate
pip uninstall torch torchvision torchaudio
pip uninstall xformers

pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2
pip install xformers==0.0.21

Support the Hairy Eyeball

Share this on