Upgrade rocm 6.4.4 to 7.1.0 on fedora 43

I am currently on Fedora 43 (Sway spin) and have rocm 6.4.4 (meta-package) installed. I have had an issue when running ML models on the GPU that has been expressed here.

The suggestion is to update rocm, but 7.1.0, via DNF, is only available on Rawhide. Is an update using koji possible here without breaking dependencies?

There is a mention here for the official amd rocm installation to follow. The amd rocm quick start installation shows adding the repo (which version of RHEL to choose?) and installing from there. Could this work?

I believe the only thing you have to do is to temporarily enable rawhide to install the rocm version available there.

Try this.

sudo dnf install fedora-repos-rawhide
sudo dnf --enable-repo=rawhide update rocm

I suggest you learn how to use docker to play with ML software. It’s a lot easier. I avoided it for a while and regret it because it’s made my life so much easier.

The last link you provide is for a different version of rocm. That’s the official version provided by AMD. It doesn’t come from fedora, you will make a mess of your system installing that.

Thank @jnolck, will try the temporary add of the rawhide repo.

Indeed, will try with containers as well :+1: going forward.

I realize that using the official versions by AMD may be problematic. Just wanted to mention it as a last resort.

You can also temporarily switch your release to F44.
sudo dnf --releasever=44 install rocm\* hip\* --allowerasing
(If upgrading use upgrade instead of install)

I think is better to keep your Fedora 43 as stable as possible and play with ROCm version drivers in another distro inside distrobox. Because ROCm devs only test the latest drivers in Ubuntu and RHEL. Install and loading Rocm 7.x in a distrobox instance is pretty straightforward.