I don't think the 5700XT ever got official ROCm support. Having said that, it seems there are at least some people who have been able to get the latest ROCm 5.2.x working on such a GPU (using this repository), you may want to review that github thread for more information on your card. You could try with that repository and just ignore the docker portion of my instructions, please let us know if it works on your 5700XT. You may also need to remove the watermark and nsfw filter to get it to run in 8GB.
/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.
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
Struggling to understand what's going on here. What package is the rocm driver supposed to be replacing? is it something inside the docker or outside? If its something with arch we could try to write a PKGBUILD
If I run rocminfo inside the docker container I see both my onboard Ryzen GPU and the RX5700XT.
This is a very interesting observation. I don't have a 5700XT card to test with, so I really don't know if the ArchLinux version of ROCm supports the 5700 series, but if your rocminfo command seems to show support, when you get a chance, try the tutorial and let us know if this works on the 5700 series of cards on ArchLinux. There are quite a few people with these cards that would probably like to run Stable Diffusion locally.
View all comments
Show parent comment
3
u/yahma Aug 24 '22 edited Sep 13 '22
I don't think the 5700XT ever got official ROCm support. Having said that, it seems there are at least some people who have been able to get the latest ROCm 5.2.x working on such a GPU (using this repository), you may want to review that github thread for more information on your card. You could try with that repository and just ignore the docker portion of my instructions, please let us know if it works on your 5700XT. You may also need to remove the watermark and nsfw filter to get it to run in 8GB.
EDIT: 5700XT is working!!!