aboutsummaryrefslogtreecommitdiff
path: root/modules/sd_hijack_unet.py
AgeCommit message (Collapse)Author
2023-07-18Add support for `--upcast-sampling` with SD XLbrkirch
2023-05-09Fix up string formatting/concatenation to f-strings where feasibleAarni Koskela
2023-03-24Update sd_hijack_unet.pyFNSpd
2023-03-21Update sd_hijack_unet.pyFNSpd
2023-02-07Apply hijacks in ddpm_edit for upcast samplingbrkirch
To avoid import errors, ddpm_edit hijacks are done after an instruct pix2pix model is loaded.
2023-01-28Refactor conditional casting, fix upscalersbrkirch
2023-01-25fix for unet hijack breaking the train tabAUTOMATIC
2023-01-25Add option for float32 sampling with float16 UNetbrkirch
This also handles type casting so that ROCm and MPS torch devices work correctly without --no-half. One cast is required for deepbooru in deepbooru_model.py, some explicit casting is required for img2img and inpainting. depth_model can't be converted to float16 or it won't work correctly on some systems (it's known to have issues on MPS) so in sd_models.py model.depth_model is removed for model.half().
2022-12-14Fix various typosJim Hays
2022-12-10do not replace entire unet for the resolution hackAUTOMATIC