Getting Auto111 up and running on WSL2 Windows 11 Ubuntu #5823
Replies: 3 comments
-
sudo apt -y install python3-venv in step 4 for Ubuntu 20.04 |
Beta Was this translation helpful? Give feedback.
-
This is the first thing that comes up when you google how to get this installed under WSL, so adding a bit of info here that helped me. I ran into multiple errors when attempting this and found another guide that addresses them: https://hub.tcno.co/ai/stable-diffusion/webui/ I also had a heck of a time trying to get xformers installed so ended up having to install everything under a conda environment. The guide above addresses that approach and then installing xformers is as simple as running: conda install xformers -c xformers/label/dev |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I just spent a bit of time getting AUTO111 up and running in a fresh install of Ubuntu in WSL2 on Windows 11 downloaded from the Windows store. It wasn't a simple matter of just using the install script, so I figured I'd list my extra steps to save others the time:
sudo apt-get update
sudo apt install python3-pip
sudo pip3 install virtualenv
sudo apt install python3.10-venv
## I'm not 100% certain you need to do both, but this was what I think it took for mesudo apt install python-is-python3
## handysudo apt-get install libgl1
export LD_LIBRARY_PATH=/usr/lib/wsl/lib:$LD_LIBRARY_PATH
to.bashrc
(from https://discuss.pytorch.org/t/libcudnn-cnn-infer-so-8-library-can-not-found/164661)Finally, you can install:
bash <(wget -qO- https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh)
My system:
Nvidia RTX 3080
Windows 11
WSL 2
Ubuntu 22.04.1 LTS
Beta Was this translation helpful? Give feedback.
All reactions