leejet/stable-diffusion.cpp
Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++
Built on ggml with zero external dependencies, it supports diverse architectures—image generation (SD1.x through FLUX.2), video (Wan2.1/2.2), and editing models—alongside LoRA, ControlNet, and quantized GGUF weights. Multi-backend acceleration includes CUDA, Vulkan, Metal, and OpenCL, with optimizations like Flash Attention, VAE tiling, and latent consistency models for efficient CPU/edge deployment.
5,579 stars. Actively maintained with 32 commits in the last 30 days.
Stars
5,579
Forks
551
Language
C++
License
MIT
Category
Last pushed
Mar 16, 2026
Commits (30d)
32
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/diffusion/leejet/stable-diffusion.cpp"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related models
MochiDiffusion/MochiDiffusion
Run Stable Diffusion on Mac natively
xlite-dev/lite.ai.toolkit
🛠A lite C++ AI toolkit: 100+ models with MNN, ORT and TRT, including Det, Seg, Stable-Diffusion,...
ssube/onnx-web
web UI for GPU-accelerated ONNX pipelines like Stable Diffusion, even on Windows and AMD
xororz/local-dream
Run Stable Diffusion on Android Devices with Snapdragon NPU acceleration. Also supports CPU/GPU...
Stability-AI/StableSwarmUI
StableSwarmUI, A Modular Stable Diffusion Web-User-Interface, with an emphasis on making...