InvokeAI/scripts
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
..
configure_invokeai.py chore: ruff format 2023-11-11 10:55:40 +11:00
generate_openapi_schema.py feat(scripts): add script to generate openapi schema 2024-03-07 10:16:44 +11:00
generate_profile_graphs.sh feat: add profiler util (#5601) 2024-01-31 10:51:57 +00:00
images2prompt.py isort wip 2 2023-09-12 13:01:58 -04:00
invokeai-cli.py isort wip 2 2023-09-12 13:01:58 -04:00
invokeai-model-install.py remove additional unused scripts 2023-09-02 10:05:29 -04:00
invokeai-web.py isort wip 2 2023-09-12 13:01:58 -04:00
make_models_markdown_table.py isort wip 2 2023-09-12 13:01:58 -04:00
probe-model.py feat(mm): faster hashing for spinning disk HDDs 2024-03-14 15:54:42 +11:00
pypi_helper.py Apply black 2023-07-27 10:54:01 -04:00
scan_models_directory.py chore: ruff check - fix flake8-comprensions 2023-11-11 10:55:23 +11:00
sd-metadata.py isort wip 2 2023-09-12 13:01:58 -04:00
update_config_docstring.py scripts: add script to update config docstring 2024-03-08 16:31:39 -05:00