InvokeAI/invokeai/backend
Lincoln Stein c87497fd54
record model_variant in t2i and clip_vision configs (#5989)
- Move base of t2i and clip_vision config models to DiffusersBase, which contains
  a field to record the model variant (e.g. "fp16")
- This restore the ability to load fp16 t2i and clip_vision models
- Also add defensive coding to load the vanilla model when the fp16 model
  has been replaced (or more likely, user's preferences changed since installation)

Co-authored-by: Lincoln Stein <lstein@gmail.com>
2024-03-19 20:14:12 +00:00
..
embeddings Tidy names and locations of modules 2024-03-01 10:42:33 +11:00
image_util tidy(config): move a few get_config calls to inside the functions where they are needed 2024-03-19 09:24:28 +11:00
install tidy: "check_root.py" -> "check_directories.py" 2024-03-19 09:24:28 +11:00
ip_adapter final tidying before marking PR as ready for review 2024-03-01 10:42:33 +11:00
model_hash tidy(mm): remove misplaced comment 2024-03-14 15:54:42 +11:00
model_manager record model_variant in t2i and clip_vision configs (#5989) 2024-03-19 20:14:12 +00:00
onnx final tidying before marking PR as ready for review 2024-03-01 10:42:33 +11:00
stable_diffusion fix(config): use new get_config across the app, use correct settings 2024-03-19 09:24:28 +11:00
tiles feat(nodes): extract LATENT_SCALE_FACTOR to constants.py 2024-03-01 10:42:33 +11:00
training fix(config): use correct config in textual_inversion_training 2024-03-19 09:24:28 +11:00
util partially address --root CLI argument handling 2024-03-19 09:24:28 +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