InvokeAI/ldm/dream
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
..
generator Replace --full_precision with --precision that works even if not specified 2022-09-20 17:08:00 -04:00
args.py Replace --full_precision with --precision that works even if not specified 2022-09-20 17:08:00 -04:00
conditioning.py Fix token display when using -t 2022-09-18 21:25:27 -04:00
devices.py Replace --full_precision with --precision that works even if not specified 2022-09-20 17:08:00 -04:00
image_util.py optionally scale initial image to fit box defined by width x height 2022-09-01 00:52:43 -04:00
log.py create ldm.dream.log 2022-09-20 16:54:50 -04:00
pngwriter.py fix crash on second prompt #636 2022-09-17 00:57:35 -04:00
readline.py Support color correction for img2img and inpainting (#613) 2022-09-18 09:47:57 -04:00
server.py add sd-metadata metadata_loads() and metadata_dumps() functions 2022-09-17 13:28:37 -04:00