mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-01-25 16:58:04 -05:00
This commit fixes bugs related to the on-the-fly conversion and loading of legacy checkpoint models built on SD-2.0 base. - When legacy checkpoints built on SD-2.0 models were converted on-the-fly using --ckpt_convert, generation would crash with a precision incompatibility error. - In addition, broken logic was causing some 2.0-derived ckpt files to be converted into diffusers and then processed through the legacy generation routines - not good.