If you're trying to use stable diffusion amd then probably missing https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-24.Q3-Win10-Win11-For-HIP.exe That was my case, after installing HIP; I was able to pass the error.