apple / ml-stable-diffusion

Stable Diffusion with Core ML on Apple Silicon
MIT License
16.51k stars 890 forks source link

difference with Webui version #154

Open chienchen0405 opened 1 year ago

chienchen0405 commented 1 year ago

recently i downloaded the webui version in my mac, do i need to delete the webui version and just use this ?

jrittvo commented 1 year ago

This is a set of components that can be used by a full application. Mochi Diffusion is a Stable Diffusion app that is built around these pieces: https://github.com/godly-devotion/MochiDiffusion/releases

Automatic1111's WebUI does not use pieces from here, as far as I know. It depends on torch support for MPS rather than CoreML. Two different ways to use Stable Diffusion.

edenaristo commented 1 year ago

This is a set of components that can be used by a full application. Mochi Diffusion is a Stable Diffusion app that is built around these pieces: https://github.com/godly-devotion/MochiDiffusion/releases

Automatic1111's WebUI does not use pieces from here, as far as I know. It depends on torch support for MPS rather than CoreML. Two different ways to use Stable Diffusion.

So in other words, does it mean that these pieces are for developers to implement on their programs and not users to install?

jrittvo commented 1 year ago

So in other words, does it mean that these pieces are for developers to implement on their programs and not users to install?

Exactly. The app I mentioned above is one that is developed from these pieces. There is another that is available through the App Store, but I don't think it is being actively developed. It was done more as a demo.

https://apps.apple.com/app/diffusers/id1666309574

JustinMeans commented 1 year ago

Indeed, this is a CoreML library for developers to build Stable Diffusion apps. Check out our app which was built with this library:

https://apps.apple.com/lt/app/outtakes/id1594050599

x4080 commented 1 year ago

Is there any samples to run stable diffusion from webui interface? Like i don't know swift as web api server?