Mario Limonciello (AMD) e212912bbf Switch over ROCm builds to artifacts both for stable and preview releases
AMD is in the process of moving over to a brand new build system (TheRock).
They have a preview release stream for it, and it includes some significant
performance uplifts.

To let people experiment with both stacks generate artifacts both for the
stable (7.2) and preview (7.11) stacks.

In both cases - ROCm must be installed first to use this artifact.
It's intentionally not bundled because so many ISAs are included and the
size of the artifact balloons to an untenable size.
2026-02-13 23:50:50 -06:00
2026-01-28 21:47:36 +08:00
2026-01-28 21:47:36 +08:00
2026-02-01 20:54:23 +08:00
2024-01-29 23:05:18 +08:00
2023-08-13 16:00:22 +08:00

stable-diffusion.cpp

leejet%2Fstable-diffusion.cpp | Trendshift

Diffusion model(SD,Flux,Wan,...) inference in pure C/C++

Note that this project is under active development.
API and command-line option may change frequently.

🔥Important News

  • 2026/01/18 🚀 stable-diffusion.cpp now supports FLUX.2-klein
    👉 Details: PR #1193

  • 2025/12/01 🚀 stable-diffusion.cpp now supports Z-Image
    👉 Details: PR #1020

  • 2025/11/30 🚀 stable-diffusion.cpp now supports FLUX.2-dev
    👉 Details: PR #1016

  • 2025/10/13 🚀 stable-diffusion.cpp now supports Qwen-Image-Edit / Qwen-Image-Edit 2509
    👉 Details: PR #877

  • 2025/10/12 🚀 stable-diffusion.cpp now supports Qwen-Image
    👉 Details: PR #851

  • 2025/09/14 🚀 stable-diffusion.cpp now supports Wan2.1 Vace
    👉 Details: PR #819

  • 2025/09/06 🚀 stable-diffusion.cpp now supports Wan2.1 / Wan2.2
    👉 Details: PR #778

Features

Quick Start

Get the sd executable

Download model weights

Generate an image with just one command

./bin/sd-cli -m ../models/v1-5-pruned-emaonly.safetensors -p "a lovely cat"

For detailed command-line arguments, check out cli doc.

Performance

If you want to improve performance or reduce VRAM/RAM usage, please refer to performance guide.

Bindings

These projects wrap stable-diffusion.cpp for easier use in other languages/frameworks.

UIs

These projects use stable-diffusion.cpp as a backend for their image generation.

Contributors

Thank you to all the people who have already contributed to stable-diffusion.cpp!

Contributors

Star History

Star History Chart

References

S
Description
Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++
Readme
171 MiB
0 Stars 1 Watchers 0 Forks
2026-11-21 05:03:08 -10:00