aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sd_hijack_unet.py
Commit message (Collapse)AuthorAgeFilesLines
* Add support for `--upcast-sampling` with SD XLbrkirch2023-07-181-1/+7
|
* Fix up string formatting/concatenation to f-strings where feasibleAarni Koskela2023-05-091-1/+1
|
* Update sd_hijack_unet.pyFNSpd2023-03-241-1/+1
|
* Update sd_hijack_unet.pyFNSpd2023-03-211-1/+1
|
* Apply hijacks in ddpm_edit for upcast samplingbrkirch2023-02-081-0/+11
| | | | To avoid import errors, ddpm_edit hijacks are done after an instruct pix2pix model is loaded.
* Refactor conditional casting, fix upscalersbrkirch2023-01-281-1/+7
|
* fix for unet hijack breaking the train tabAUTOMATIC2023-01-251-2/+5
|
* Add option for float32 sampling with float16 UNetbrkirch2023-01-251-0/+29
| | | | 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().
* Fix various typosJim Hays2022-12-151-1/+1
|
* do not replace entire unet for the resolution hackAUTOMATIC2022-12-101-0/+30