InvokeAI/invokeai/backend/util
Millun Atluri 74e644c4ba
Allow bfloat16 to be configurable in invoke.yaml (#5469)
* feat: allow bfloat16 to be configurable in invoke.yaml

* fix: `torch_dtype()` util

- Use `choose_precision` to get the precision string
- Do not reference deprecated `config.full_precision` flat (why does this still exist?), if a user had this enabled it would override their actual precision setting and potentially cause a lot of confusion.

---------

Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
2024-01-12 18:40:37 +00:00
..
__init__.py further changes for ruff 2023-11-26 17:13:31 -05:00
attention.py Apply black, isort, flake8 2023-09-12 13:01:58 -04:00
db_maintenance.py add techjedi's database maintenance script 2023-09-20 17:46:49 -04:00
devices.py Allow bfloat16 to be configurable in invoke.yaml (#5469) 2024-01-12 18:40:37 +00:00
hotfixes.py fix(backend): fix controlnet zip len 2023-11-13 15:45:03 +11:00
log.py Resolving merge conflicts for flake8 2023-08-18 15:52:04 +10:00
logging.py clean up get_logger() call 2023-12-04 22:41:59 -05:00
mps_fixes.py add note about discriminated union and Body() issue; blackified 2023-11-12 16:50:05 -05:00
test_utils.py fix: fix test imports 2023-10-12 12:15:06 -04:00
util.py Merge branch 'main' into refactor/model-manager-2 2023-11-14 07:51:57 +11:00