Hacker News new | ask | show | jobs
by imhoguy 1277 days ago
Any chance to get SD running on mobile Ryzen APU e.g. Ryzen Pro 4750U (Renoir)?
3 comments

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

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.

[0] https://github.com/arch4edu/arch4edu

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.

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.
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!