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

feat: add prediction argument

Open daniandtheweb opened this issue 6 months ago • 0 comments

This PR adresses the issue https://github.com/leejet/stable-diffusion.cpp/issues/325 by adding an argument to force a specific prediction mode.

Some experimental models (such as EasyFluff and similar models) may introduce different prediction modes from what's expected (Stable Diffusion 1.5 uses EPS but in this case the mentioned model uses v-predict) and this change allows using them correctly by manually adjusting the prediction type.

daniandtheweb avatar Aug 07 '24 03:08 daniandtheweb