InvokeAI/invokeai/backend/generator
gogurtenjoyer 233869b56a Mac MPS FP16 fixes
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 file `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-04 18:10:53 -04:00
..
__init__.py Remove more old logic 2023-06-19 15:57:28 +10:00
base.py Mac MPS FP16 fixes 2023-07-04 18:10:53 -04:00
img2img.py Mac MPS FP16 fixes 2023-07-04 18:10:53 -04:00
inpaint.py Revert "restore 3.9 compatibility by replacing | with Union[]" 2023-07-03 10:56:41 -04:00