leejet/stable-diffusion.cpp
A pure C/C++ implementation for efficient, cross-platform inference of various diffusion models, including Stable Diffusion, FLUX, Wan, and Qwen Image.
Core Features
Detailed Introduction
stable-diffusion.cpp is a high-performance, cross-platform inference engine for diffusion models, meticulously crafted in pure C/C++ and leveraging the lightweight ggml library. It aims to provide an efficient and dependency-free solution for running a diverse array of generative AI models, from text-to-image (Stable Diffusion, FLUX) to image editing and video generation (Wan). By optimizing for various hardware backends and supporting multiple model formats, it empowers developers and users to deploy and experiment with cutting-edge AI models locally, offering speed, memory efficiency, and broad compatibility across different operating systems, including mobile.