Pytorch "hipErrorNoBinaryForGpu: Unable to find code object for all current devices!"
SYSTEM: Ryzen 5800x, rx 6700xt, 32 gigs of RAM, Ubuntu 22.04.1
I'm attempting to install Stable-Diffusion by following https://youtu.be/d_CgaHyA_n4
When attempting to run the SD script, I get the &quot;hipErrorNoBinaryForGpu: Unable to find code object for all current devices!&quot; error.
I believe this is caused by PyTorch not working as expected. When validating Pytorchs' installation with &quot;The Master Test&quot;, I get the same error:
&quot;hipErrorNoBinaryForGpu: Unable to find code object for all current devices!&quot;
Aborted (core dumped)

I believe that it is install correctly as using the conda list command tells me that torch 1.12.0a0+git2a932eb and torchvision 0.13.0a0+f5afae5 are installed. Interestingly, when I change the command ever-so-slightly to torch.cuda.is_available, (without the parentheses), I get the following output: &lt;function is_available at 0x7f42278788b0&gt;. Granted, I'm not sure what this is telling me. Following the &quot;Verification&quot; step resulted in the expected array of random numbers. However, failed the GPU driver check.
Thank you in advance.

Try running the following command:
export HSA_OVERRIDE_GFX_VERSION=10.3.0
This made it work on my machine using an RX 6600 XT, with which I got the same error running it, before exporting the variable.
