Anthrapper / On-Device-Stable-Diffusion

On Device Stable Diffusion In Mobile Devices
MIT License
50 stars 12 forks source link

Sdxl #2

Open KintCark opened 7 months ago

KintCark commented 7 months ago

Hey can u please add stable diffusion sdxl and 1.5 these are the best versions of Stable Diffusion I like this needs more sd 1.4 models from civitai and but if u can please make an local sdxl Diffusion app please I really want to use sdxl offline:)

KintCark commented 7 months ago

Also make it where we can add different models

Anthrapper commented 7 months ago

Also make it where we can add different models

In this project, I utilized Keras' implementation of the Stable Diffusion 1.4 model as a proof of concept for On-Device Stable-Diffusion. Given the computational constraints of mobile devices, employing the SDXL model may not be feasible (though quantized models might work). To attempt running the SDXL model, you will have to convert the models into mobile-friendly formats such as TFlite or ONNX. Then, select a suitable scheduling algorithm and implement it in Dart. Both of these processes are time-consuming and challenging. Note that, if your objective is just local inference on a PC, there are numerous repositories available for such purposes