Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix full previews, --no-half-vae | brkirch | 2023-01-26 | 1 | -1/+1 |
| | |||||
* | Add option for float32 sampling with float16 UNet | brkirch | 2023-01-25 | 1 | -0/+28 |
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(). |