mirror of
https://github.com/invoke-ai/InvokeAI
synced 2026-04-26 08:42:09 +02:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| cross_attention_control.py | ||
| cross_attention_map_saving.py | ||
| shared_invokeai_diffusion.py | ||