Faster Stable Diffusion using Ryzen APU processor (No dedicated GPU)

preview_player
Показать описание
Finally, you can get faster performance on the AMD Ryzen APU processors using this version of stable diffusion! Months ago, this was not easily possibly but there's a new git repo out that is going to change your life for the better! In this video I show you how to get it installed on Windows 11 and begin generating AI images for free. Using the Ryzen 5600G processor, I was able to get images rendered in less than 2 minutes. Previously this would have taken over 15 minutes when using the CPU cores alone but now we're using the Graphics cores to make it faster!

0:00 - Intro
1:25 - What we'll cover in video
3:32 - Repo that works for dedicated GPU
4:16 - Repo that works with Ryzen APU graphics
5:50 - Steps to install
11:00 - Add command arguments required
14:05 - UI run through
14:50 - More demo renderings

#stablediffusion

Stable diffusion tutorial

Рекомендации по теме
Комментарии
Автор

Thanks for the info, it was a lifesaver. Another tweak for making it run faster was going to settings, stable diffusion, "Checkpoints to cache in RAM" were set to 2. I sliced a third of the rendering time.

roccotool
Автор

Thanks so much for the dude! I'd been trying to get SD to work with rocm in Linux on my 5600G for over a week, and no dice. Used your tutorial and was up and running in an hour! Generations are about twice as fast on the higher resolutions, thanks again man 🙏

miycko
Автор

I used your method its pretty nice, but for today automatic1111 is better even in apu systems with your " --lowvram --precision full --no-half --opt-sub-quad-attention --opt-split-attention-v1 --disable-nan-check " codes. Just install the regular Automatic1111 for amd users, and go to settings, optimizations and set token merging values up to 1, i prefer 0, 6. Its faster this way. And try custom realism models with euler 20 sample, default stable diffusion model is kinda slower. My apu is ryzen 3 2200g with 2x8gb ram and works fine.

edit: do not use --xformers code.

mehmetonurlu
Автор

broooo it worked on APU, geeeezzzz finally im using the amd igpu so sick thank

tobycortes
Автор

The normal web ui is working the same way in my 5600g apu
My commmand arguments is :set COMMANDLINE_ARGS= --lowvram --precision full --no-half --skip-torch-cuda-test

bonelycoreanime
Автор

Thanks to all who viewed especially those who liked the video, it really helps to get the video out there! Love you guys!

rthd
Автор

hey thanks I finally was able to prompt something without my pc blue screening

moebro
Автор

Is there a way to make Easy Diffusion work with ryzen APU? I mean a way that i can do in order to not wait for the devs to implement it.
Otherwise, is there a way to use the files I already have downloaded/installed with ED to speed up the process of using this ui?? In order to not download a second time the same files

syk
Автор

Just for context, i have an rtx2060s 8gb and with it i can make 4 images of around 768x512 30 steps in about 30 secs or so. So if you want to really use SD at its full potential you need an Nvidia gpu atm, if you going to buy new ish a rtx3060 12gb would a good budget option.

maitotechlab
Автор

Sir, but I've found it not using iGPU. 8845hs w 780m and in task manager it shows sd is only using cpu for generation. Any ideas how to make igpu run it?

양태원-bp
Автор

i stuck in the cloning transformer, can anyone tell me why it is always failing to download?

kilobyte__
Автор

I would give you your like. but something that never happened to me with the automatica github repositories happened with yours, the first time I run the webui and the windows firewall alert for python appears, which never happened to me with the original versions of automatica, but you deserve it a like because with your command line, if the original version works for amd without the command line the vram goes full and throws a vram error, Be careful with the repository

anotheri
Автор

Bro loptop AMD A6 R 4 graphics this working software pls help

push
Автор

everything went smoothly until I tried to generate an image this error popped up, "RuntimeError: [enforce fail at data. DefaultCPUAllocator: not enough memory: you tried to allocate 58982400 bytes." im using the same apu as you R5 5600g and 16gb ram. is there a way to put memory limit manually? couldn't find any help on other posts on github or reddit :(

mehrabowo
Автор

Some people are claiming this would be pointless if you can use CPU. Since the APU is very slow and uses the same RAM.

NoidoDev
Автор

I have the same specs as you but it keeps giving me the blue screen of death

acupofsoda
Автор

hi @RTHD will this work if I have 8GB RAM, and windows 11

navidsatarmaker
Автор

show the task bar with the % and power usage.

frankyflowers
Автор

in you're pc inpainting does work or not please help

ajithmahendra
Автор

Does this method also works for AMD GPU? I run SD on my pc with no problem with ryzen 5 2600 RTX 3060, I just bought 2nd pc with Ryzen 5 5600G in it and I'm planing to change side and buy AMD Gpu for it later, so I try this method first

bobbywrtm