
I got ROCm 7.14 working on Polaris (RX 470, RX 580, etc)
I had been building nightly images for every ARCH via GitHub CI for quite a while now, because I found that official AMD images were quite a bit behind and lacking a few architectures as well.
However, until just now, gfx803, aka Polaris was still pinned to 6.4.4, because it got completely abandoned after 5.7 and it was generally accepted that 6.4.x were the last builds that would still allow you to compile against gfx803 at all.
Well, I decided to take a patch an AMD employee already posted and got 7.14 to compile - fully. I also found a bunch of kernel bugs and at least one bug with memory management that I patched, though for the latter it's more of a workaround as I couldn't fully identify the source - may be an AMD driver bug but I'm out of my depth here.
I've dedicated its own repository to gfx803 in hopes of being able to clean up some of the patches and submit them upstream and maybe bring Polaris support back. RX 470 8GB mining cards are about $20-30 on the used market and if you don't need to run the latest 25-35B LLM, that's still plenty. I'm currently using it for Audiomuse AI and I can absolutely see it being useful for Immich as well.
The docs and some of the comments are pretty much AI generated from my explanation. I am aware that I still have some cleaning up to do - especially for the patches themselves. But I've been in software development for over 10 years (albeit not C++) and am fairly confident I can clean up a bit better.
If you're completely against any use of AI (not sure why you'd be in the ROCm subreddit), just ignore this post.