signalGitHub Trending2026-09-26
leejet/stable-diffusion.cpp
stable-diffusion.cpp is a pure C/C++ implementation of diffusion models (SD, Flux, Wan, Qwen Image, Z-Image, and more) based on ggml, similar to llama.cpp. It supports image, image edit, and video models with backends including CPU, CUDA, Vulkan, Metal, OpenCL, and SYCL. The project adds Day-0 support for Qwen-Image-2.1 and supports many recent models like FLUX.2, LTX-2.5, and MiniMax-H3.
- for who
- Developers and researchers who need lightweight, dependency-free diffusion model inference in C/C++.
- why now
- Day-0 Qwen-Image-2.1 support gives solo founders immediate local inference, avoiding cloud costs.
- what changes
- They can run state-of-the-art image and video generation models locally across multiple hardware backends without Python or heavy frameworks.
- to do
- Download pre-built binaries or build from source, then run sd-cli with a model file and a prompt to generate images.
key points
- Pure C/C++ implementation based on ggml, no external dependencies
- Supports image models (SD, FLUX, Qwen-Image 2.1, etc.) and video models (Wan2.2, LTX-2.5)
- Backends: CPU (AVX/AVX2/AVX512), CUDA, Vulkan, Metal, OpenCL, SYCL
#open source#C++#diffusion models#inference
score
score 8 out of 10. 0-10: how dense the facts are, multiplied by how much you can do with them after reading. 8+ means the topic's evidence bar is met: benchmarks and availability for a new model, amount and investors for a funding round, revenue figures for a solo-money story. Below 5 an item does not enter the digest. A press release scores 3 or less, a reprint loses 2, anything older than 14 days loses 1, a headline that misleads loses 3.
read the source