Re:Stable Diffusion on AMD RDNA3
by imhoguy on Wednesday December 21, 2022 @05:59AM
(#34079066)
Any chance to get SD running on mobile Ryzen APU e.g. Ryzen Pro 4750U (Renoir)?
[ Parent
| on HN ]
Short answer no. Long answer "in theory" yes. I tried this [1] but gave up as building rocm + deps takes up to 6h :/ Official statement [2]
[1] https://github.com/xuhuisheng/rocm-build [2] https://github.com/RadeonOpenCompute/ROCm/issues/1587
Re:Stable Diffusion on AMD RDNA3
by nicolaslem on Wednesday December 21, 2022 @08:52AM
(#34080712)
For anyone on Arch, there is a third-party repository called arch4edu[0] that provides up to date builds of ROCm and its dependencies. On my iGPU, OpenCL sometimes works, sometimes crashes. Even finding a list of supported hardware is close to impossible. The whole situation is just ridiculous and makes AMD look bad.
AMD doesn't actually care.
For them, GPGPU is a pro level feature not worth supporting on most customer GPUs. They are doing much more feature segmentation than NVIDIA ever did.
This worked for me with a 5700xt:
https://www.travelneil.com/stable-diffusion-windows-amd.html
Re:Stable Diffusion on AMD RDNA3
by negativegate on Wednesday December 21, 2022 @01:12PM
(#34084241)
nod-ai/SHARK from the original submission is by far the fastest way I've found to run Stable Diffusion on a 5700 XT.
For 50 iterations:
* ONNX on Windows was 4-5 minutes
* ROCm on Arch Linux was ~2.5 minutes
* SHARK on Windows is ~30 seconds
I’ll have to give this a go over the weekend!
Re:Stable Diffusion on AMD RDNA3
by magic_at_nodai on Wednesday December 21, 2022 @12:55PM
(#34084016)
Can you give SHARK a try and let us know on our discord? We can try to help. People have been using it on older AMD GPUs back to Polaris arch.