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:
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: 2×16 6000CL32 @ 6600CL32
MB: Z790 Aorus Elite
Models can be found here: https://huggingface.co/models?pipeline_tag=image-to-text&sort=downloads
UPDATED VIDEO: https://www.youtube.com/watch?v=POL16WjXfFc
How do I get stable diffusion and linx to install on a specific hard drive?
You lost me at the ubuntu part
i am stuck at WslRegisterDistribution failed with error: 0x80370102
Please in another tutorial of the intel arc a770 stable diffusion, your other tutorial does not work for me u.u!! and now the drivers are more polished
Will stable diffusion deforum extension work with arc??
when i get to this step
cd ~/automatic/ ; python3 launch.py
i get
Traceback (most recent call last):
File "/home/tylermts/automatic/launch.py", line 154, in <module>
installer.setup_logging()
File "/home/tylermts/automatic/installer.py", line 69, in setup_logging
from rich.theme import Theme
ModuleNotFoundError: No module named 'rich'
Is this gpu good for generating? Have you tried with xformers? What is your estimated Generation times? π
Any idea on how to get sdxl safetensors to work with this? All I get is a black image.
Will it work on 4Gb and 8gb of ram?
Hi, can you train models on this GPU?
Thanks!
why its giving this error
22:16:11-083346 INFO Server arguments: ['–use-ipex']
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 1.1build1 is an invalid version and will not be supported in a future release
warnings.warn(
No module 'xformers'. Proceeding without it.
Error in sys.excepthook:
Traceback (most recent call last):
File "/home/arijitdas/.local/lib/python3.10/site-packages/rich/traceback.py", line 103, in excepthook
Traceback.from_exception(
File "/home/arijitdas/.local/lib/python3.10/site-packages/rich/traceback.py", line 346, in from_exception
return cls(
File "/home/arijitdas/.local/lib/python3.10/site-packages/rich/traceback.py", line 280, in _init_
for suppress_entity in suppress:
TypeError: 'module' object is not iterable
After I run "cd ~/automatic/ ; python3 launch.py" I recieve the following error:
Traceback (most recent call last):
File "launch.py", line 12, in <module>
installer.setup_logging(False)
File "/home/a770linux/automatic/installer.py", line 56, in setup_logging
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s | %(levelname)s | %(pathname)s | %(message)s', filename='setup.log', filemode='a', encoding='utf-8', force=True)
File "/usr/lib/python3.8/logging/__init__.py", line 2009, in basicConfig
raise ValueError('Unrecognised argument(s): %s' % keys)
ValueError: Unrecognised argument(s): encoding
can't I use Stable Diffusion on Windows with intel ARC A770?
Does ControlNet working? I can't get ControlNet to work.
IS IT WORK ON INTEL ARC A380 6gb on low vram settings please make an video
Virtual machine doesn't work with Intel Arc, it disables REbar, isn't it.
gimp has stable diffusion support too π its pretty easy to use too π
This is awesome!! Another unexpected nice feature for the price π Thank you!