InvokeAI/ldm/dream/generator
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 Refactoring simplet2i (#387) 2022-09-05 20:40:10 -04:00
base.py Replace --full_precision with --precision that works even if not specified 2022-09-20 17:08:00 -04:00
embiggen.py Replace --full_precision with --precision that works even if not specified 2022-09-20 17:08:00 -04:00
img2img.py Replace --full_precision with --precision that works even if not specified 2022-09-20 17:08:00 -04:00
inpaint.py Replace --full_precision with --precision that works even if not specified 2022-09-20 17:08:00 -04:00
txt2img.py Replace --full_precision with --precision that works even if not specified 2022-09-20 17:08:00 -04:00