Skip to content

Instantly share code, notes, and snippets.

@harishanand95
harishanand95 / Stable_Diffusion.md
Last active July 29, 2023 20:08
Stable Diffusion optimized for AMD RDNA2 GPUs using IREE->Vulkan

Stable Diffusion optimized for AMD RDNA2 GPUs using IREE->Vulkan

This guide is meant for developers who want to experiment with the IREE/MLIR toolchain to compile Vulkan code. A more streamlined installation procedure (that uses precompiled .vmfb files optimized for various GPUs) would be possible, but in the interest of time, we’re sharing here instructions meant for developers.

Install the latest AMD Drivers

AMD Software: Adrenalin Edition 22.11.1 for MLIR/IREE Driver Version 22.20.29.09 for Windows® 10 and Windows® 11 (Windows Driver Store Version 31.0.12029.9003)

https://www.amd.com/en/support/kb/release-notes/rn-rad-win-22-11-1-mril-iree

@averad
averad / Stable_Diffusion.md
Last active June 6, 2024 08:42 — forked from harishanand95/Stable_Diffusion.md
Stable Diffusion on AMD GPUs on Windows using DirectML
@harishanand95
harishanand95 / Stable_Diffusion.md
Last active June 6, 2024 08:42
Stable Diffusion on AMD GPUs on Windows using DirectML