stable-diffusion.cpp icon indicating copy to clipboard operation
stable-diffusion.cpp copied to clipboard

TTI(Text 2 Image) inference using stable-diffusion.cpp doesn't work properly on Android phone

Open jeffzhou2000 opened this issue 1 year ago • 2 comments

The Project stable-diffusion.cpp is excellent and thanks for your amazing stable-diffusion.cpp. I want to utilize the stable-diffusion.cpp as TTI(Text 2 Image) engine in my learning project.

TTI(Text 2 Image) inference using stable-diffusion.cpp doesn't work properly on Android phone currently https://github.com/zhouwg/kantv/blob/master/core/ggml/stablediffusioncpp/model.cpp#L773

https://github.com/zhouwg/kantv/blob/master/core/ggml/stablediffusioncpp/stable-diffusion.cpp#L189

I found that GGML's internal / GGML API changes quickly/frequently. could you help to merge upstream GGML source code to stable-diffusion.cpp?

thanks for your time and thanks so much.

jeffzhou2000 avatar May 19 '24 08:05 jeffzhou2000

The repo uses ggml @ 57869ad, you should not use the latest version of ggml

GainLee avatar May 21 '24 02:05 GainLee

The repo uses ggml @ 57869ad, you should not use the latest version of ggml

thanks for you comment and thanks for your time.

I see. but the whisper.cpp and llama.cpp couldn't works with ggml @ 57869ad . the whisper.cpp and llama.cpp only works with the latest ggml cause of internal codes of llama.cpp and API of ggml library changs quickly and frequently.

btw, is there any plan to implement StableDiffustion using NCNN?

jeffzhou2000 avatar May 21 '24 02:05 jeffzhou2000