Тёмный
No video :(

Faster Stable Diffusion with ZLUDA (AMD GPU) 

Northbound
Подписаться 204
Просмотров 8 тыс.
50% 1

Required software: github.com/vladmandic/automat...
Installation guide: github.com/vladmandic/automat...
Small correction: I'm using SD.next with ZLUDA, not automatic1111 directly
Timestamp:
0:00-0:20 Intro
0:21-0:43 ZLUDA vs DirectML
0:44-1:12 Consultation
1:13-1:53 Prerequisites
1:54-8:44 Installation steps
8:45- Errors
This is the command line I use (with powershell, once inside the SDnext folder):
.\webui.bat --use-zluda --debug --autolaunch --models-dir C:\sdmodels\

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

 

6 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 47   
@shadyb834
@shadyb834 25 дней назад
This actually doubled my generation speed. abosuletly lovely
@lastnamefirstname2278
@lastnamefirstname2278 2 месяца назад
you think its possible to use deepspeed with zluda, with things such as RVC?
@simrace70
@simrace70 Месяц назад
Finally this is a manual to get SD running on my 7900XT. It seems as if if builds parts of the software during installation process. Great, so it is compatible to "my" hardware. Also the error message are understandable. The speed on a 512x512 pic (stable diffusion 1.5 model) on the 7900XT is between 13 and 15 it/s. Thank you very much. I've had an enjoyable afternoon yesterday - and it will not be the last one.
@sunny99179
@sunny99179 Месяц назад
DO you know if i can run nice on RX 6650xt?
@israelcano
@israelcano 23 дня назад
This tutorial does not work anymore. The installation guide has changed and I just get errors when installing.
@tallast5043
@tallast5043 5 дней назад
all faces are messed up or it just keeps creating black screens
@arteon2017
@arteon2017 2 месяца назад
how can i install hip sdk to another folder? i dont have enough space in my disk
@northbound6937
@northbound6937 2 месяца назад
There's an install location option according to the guide rocm.docs.amd.com/projects/install-on-windows/en/docs-6.0.2/index.html
@MrSongib
@MrSongib 15 дней назад
Sadly can't run on my 5700 series. I've try the tutorial on vlad github it said running on zluda but the render time still the same with DirectML. Maybe it's actually running or not, or maybe the model is the problem or what, I still didn't know. XD ATM Using RocM 5.7 with ROCmLibs. In the process of this thinkering, I found each WebUI have different style characteristic of render, even though they use the same architecture, either DirectML or ZLUDA the images is slightly different from each WebUI. Since I mainly use "stable-diffusion-webui-amdgpu" and trying to use ZLUDA there it still give some error in the installation, that's why I try the SDNext it's seems works but the render time still the same, it got me confuse. Maybe I'll try to run it with various different model next time.
@manaphylv100
@manaphylv100 2 месяца назад
How many it/s can you get with the RX 6800 non-XT (at default 512 x 512)? I could get the RTX 2080 Ti or 3070 for the same price where I live, but I'd lose a lot of gaming performance and longevity due to the much lower VRAM.
@northbound6937
@northbound6937 2 месяца назад
You just gotta make a judgement call. If AI is your main priority, I would go for nvidia (TBH I regret getting an AMD card now), it/s is gonna be significantly faster than a 6800 and less compatibility issues (unless you don't mind using linux with AMD cards and fiddling with errors until you get it to work). If your main priority is gaming with a bit of AI on the side, AMD is fine for that.
@cmdr_talikarni
@cmdr_talikarni 19 дней назад
I'll have to give this a try this evening with my RX7600 (although a different process since I use Fooocus). I am tired of the 5-7 s/it compared to my other PC with RTX3050 that gets around 1 s/it. Luckily I have a 12GB RTX2060 on the way that should speed it up into the it/s range.
@JanDahl
@JanDahl 3 месяца назад
"Sheckel time" - pas på med de kanter, kammerat 😁
@Drake-bq1sk
@Drake-bq1sk Месяц назад
Finally got it working but now I can't use safetensors? (Edit) got it all working
@ErikaPwnz
@ErikaPwnz Месяц назад
Where can I upscale generated images? I can't find this.
@northbound6937
@northbound6937 Месяц назад
In the extras tab if I recall correctly
@sourcedecay
@sourcedecay 19 дней назад
Gotta try this. I upgraded from a 5600XT to a 7700XT today and my generations are running 3x slower than on my slower GPU for reasons...
@zeror6590
@zeror6590 28 дней назад
do pony models work?
@icefrog101
@icefrog101 3 месяца назад
Does sdxl models work on this, have you tried it.
@northbound6937
@northbound6937 3 месяца назад
Which model are you interested in? I can try it
@rwarren58
@rwarren58 3 месяца назад
What's your gpu? VRAM?
@ProcXelA
@ProcXelA Месяц назад
Dont work on RX6600 😪
@luisgustavodl
@luisgustavodl Месяц назад
It does, you have to do an extra step installing HIP SDK and replacing Library files
@ProcXelA
@ProcXelA Месяц назад
@@luisgustavodl Yea thanks. Its work
@bakkerfrans
@bakkerfrans 2 месяца назад
I tried it but when i want to make something it says model not loaded ?
@northbound6937
@northbound6937 2 месяца назад
Have you downloaded an SD model (from for example civit ai) and put it in the SD model folder? On the dropdown in the top left there should be a list of all the models that are loaded. If it's empty, you either haven't downloaded an SD model or it's in the wrong folder (see my prev video on SD, I mention the location for models there)
@bakkerfrans
@bakkerfrans 2 месяца назад
@@northbound6937 OSError: Building PyTorch extensions using ROCm and Windows is not supported. 17:50:16-045137 DEBUG Script callback init time: image_browser.py:ui_tabs=0.46 system-info.py:app_started=0.25 task_scheduler.py:app_started=0.12 17:50:16-046137 INFO Startup time: 9.98 torch=3.48 gradio=0.67 libraries=1.94 extensions=0.64 face-restore=0.05 ui-en=0.13 ui-img2img=0.05 ui-control=0.08 ui-settings=0.17 ui-extensions=0.87 ui-defaults=0.06 launch=0.12 api=0.07 app-started=0.37 checkpoint=1.06 17:50:16-048139 DEBUG Save: file="config.json" json=29 bytes=1184 time=0.003 17:50:16-050141 INFO Launching browser 17:50:19-143698 INFO MOTD: N/A 17:50:23-884855 DEBUG Themes: builtin=12 gradio=5 huggingface=0 17:50:26-962581 INFO Browser session: user=None client=127.0.0.1 agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0 17:52:00-177439 DEBUG Server: alive=True jobs=1 requests=37 uptime=109 memory=0.98/31.92 backend=Backend.DIFFUSERS state=idle 17:54:00-281476 DEBUG Server: alive=True jobs=1 requests=38 uptime=229 memory=0.98/31.92 backend=Backend.DIFFUSERS state=idle 17:56:00-376863 DEBUG Server: alive=True jobs=1 requests=38 uptime=350 memory=0.98/31.92 backend=Backend.DIFFUSERS state=idle 17:58:00-481532 DEBUG Server: alive=True jobs=1 requests=38 uptime=470 memory=0.98/31.92 backend=Backend.DIFFUSERS state=idle 17:59:59-582811 DEBUG Server: alive=True jobs=1 requests=38 uptime=589 memory=0.98/31.92 backend=Backend.DIFFUSERS state=idle 18:01:59-688014 DEBUG Server: alive=True jobs=1 requests=38 uptime=709 memory=0.98/31.92 backend=Backend.DIFFUSERS state=idle I also use "stable-diffusion-webui-directml" and this one works fine.
@northbound6937
@northbound6937 2 месяца назад
Don't know how to fix that. Maybe ask in the ZLUDA thread in the help channel on discord (link in github.com/vladmandic/automatic)
@BadutBego
@BadutBego 3 месяца назад
compared to non zluda, how faster is it?
@northbound6937
@northbound6937 3 месяца назад
8x
@BadutBego
@BadutBego 2 месяца назад
@@northbound6937 Whoa, so fast!! I'll try it, thanks
@SimilakChild
@SimilakChild 9 часов назад
AMD made ZLUDA closed source. It's no longer gonna be a thing, but I think the original developer is redeveloping it from scratch.
@Nightowl_IT
@Nightowl_IT Месяц назад
If it keeps using the wrong python version even though you edited the paths try deleting the venv and ...pycache.. folders.
@gigend
@gigend 2 месяца назад
is support RX 570 4GB VRAM, or not?
@bitkarek
@bitkarek 2 месяца назад
not long ago I tried directML with RX580 and i got about 4s per 1 instruction. It was slow, but worked. Dont know if zluda was supported, but if you are serious about generative AI, upgrade your GPU, its worth it. The newer cards are way more optimized and way more powerful. With 7800XT I now get about 4 instructions per second, so its waaaay faster.
@DouglasRivitti
@DouglasRivitti Месяц назад
@@bitkarek Man, how do you fix that "RuntimeError: Torch is not able to use GPU;" ?? I got a RX 580 gpu and always have problem using SD
@bitkarek
@bitkarek Месяц назад
@@DouglasRivitti i would like to help you but everybody has different errors. Radeon software up to date, windows, install all requirements from the txt file... it "should" run. There was some workaround for older cards for the ROCm! be sure to have it, not sure you can run RX580 with Zluda and ROCm... Try that directML version. Its slower, but worked for me.
@mengli1706
@mengli1706 2 месяца назад
Can the AMD Radeon RX580 2048SP graphics card run the program?
@northbound6937
@northbound6937 2 месяца назад
I'm not sure, it might. For that follow the steps in the section 'Replace HIP SDK library files for unsupported GPU architectures.' of the guide linked in description (specifically the last bullet point of step 3 of that section, the one who links to 'ROCmLibs.7z'). Good luck!
@mareck6946
@mareck6946 2 месяца назад
directml Works. ZLUDA in general also. ( blender etc. ) on that card
@davidv1540
@davidv1540 3 месяца назад
Have you thought about making a guide on ROCm on ubuntu or other for faster generation?
@northbound6937
@northbound6937 3 месяца назад
I tried it, but came up with all sorts of errors I didn't know how to fix. If I try again and manage to make it work, I'll update a video about it.
@bitkarek
@bitkarek 2 месяца назад
hmm, i got to a state that after an hour it started to make a picture, but ended in like 5% of that. And it uses zluda on my CPU, not GPU :D nice.
@GHOSTTIEF
@GHOSTTIEF 2 месяца назад
My anime hentai model is not compatible smh
@POKLONITES_KLOYnY
@POKLONITES_KLOYnY 2 месяца назад
7900gre support?
@northbound6937
@northbound6937 2 месяца назад
Should be supported, for all intents and purposes the 7900GRE has the same chipset as 7900XT
@POKLONITES_KLOYnY
@POKLONITES_KLOYnY 2 месяца назад
@@northbound6937 thanks
Далее
Stop, Intel’s Already Dead!
13:47
Просмотров 306 тыс.
Склеил девушку-курьера ❤️
01:00
Stable diffusion webui with an AMD GPU? [2024]
18:48
Просмотров 33 тыс.
Best GPUs for Stable Cascade and Diffusion - 2024
13:22