HashCat has finally support for modern AMD GPUs using HIP gives a lot more performanc since v7.0.0
Please make sure your system is running all the required AMD ROCm drivers (v6.x Linux Kernel, sadly Kernel v7.x is not yet supported)
I got inspired by https://github.com/dizcza/docker-hashcat/blob/master/Dockerfile and adjusted the instructions to build upon latest ROCm-enabled AMD docker images
docker build -t rocm-hashcat .
docker run --rm -it -v /dev/dri:/dev/dri --device /dev/kfd -v $(pwd):/source rocm-hashcat
hashcat -a 3 /source/hashes.txt