How to GENERATE AI IMAGES using Stable Diffusion on Intel ARC GPUs [Windows 11]
A new day a new video uploaded :) this time we will be learning how to setup Ubuntu on windows 11 and get stable diffusion to work on intel arc graphic cards such as A380, A750 and A770. I obviously recommend you to have as much VRAM as possible so 16GB A770 is the perfect candidate for this.
Must be on the latest drivers to use this (WHQL)
INSTRUCTIONS MUST INSTALL FIRST:
1) In windows search bar write and select "Turn Windows features on or off".
2) Enable "Virtual Machine Platform" and "Windows Subsystem for Linux"
3) Restart your computer once "update" is complete.
4) Open PowerShell and execute wsl --update.
5) Download Ubuntu 22.04 from Windows Store.
Done? Now restart your computer and you will have Ubuntu installed on your Windows 11.
We now open Ubuntu and copy paste the following code below to install everything.
Since I can't write the script here ... check this:
https://justpaste.it/95t3d
After installing all the stuff, to get the "automatic" on your linux you need to follow the instructions below to clone it.
Github link: https://github.com/vladmandic/automatic
Or just use: git clone https://github.com/vladmandic/automatic ;)
Once this is done you have to first run the following command:
cd ~/automatic/ ; python3 launch.py
Follow then instructions further on justpasteit.
Once done with justpasteit, come back here and do the following:
You need to install a few additional things to use IPEX command which gives better performance then the one in the video. I forgot to change a parameter so I was not using this.
Enter the following commands with root to install them before proceeding:
python3 -c 'import venv
python3 -m venv venv/
sudo apt-get install numactl
And then again repeat the following two commands:
python3 -c 'import venv
python3 -m venv venv/
Once done, you can run the stable diffusion with IPEX by running the command:
cd ~/automatic/ ; ./webui.sh --use-ipex
Let me know if something can be improved here as I am "just a noob" in this game but still learning slowly :)
Will you be generating some AI images with your intel arc graphic card?
Let me know and make sure to subscribe so you don't miss another video coming soon.
Sub + like + ring the notification bell and see you in the next one!
DISCORD - https://discord.gg/JRRuX3YJAR
INSTAGRAM - https://www.instagram.com/graphicarcs/
SPECS in this video:
GPU: Intel Arc A770 Limited Edition 16GB
CPU: Intel i9 12900k @ 5.1ghz Pcore - REBAR ON
RAM: 2x16 6000CL32 @ 6600CL32
MB: Z790 Aorus Elite