InvokeAI/ldm
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
..
data prettified all the code using "blue" at the urging of @tildebyte 2022-08-26 03:15:42 -04:00
dream Replace --full_precision with --precision that works even if not specified 2022-09-20 17:08:00 -04:00
gfpgan implementation of RFC #266 (#587) 2022-09-16 13:09:04 -04:00
models Refactor generate.py and dream.py (#534) 2022-09-14 07:02:31 -04:00
modules Enable even larger images with one simple torch.nn.functional.silu import (#653) 2022-09-17 18:03:52 -04:00
restoration/codeformer Add .gitkeep to the weights folder 2022-09-18 20:35:05 -04:00
generate.py Replace --full_precision with --precision that works even if not specified 2022-09-20 17:08:00 -04:00
lr_scheduler.py prettified all the code using "blue" at the urging of @tildebyte 2022-08-26 03:15:42 -04:00
simplet2i.py Disabled debug output (#436) 2022-09-11 22:34:35 -04:00
util.py prettified all the code using "blue" at the urging of @tildebyte 2022-08-26 03:15:42 -04:00