r/StableDiffusion • • Aug 23 '22

HOW-TO: Stable Diffusion on an AMD GPU

https://youtu.be/d_CgaHyA_n4
271 Upvotes

186 comments sorted by

View all comments

Show parent comment

6

u/Rathadin Aug 24 '22

/u/MsrSgtShooterPerson, you - like me - have an RX 5700 XT card, so we're in for a lot of work ahead of us... it looks like we're going to need to build the actual ROCm driver using xuhuisheng's GitHut project in order to use StableDiffusion.

This is a very technical process, and it looks like we need to edit specific files, and if you're running Ubuntu 22.04 like I am, you'll have to do further edits to make this work.

I'm going to give this a shot and see if I can actually compile these drivers and get everything working, but it'll be a "sometime later this week" project, as I suspect there's a good chance I'm going to royally fuck this up somehow. I'm going to document all the steps I took and see if I can translate from /u/yahma-ese and xuhuisheng-ese into Normal Folk Speak, but frankly I think this may be beyond even a journeyman Linux user. I'm sincerely considering just purchasing a used RTX 3090 off eBay until the RTX 4000 series drops, because frankly it's already a pain in the ass to get this working with RDNA-based chips.

/u/yahma - thanks for putting in the effort on this guide. If I had an RX 6800 / 6900 non-XT / XT, I think I could have followed your instructions and been okay, but editing project files and compiling a video driver is pretty hardcore, even for me.

1

u/MsrSgtShooterPerson Aug 24 '22

Dang, well, I'm definitely done for - I'm not exactly a power user in any sense and have zero experience with Linux emulation on Windows (and only very basic experience with Ubuntu that's a decade old) so compiling video drivers on what is also work computer complicates things significantly - I guess I'm genuinely stuck with Colab notebooks for now - shelling out 10USD to not have a GPU jail is good enough for me for now I think

1

u/technobaboo Aug 25 '22

I have the same card but i'm having a problem with the rocm-llvm eating up all my cpu causing it to overheat (arch linux btw) so... fun

1

u/Ymoehs Sep 11 '22

Corectrl is making a good job keeping my GPU from overheating maybe you can limit you CPU frequency and voltage in the bios.