#47 · Primary category: Inference & Local Deploy
stable-diffusion.cpp
Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++
Project last updated:08/27/26
GitHub Stars
6.9K
Forks
761
Contributors
98
License
MIT
Why we included this project
stable-diffusion.cpp brings the llama.cpp approach to image and video generation: a pure C/C++ implementation on ggml with no Python runtime and no external dependencies beyond the weights themselves. It runs Stable Diffusion, FLUX, Qwen Image, Wan, and LTX checkpoints, and new models tend to land here quickly, sometimes with day-one support. That makes it a strong fit for on-device or embedded generation, and for anyone who wants to run open diffusion models from a single native binary on CPU or GPU (CUDA, Vulkan, Metal, OpenCL, SYCL). A CLI and an embedded web UI cover straightforward text-to-image and image-editing workflows, and a small server mode can expose generation over HTTP for integration into other tools. Because most checkpoints convert to GGUF and quantized weights are supported, it is also a practical route when memory or VRAM is tight.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
ollama
Get up and running with Kimi-K2.6, GLM-5.2, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
llama.cpp
LLM inference in C/C++
vllm
A high-throughput and memory-efficient inference and serving engine for LLMs
gpt4all
GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
LocalAI
LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.