InvokeAI/server
Mihail Dumitrescu d176fb07cd Replace --full_precision with --precision that works even if not specified
Allowed values are 'auto', 'float32', 'autocast', 'float16'. If not specified or 'auto' a working precision is automatically selected based on the torch device.
Context: #526
Deprecated --full_precision / -F

Tested on both cuda and cpu by calling scripts/dream.py without arguments and checked the auto configuration worked. With --precision=auto/float32/autocast/float16 it performs as expected, either working or failing with a reasonable error. Also checked Img2Img.
2022-09-20 17:08:00 -04:00
..
__init__.py React web UI with flask-socketio API (#429) 2022-09-16 13:18:15 -04:00
application.py Replace --full_precision with --precision that works even if not specified 2022-09-20 17:08:00 -04:00
containers.py Replace --full_precision with --precision that works even if not specified 2022-09-20 17:08:00 -04:00
models.py Merge with PR #602 2022-09-16 16:35:34 -04:00
services.py Merge with PR #602 2022-09-16 16:35:34 -04:00
views.py Merge with PR #602 2022-09-16 16:35:34 -04:00