ramalama icon indicating copy to clipboard operation
ramalama copied to clipboard

Gen AI models (stable diffusion)

Open jtligon opened this issue 1 year ago • 8 comments

I would like a way to generate images locally using Stable Diffusion-esqe models.

ramalama serve --name stable-diffusion stable-diffusion

have it download a specified model, the allow me to ask the model for something and generate an image.

Would love to discuss the interface/tui/flow of this more with the team!

jtligon avatar Oct 22 '24 15:10 jtligon

https://diffusionbee.com/ an example of a similar tool

ericcurtin avatar Oct 22 '24 15:10 ericcurtin

This might be the best tool to look into to start as it uses the same library as llama.cpp:

https://github.com/leejet/stable-diffusion.cpp

GGML

ericcurtin avatar Nov 11 '24 22:11 ericcurtin

Here's a UI for it:

https://jellybox.com/

ericcurtin avatar Nov 11 '24 23:11 ericcurtin

Is this something we care about or is llama.cpp need to get this functionality so we can take advantage?

rhatdan avatar Apr 07 '25 19:04 rhatdan

I don't expect llama.cpp to ever get this functionality, it's like whisper.cpp just another different form of AI inferencing

Although all three of these projects use ggml llama.cpp, whisper.cpp, stable-diffusion.cpp

ericcurtin avatar Apr 07 '25 21:04 ericcurtin

Should stable-diffusion be considered a runtime then?

rhatdan avatar Apr 08 '25 12:04 rhatdan

Yes

jtligon avatar Apr 08 '25 12:04 jtligon

PR to add stable-diffusion.cpp, one issue will be command line and how much disk space this adds. Could be added as a separate image if it is too big. Would be nice if it has same or similar CLI to llama-serve.

rhatdan avatar Apr 08 '25 13:04 rhatdan

@jtligon interested in working on this?

rhatdan avatar Jul 22 '25 13:07 rhatdan

sure, I'll take it and start on it this week

jtligon avatar Jul 22 '25 13:07 jtligon

/assign

jtligon avatar Jul 22 '25 18:07 jtligon

A friendly reminder that this issue had no activity for 30 days.

github-actions[bot] avatar Aug 28 '25 00:08 github-actions[bot]

@jtligon do you still consider this issue open?

rhatdan avatar Sep 04 '25 11:09 rhatdan

I'd say #1769 closed it. I wanted to do a cool /closed comment, but wasn't sure how.

jtligon avatar Sep 04 '25 11:09 jtligon