InvokeAI/invokeai/backend/model_manager/load
Lincoln Stein 3d6d89feb4
[mm] Do not write diffuser model to disk when convert_cache set to zero (#6072)
* pass model config to _load_model

* make conversion work again

* do not write diffusers to disk when convert_cache set to 0

* adding same model to cache twice is a no-op, not an assertion error

* fix issues identified by psychedelicious during pr review

* following conversion, avoid redundant read of cached submodels

* fix error introduced while merging

---------

Co-authored-by: Lincoln Stein <lstein@gmail.com>
2024-03-29 16:11:08 -04:00
..
convert_cache [mm] Do not write diffuser model to disk when convert_cache set to zero (#6072) 2024-03-29 16:11:08 -04:00
model_cache [mm] Do not write diffuser model to disk when convert_cache set to zero (#6072) 2024-03-29 16:11:08 -04:00
model_loaders [mm] Do not write diffuser model to disk when convert_cache set to zero (#6072) 2024-03-29 16:11:08 -04:00
__init__.py chore: ruff 2024-03-01 10:42:33 +11:00
load_base.py [mm] Do not write diffuser model to disk when convert_cache set to zero (#6072) 2024-03-29 16:11:08 -04:00
load_default.py [mm] Do not write diffuser model to disk when convert_cache set to zero (#6072) 2024-03-29 16:11:08 -04:00
memory_snapshot.py final tidying before marking PR as ready for review 2024-03-01 10:42:33 +11:00
model_loader_registry.py Experiment with using absolute paths within model management 2024-03-08 15:36:14 -05:00
model_util.py make model manager v2 ready for PR review 2024-03-01 10:42:33 +11:00
optimizations.py final tidying before marking PR as ready for review 2024-03-01 10:42:33 +11:00