InvokeAI/invokeai/backend/model_manager
Lincoln Stein a72056e0df make model key assignment deterministic
- When installing, model keys are now calculated from the model contents.
- .safetensors, .ckpt and other single file models are hashed with sha1
- The contents of diffusers directories are hashed using imohash (faster)

fixup yaml->sql db migration script to assign deterministic key

- this commit also detects and assigns the correct image encoder for
  ip adapter models.
2024-03-03 14:32:14 +11:00
..
load chore: ruff 2024-03-01 10:42:33 +11:00
metadata chore: ruff 2024-03-01 10:42:33 +11:00
util final tidying before marking PR as ready for review 2024-03-01 10:42:33 +11:00
__init__.py chore: ruff 2024-03-01 10:42:33 +11:00
config.py chore: ruff 2024-03-01 10:42:33 +11:00
convert_ckpt_to_diffusers.py chore: ruff 2024-03-01 10:42:33 +11:00
hash.py make model key assignment deterministic 2024-03-03 14:32:14 +11:00
libc_util.py Tidy names and locations of modules 2024-03-01 10:42:33 +11:00
merge.py remove startup dependency on legacy models.yaml file 2024-03-01 10:42:33 +11:00
probe.py Fix problem of all installed models being assigned "<NOKEY>" 2024-02-29 22:31:05 -05:00
search.py chore: ruff 2024-03-01 10:42:33 +11:00