in

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:

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

Share this:

20 Comments

  1. 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

  2. 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

  3. 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