InvokeAI/invokeai/backend
psychedelicious eb6e6548ed feat(mm): faster hashing for spinning disk HDDs
BLAKE3 has poor performance on spinning disks when parallelized. See https://github.com/BLAKE3-team/BLAKE3/issues/31

- Replace `skip_model_hash` setting with `hashing_algorithm`. Any algorithm we support is accepted.
- Add `random` algorithm: hashes a UUID with BLAKE3 to create a random "hash". Equivalent to the previous skip functionality.
- Add `blake3_single` algorithm: hashes on a single thread using BLAKE3, fixes the aforementioned performance issue
- Update model probe to accept the algorithm to hash with as an optional arg, defaulting to `blake3`
- Update all calls of the probe to use the app's configured hashing algorithm
- Update an external script that probes models
- Update tests
- Move ModelHash into its own module to avoid circuclar import issues
2024-03-14 15:54:42 +11:00
..
embeddings Tidy names and locations of modules 2024-03-01 10:42:33 +11:00
image_util chore: cleanup DepthAnything code 2024-03-13 20:35:52 +05:30
install Run ruff 2024-03-11 15:53:00 -04:00
ip_adapter final tidying before marking PR as ready for review 2024-03-01 10:42:33 +11:00
model_hash feat(mm): faster hashing for spinning disk HDDs 2024-03-14 15:54:42 +11:00
model_manager feat(mm): faster hashing for spinning disk HDDs 2024-03-14 15:54:42 +11:00
onnx final tidying before marking PR as ready for review 2024-03-01 10:42:33 +11:00
stable_diffusion Update l2i invoke and seamless to support AutoencoderTiny, remove attention processors if no mid_block is detected 2024-03-12 12:00:24 -04:00
tiles feat(nodes): extract LATENT_SCALE_FACTOR to constants.py 2024-03-01 10:42:33 +11:00
training Run ruff 2024-03-08 15:36:14 -05:00
util tidy(mm): remove convenience methods from high level model manager service 2024-03-07 10:56:59 +11:00
__init__.py consolidate model manager parts into a single class 2024-03-01 10:42:33 +11:00
lora.py final tidying before marking PR as ready for review 2024-03-01 10:42:33 +11:00
model_patcher.py chore: ruff 2024-03-01 10:42:33 +11:00
raw_model.py final tidying before marking PR as ready for review 2024-03-01 10:42:33 +11:00
textual_inversion.py final tidying before marking PR as ready for review 2024-03-01 10:42:33 +11:00