InvokeAI/invokeai/backend/stable_diffusion
Lincoln Stein 10d3bccf32
Mac MPS FP16 fixes (#3641)
This PR is to allow FP16 precision to work on Macs with MPS. In
addition, it centralizes the torch fixes/workarounds required for MPS
into a new backend utility `mps_fixes.py`. This is conditionally
imported in `api_app.py`/`cli_app.py`.

Many MANY thanks to @StAlKeR7779 for patiently working to debug and fix
these issues.
2023-07-07 17:43:23 -04:00
..
diffusion Mac MPS FP16 fixes 2023-07-04 18:10:53 -04:00
image_degradation rename log to logger throughout 2023-04-29 09:43:40 -04:00
schedulers Add dpmpp_sde and dpmpp_2m_sde schedulers(with karras) 2023-06-18 23:38:15 +03:00
__init__.py Remove more old logic 2023-06-19 15:57:28 +10:00
diffusers_pipeline.py Mac MPS FP16 fixes (#3641) 2023-07-07 17:43:23 -04:00
offloading.py restore 3.9 compatibility by replacing | with Union[] 2023-07-03 10:57:40 -04:00