Тёмный

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

RTHD
Подписаться 12 тыс.
Просмотров 12 тыс.
50% 1

Опубликовано:

 

27 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 76   
@rthd
@rthd Год назад
Important update, the latest code commits done by lshqqytiger broke the DDIM image generation (May 8th 2023). The working version that works with the Ryzen 5600G APU can be found at my github forked repo (MAKE SURE TO USE THIS SPECIFIC BRANCH!!!): github.com/risharde/stable-diffusion-webui-directml/tree/master-without-36db52a
@eliasllampialiaga5577
@eliasllampialiaga5577 Год назад
I love you
@rthd
@rthd Год назад
Back at you my friend!
@ajithmahendra1650
@ajithmahendra1650 Год назад
is inpainting work or not with this s?ystem
@PZ82
@PZ82 Год назад
I downloaded version of july 28 and it works on my ryzen 4700u... Im even trying SDXL as we speak, but need to upgrade DRAM. 16GB means 8GB VRAM tops and its not enough for SDXL
@_roket
@_roket Год назад
hi, did you allocate additional memory in the BIOS? How much do you have allocated and how much RAM is there in the system?
@rthd
@rthd Год назад
Thanks to all who viewed especially those who liked the video, it really helps to get the video out there! Love you guys!
@miycko
@miycko Год назад
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 🙏
@roccotool
@roccotool Год назад
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.
@rthd
@rthd Год назад
Thank you!!
@mehmetonurlu
@mehmetonurlu 11 месяцев назад
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.
@kilobyte__
@kilobyte__ 10 месяцев назад
so just install normal stable diffusion? how long it took to generate 1 image?
@mehmetonurlu
@mehmetonurlu 9 месяцев назад
@@kilobyte__ it was the case, yes. But things changed i guess and regular stable diffusion works really slow now. I am trying to reinstall this version instead with new tricks ill let you know if it works. (search for latent consistency lora and Lcm method)
@tobycortes
@tobycortes Год назад
broooo it worked on APU, geeeezzzz finally im using the amd igpu so sick !!!!!!!!!!!!! thank you!!!!!!!!!!!!!!!!!
@rthd
@rthd Год назад
Correct! Use my repo and please confirm if it works, I tested this and currently use this link on my 5600g apu
@rthd
@rthd Год назад
Now saw your follow up message, awesome glad it works for you, thanks for confirming and for viewing the video and commenting in!
@bonelycoreanime6569
@bonelycoreanime6569 Год назад
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
@maitotechlab9035
@maitotechlab9035 Год назад
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.
@reptiloidtill
@reptiloidtill Год назад
Full size AMD does work decently as well, just more buggy and certain things don't work
@maitotechlab9035
@maitotechlab9035 Год назад
@@reptiloidtill yup, ive tried it on my rx580 8bg and at first, with no special commands i could do only like 400x400 images, 1 at a time or it would complain about memory. Tried a litle more and with a few commands i can do a bit higher res images but its painfuly slow. If didnt had tried it on nvidia first maybe i would not complain, but o well, once you has proven the fast lane its hard to use the slow lane lol.
@reptiloidtill
@reptiloidtill Год назад
@@maitotechlab9035I think that generation might not have any AI hardware. On my newer Rx6000er it works as expected, after a bit of trouble during setup. RX7000 seems to be on par performance wise with Nvidia, at least compared to similar priced ones. But still somewhat janky
@양태원-b3p
@양태원-b3p 4 месяца назад
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?
@syk2973
@syk2973 Год назад
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
@moebro9307
@moebro9307 Год назад
hey thanks I finally was able to prompt something without my pc blue screening
@rthd
@rthd Год назад
Happy to hear that, congrats and thanks for watching and commenting in!!
@TanjiroKamado-zz3ih
@TanjiroKamado-zz3ih Год назад
Thanks its working.
@anotheri7071
@anotheri7071 Год назад
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
@NoidoDev
@NoidoDev Год назад
Some people are claiming this would be pointless if you can use CPU. Since the APU is very slow and uses the same RAM.
@BAD_CONSUMER
@BAD_CONSUMER 8 месяцев назад
It's an order of magnitude faster than CPU and an order of magnitude slower than discrete graphics. CPU is reallllly slow.
@kilobyte__
@kilobyte__ 10 месяцев назад
i stuck in the cloning transformer, can anyone tell me why it is always failing to download?
@Gisprix
@Gisprix Год назад
thks
@navidsatarmaker5
@navidsatarmaker5 8 месяцев назад
hi @RTHD will this work if I have 8GB RAM, and windows 11
@mehrabowo
@mehrabowo Год назад
everything went smoothly until I tried to generate an image this error popped up, "RuntimeError: [enforce fail at ..\c10\core\impl\alloc_cpu.cpp:72] 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 :(
@mudit_mathur
@mudit_mathur 11 месяцев назад
did you try to set COMMANDLINE_ARGS= --lowvram
@tobycortes
@tobycortes Год назад
now to test it out, if it actually renders out the image.... ill be back !!!
@thuanhoang7418
@thuanhoang7418 Год назад
You try this ????
@push183
@push183 Год назад
Bro loptop AMD A6 R 4 graphics this working software pls help
@johnwtz
@johnwtz 2 месяца назад
this still works in 2024, thanks.
@bobbywrtm
@bobbywrtm Год назад
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
@rthd
@rthd Год назад
You might have more luck with ishy's repo for dedicate amd gpu
@acupofsoda3397
@acupofsoda3397 Год назад
I have the same specs as you but it keeps giving me the blue screen of death
@ajithmahendra1650
@ajithmahendra1650 Год назад
in you're pc inpainting does work or not please help
@tobycortes
@tobycortes Год назад
i got a quiestion bro, when i load SD say thats theres is a new version for " pip ", is it good to update or will it brake the build ???
@rthd
@rthd Год назад
Good question bro! Not too sure, I saw that but didn't try it as yet, in theory pip new versions should break anything so if you feel adventurous you could try it
@frankyflowers
@frankyflowers Год назад
show the task bar with the % and power usage.
@rthd
@rthd Год назад
Would love to, to answer any doubts but youtube will destroy my channel if it doesn't get engagement, already struggling as is with my content, sorry for the lame excuse
@hanobieejuned4632
@hanobieejuned4632 4 месяца назад
How many gb vram in your settings
@Bhushanmilkhe
@Bhushanmilkhe Год назад
hey bro its giving me some error Couldn't launch python exit code: 9009 stderr: Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
@Bhushanmilkhe
@Bhushanmilkhe Год назад
please try to help
@rthd
@rthd Год назад
@@Bhushanmilkhe Assuming you're running windows, did you install python? Make sure when installing you enable the checkbox on the first window of the installer to include python in PATH (Download python installer here: www.python.org/downloads/release/python-3106/). This should work - good luck!
@Bhushanmilkhe
@Bhushanmilkhe Год назад
@@rthd oh bro thanks for the help. But my stable diffusion was crashing after hitting the generate button it was saying out of memory. I have ryzen 5 3400g with vega 11 and 16gb ram
@rthd
@rthd Год назад
Did you adjust the command line arguments to what I mentioned I the video and use the latest repo link? That should have avoided the crashes, please let me know, thanks
@Bhushanmilkhe
@Bhushanmilkhe Год назад
@@rthd both the things were followed properly but still it was crashing.
@ayataro7134
@ayataro7134 Год назад
bro i cant find webui.user.bat file pls help
@tobycortes
@tobycortes Год назад
so we can use your link for the actual thing to wokr on a APU, i have and APU ready to go for this!!!!! im gonna use your link !!!! and get back to you on this comments
@tat3oi
@tat3oi Год назад
Would it work I have ryzen 3500 U
@rthd
@rthd Год назад
Good question, I can't say for certain but I'd say there's a high probability that it should work. I do have a 4500U which in theory should be similar - if I get a chance I'll try it and get back to you or maybe you can try the code and let me know if it works for you!
@rthd
@rthd Год назад
I tested on a 4500u ryzen and it worked!!
@ajithmahendra1650
@ajithmahendra1650 Год назад
would inpainting work with apu
@ajithmahendra1650
@ajithmahendra1650 Год назад
please help me
@tat3oi
@tat3oi Год назад
@RTHD well I hope you make a video in detail because mine didn't work and they are almost the same.
@tobycortes
@tobycortes Год назад
does anyone know if CONTROLNET works with this build ???
@ajithmahendra1650
@ajithmahendra1650 Год назад
does enyone know if inpainting work with apu
@ajithmahendra1650
@ajithmahendra1650 Год назад
please help bro
@VGHOST008
@VGHOST008 Год назад
For some reason, it gives me this error: unrecognized arguments: --opt-split-attention-vl and manages to launch just fine without it
@patrickng1287
@patrickng1287 Год назад
it should be v1 not vl
@nicesib
@nicesib Год назад
Bro I got a problem, when I run webui-user.bat it get stuck in Can't run without a checkpoint. Find and place a .ckpt or .safetensors file into any of those locations.
Далее
На самом деле, все не просто 😂
00:45
Family♥️👯‍♀️🔥 How old are you? 🥰
00:20
Get form data using PHP GET and POST methods
16:36
Просмотров 1,5 тыс.
Faster Stable Diffusion with ZLUDA (AMD GPU)
9:06
Просмотров 11 тыс.
AMD's Hidden $100 Stable Diffusion Beast!
9:23
Просмотров 97 тыс.
TensorFlow on AMD GPU! DirectML Tutorial and Testing.
12:54