leejet/stable-diffusion.cpp
View on GitHub ↗ ★ 7,866 C++
Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++
16 mentions on Hacker News by 16 people: 5 stories, 11 comments · first 2023-08-16 · latest 2026-09-20
20082026
-
…here[1]. It works out of the box. I made a test pelican[2]. It took 3 minutes on a CPU. [0] https://github.com/leejet/stable-diffusion.cpp/blob/master/d... [1] https://github.com/leejet/stable-diffusion.cpp/blob/master/d... [2]…
comment by peri-cl · 2026-09-20 · in Qwen Image 2.1 -
I am using sd.cpp, which is the cousin of llama.cpp: https://github.com/leejet/stable-diffusion.cpp it already has day-0 qwen image 2.1 support!
comment by nkhgfugjk · 2026-09-20 · in Qwen Image 2.1 -
There's also sdcpp ( https://github.com/leejet/stable-diffusion.cpp ) . It is for people that know command line shells like bash or Powershell. SDCPP is like llama.cpp but it is for using text to image AI models. Not everyone likes the…
comment by qclibre22 · 2026-08-12 · in Automatic1111 for Apple metal, 40% speed up sd1.5 -
…now supports Krea2: * https://github.com/LostRuins/koboldcpp/releases/tag/rolling Model weights: * https://github.com/leejet/stable-diffusion.cpp/blob/master/d... In the launcher GUI, select 'Image Gen' and set Krea2 Turbo gguf as the…
comment by Eisenstein · 2026-06-25 · in Krea 2: SOTA open-weights 12B image model -
https://github.com/leejet/stable-diffusion.cpp
comment by khimaros · 2026-01-19 · in Flux 2 Klein pure C inference -
…a lot more than just stable diffusion, despite the name) is already a MIT licensed C++ library. [0] https://github.com/leejet/stable-diffusion.cpp/
comment by badsectoracula · 2026-01-18 · in Flux 2 Klein pure C inference -
…One way to run it is with ComfyUI https://www.comfy.org/ Or you can try https://github.com/leejet/stable-diffusion.cpp
comment by homarp · 2025-12-31 · in How to Run Qwen-Image-2512 Locally in ComfyUI -
(Not tested) though apparently it already exists: https://github.com/leejet/stable-diffusion.cpp/wiki/How-to-U...
comment by opensandwich · 2025-12-06 · in Z-Image: Powerful and highly efficient image generation model with 6B parameters -
Try https://github.com/leejet/stable-diffusion.cpp
comment by loxias · 2024-10-03 · in FLUX1.1 [pro] – New SotA text-to-image model from Black Forest Labs -
…people have timed it here, it looks like it's taking 15-20s/it (dependent on quant and hardware). https://github.com/leejet/stable-diffusion.cpp/issues/1
comment by nre · 2023-08-19 · in Stable Diffusion in C/C++ -
Interesting. It still doesn't seem to be very quick: https://github.com/leejet/stable-diffusion.cpp/issues/6 But don't get me wrong, I look forward to playing with ggml SD and its development.
comment by brucethemoose2 · 2023-08-19 · in Stable Diffusion in C/C++