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 -
▲ 1
Show HN: Gosd: High-performance Stable Diffusion inference in pure Go(no CGO)story by krakato · 2026-05-07 · 0 comments
-
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 -
▲ 87
Show HN: Offline sketch to image geneartor in a whiteboardstory by arctanx · 2024-05-26 · 22 comments
-
…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++ -
▲ 303
Stable Diffusion in C/C++story by kikalo00 · 2023-08-19 · 115 comments
-
▲ 3
Stable Diffusion in pure C/C++story by tim_sw · 2023-08-16 · 0 comments
-
▲ 2
Stable-Diffusion.cppstory by carbocation · 2023-08-16 · 1 comment