InvokeAI/invokeai/backend/generator
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
..
__init__.py Remove more old logic 2023-06-19 15:57:28 +10:00
base.py Mac MPS FP16 fixes (#3641) 2023-07-07 17:43:23 -04:00
img2img.py Mac MPS FP16 fixes 2023-07-04 18:10:53 -04:00
inpaint.py Union[foo, None]=>Optional[foo] 2023-07-03 12:17:45 -04:00