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. ▲ 1
    Show HN: Gosd: High-performance Stable Diffusion inference in pure Go(no CGO)
    story by krakato · 2026-05-07 · 0 comments
  6. https://github.com/leejet/stable-diffusion.cpp
    comment by khimaros · 2026-01-19 · in Flux 2 Klein pure C inference
  7. …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
  8. …One way to run it is with ComfyUI https://www.comfy.org/ Or you can try https://github.com/leejet/stable-diffusion.cpp
  9. (Not tested) though apparently it already exists: https://github.com/leejet/stable-diffusion.cpp/wiki/How-to-U...
  10. Try https://github.com/leejet/stable-diffusion.cpp
  11. ▲ 87
    Show HN: Offline sketch to image geneartor in a whiteboard
    story by arctanx · 2024-05-26 · 22 comments
  12. …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++
  13. 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++
  14. ▲ 303
    Stable Diffusion in C/C++
    story by kikalo00 · 2023-08-19 · 115 comments
  15. ▲ 3
    Stable Diffusion in pure C/C++
    story by tim_sw · 2023-08-16 · 0 comments
  16. ▲ 2
    Stable-Diffusion.cpp
    story by carbocation · 2023-08-16 · 1 comment