Skip to content

u/Avix_G

In this archive from Sep 2023 to Nov 2023

1
posts
7
comments
2
media
28
score

Stable Diffusion will be really slow and take minutes to generate anything if you don't have a dedicated GPU in your system. If you didn't see another GPU in Task Manager, you probably don't have one. The Radeon Graphics listed is the Radeon RX Vega 8 integrated GPU that's included in your Ryzen 7 5800HS CPU.

Unfortunately, there's not much you can do to speed up your generation time without buying new hardware. The "AMD GPU speedup" tutorials you may have seen rely on ROCm which only works on desktop AMD GPUs in the RDNA2 or RDNA3 generation. Your Vega iGPU won't work with those tutorials.

As others have said, if you absolutely need to run Stable Diffusion on your own machine, you should get a PC with an NVIDIA graphics card. They have better compatibility with AI apps and require less digging through the internet and doing weird workarounds. You'll need at least 4 GB of VRAM to run Stable Diffusion 1.5 and 12 GB to run SDXL. If an RTX 3090 (with 24 GB VRAM) is too pricey you could also consider the RTX 3060 version with 12 GB. It's enough for testing out SDXL.

As for other PC components:

  • CPU: Almost anything modern will be fine. The heavy number crunching is done by the GPU. This part matters more if you plan on gaming on the PC.
  • RAM: Just have at least as much as your GPU's VRAM. 32 GB for a 3090 system or 16 GB for a 3060 system.
  • SSD: You'll want at least a couple hundred GB of SSD space if you like trying out lots of models.
  • And other parts you need for a working PC.
2 points

I haven't been able to replicate that. I've tried downloading both the exponential moving average (EMA) and mean square error (MSE) VAEs and using them in Settings > Stable Diffusion > SD VAE. The Accelerate with OpenVINO script still appears and is usable in my WebUI.

This script from openvinotoolkit and the iGPU speedup really only works for the basic "type a prompt + click the generate button" workflow. It doesn't work with all the various settings, extra networks, and extensions in A1111 and can't be used to do much else. If you need a tool made by the SD community, you won't be able to run on the iGPU.

As a side note, the script doesn't seem to change its output when I changed the VAE in the settings. It's also different from the output I got when not using the script.

https://preview.redd.it/zhfb3tmom5pb1.png?width=3050&format=png&auto=webp&s=92ce55af0c7cf65d361d85795525f00de5e81114

1 points
C:\
- Users\
- - taste\    <- you are here
- - - Documents\
- - - - stable-diffusion-webui\ <- you need to be here

After you closed PowerShell at the end of using first-time-runner.bat , you opened the second PowerShell window in the wrong spot.

You can do either 1) or 2) but don't do both:

  1. Close your currently open PowerShell window, use the File Explorer to go to the right folder (it should start with a folder called __pycache__, see attached image), and open a new PowerShell window while you're in stable-diffusion-webui .

  2. from your currently open PowerShell window, paste:

    cd Documents\stable-diffusion-webui

After doing 1) or 2), paste:

.\torch-install.bat

and you should be good to continue.

https://preview.redd.it/r1gv5i8ch4pb1.png?width=761&format=png&auto=webp&s=d0c322c78ba02e428aee39a53fab56800234ee6b

1 points

I searched for a bit but wasn't able to find a good video on the process.

  • "openvinotoolkit" just gives high level overviews by the official Intel Software channel of what OpenVINO is.
  • "openvinotoolkit stable diffusion webui" floods the results with garbage clickbait relating to stable diffusion.

You'll have to follow the openvinotoolkit Github that I linked above. The whole process takes about 30 minutes to install and get running. Since you already have A1111 I assume you know how to use PowerShell, git, and Python (the install process for openvinotoolkit is pretty simple), but if you need detailed instructions I can make a follow-up post.

2 points

Stable Diffusion will be slow on anything other than a dedicated GPU, but you could try using openvinotoolkit to make A1111 use your integrated GPU. I'm using a 15 W laptop with an i7-8550U, which is a bit weaker than your 10th gen, and using the iGPU made it about 5 times faster.

5 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.