Not really. I’ve had to do quite a bit of experimentation.
My setup that I’ve settled on:
Rocm system libraries from Arch Linux
PyTorch nightly for Rocm pip installed into a venv (see instructions on pytorch homepage)
Set HSA_OVERRIDE_GFX_VERSION to 11.0.0. This is just for the RX7600 and it tells it to use the RX7900 code as the pytorch version hasn’t been compiled with 7600 support.