Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Stable Diffusion image generators #229

Open
kreely opened this issue Jan 25, 2024 · 3 comments
Open

Support for Stable Diffusion image generators #229

kreely opened this issue Jan 25, 2024 · 3 comments

Comments

@kreely
Copy link

kreely commented Jan 25, 2024

Since these llava files contain.. everything needed for using Wizard Coder, Rocket, etc....

How possible would it be to create a llava file that contained the needed model files and the Python interpreter and libraries to run something like Stable Diffusion.... or image generation packages similar to Stable Diffusion??

This would be pretty amazing, though putting an image generator in the hands of anyone able to download a single cross-platform executable does make me pause a moment.... it could be used quite unethically. There is a similar risk with Open Source tools and these LLM executables anyway..... Thinking out loud.

@jart
Copy link
Collaborator

jart commented Jan 27, 2024

It'd be nice to have an easier way to generate cat photos on the command line. One project we could use is https://github.com/leejet/stable-diffusion.cpp They appear to depend on GGML but they don't have GPU support yet leejet/stable-diffusion.cpp#6 It's only been in recent months that the CLIP code for LLaVA in llama.cpp gained GPU accelleration. Hey @FSSRepo what would you recommend for us, if we want image generation on llama.cpp w/ gpu?

@FSSRepo
Copy link

FSSRepo commented Jan 27, 2024

I also intended to use that stable diffusion project with flame.cpp and create something like ChatGPT + DALLE-3, but the truth is that the prompt generation quality of the models I've tried leaves much to be desired. Also, let me clarify that stable diffusion.cpp has GPU support; please read the README

@liar666
Copy link

liar666 commented Dec 11, 2024

Hi,
Thanks for the work.

I've seen that there are "Stable Diffusion" and "Whisper" subdirs in the code:
https://github.com/Mozilla-Ocho/llamafile/tree/main/stable-diffusion.cpp
https://github.com/Mozilla-Ocho/llamafile/tree/main/whisper.cpp

But there's no documentation (neither in main README nor in subdirs README) on how to make a .llamafile of them.

Is it possible? How?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants