Hacker GitHub

← All repos

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

Mentions per year 16 mentions · busiest year 2026 (7)
20082026
  1. …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
  2. 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
  3. 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…
  4. …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
  5. https://github.com/leejet/stable-diffusion.cpp
    comment by khimaros · 2026-01-19 · in Flux 2 Klein pure C inference
  6. …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
  7. …One way to run it is with ComfyUI https://www.comfy.org/ Or you can try https://github.com/leejet/stable-diffusion.cpp
  8. (Not tested) though apparently it already exists: https://github.com/leejet/stable-diffusion.cpp/wiki/How-to-U...
  9. Try https://github.com/leejet/stable-diffusion.cpp
  10. …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++
  11. 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++