Vlad Automatic1111 Ubuntu Installation
This video explains how to install vlad automatic in WSL2. The advantage of WSL2 is that you can export the OS image and if something goes wrong or doesn’t work, you can simply reimport it. There is no need for the long installation process. Also, you don’t have to store all your models on the WSL2 OS, because WSL2 (and Linux in general) lets you create file links. You can just put them somewhere central. If you have multiple Stable Diffusion web UIs (like automatic111, vlad automatic, invokeai), you only need to download the model file once. Especially if you have 100GB+ of models, this saves a lot of disk space. WSL2 has some advantages in handling generation starting/initialising, which can save some time if you generate everything in bulk. Vlad automatic has basically automated everything installation-wise. That’s pretty neat. Since I have a GTX 1060 6GB and only 8GB of system RAM, I ran into a few bugs. So in this video I show you how to set the RAM, and also the swap file size for the WSL2 machine. This is useful when you are loading models that have very large file sizes. If you have a question just ask in the comments!
_________________________________________________________________
#stablediffusion #automatic #wsl2
_________________________________________________________________
This are the commands used to install vlad automatic on WSL2:
sudo apt-get update -y && sudo apt-get -y
git
python3
exit()
git clone https://github.com/vladmandic/automatic
ls
cd automatic
sudp apt install python3.10-venv
sudo apt install python3-pip
sudo apt install libgl1
./webui.sh
rm -rf venv # 1. if it says something like “error virtual environment”
python3 -mv venv venv # 2. if it says something like “error virtual environment”
./webui.sh # 3. if it says something like “error virtual environment”
_________________________________________________________________
QoL File Links to save harddrive space:
ln -s /mnt/c/Users/nimda/Desktop /home/nimda/automatic/models/Stable-diffusion
This creates a file link that points the folder “Stable-diffusion” to “Desktop”.
You can point it towards the location where you download all you stable diffusion models for your web UIs.
_________________________________________________________________
QoL Golden Image WSL2:
wsl –export Ubuntu C:UsersnimdaDesktopubuntu-backup.tar
wsl –import Ubuntu C:WSLUbuntu C:UsersnimdaDesktopubuntu-backup.tar
_________________________________________________________________
ubuntu
but this is not Automatic1111 😔
Спасибо за урок! Было очень доступно и информативно.