InvokeAI/invokeai/backend
Lincoln Stein 3e0fb45dd7
Load single-file checkpoints directly without conversion (#6510)
* use model_class.load_singlefile() instead of converting; works, but performance is poor

* adjust the convert api - not right just yet

* working, needs sql migrator update

* rename migration_11 before conflict merge with main

* Update invokeai/backend/model_manager/load/model_loaders/stable_diffusion.py

Co-authored-by: Ryan Dick <ryanjdick3@gmail.com>

* Update invokeai/backend/model_manager/load/model_loaders/stable_diffusion.py

Co-authored-by: Ryan Dick <ryanjdick3@gmail.com>

* implement lightweight version-by-version config migration

* simplified config schema migration code

* associate sdxl config with sdxl VAEs

* remove use of original_config_file in load_single_file()

---------

Co-authored-by: Lincoln Stein <lstein@gmail.com>
Co-authored-by: Ryan Dick <ryanjdick3@gmail.com>
2024-06-27 17:31:28 -04:00
..
image_util Merge branch 'main' into lstein/feat/simple-mm2-api 2024-05-17 22:54:03 -04:00
ip_adapter Improve RAM<->VRAM memory copy performance in LoRA patching and elsewhere (#6490) 2024-06-13 17:10:03 +00:00
model_hash Run ruff 2024-06-26 21:46:59 +10:00
model_manager Load single-file checkpoints directly without conversion (#6510) 2024-06-27 17:31:28 -04:00
onnx Improve RAM<->VRAM memory copy performance in LoRA patching and elsewhere (#6490) 2024-06-13 17:10:03 +00:00
stable_diffusion Fix handling of init_timestep in StableDiffusionGeneratorPipeline and improve its documentation. 2024-06-26 12:51:51 -04:00
tiles feat(nodes): extract LATENT_SCALE_FACTOR to constants.py 2024-03-01 10:42:33 +11:00
util fix(backend): mps should not use non_blocking 2024-06-27 19:15:23 +10:00
__init__.py consolidate model manager parts into a single class 2024-03-01 10:42:33 +11:00
lora.py fix(backend): mps should not use non_blocking 2024-06-27 19:15:23 +10:00
model_patcher.py ruff format 2024-06-27 09:45:13 -04:00
raw_model.py Improve RAM<->VRAM memory copy performance in LoRA patching and elsewhere (#6490) 2024-06-13 17:10:03 +00:00
textual_inversion.py Improve RAM<->VRAM memory copy performance in LoRA patching and elsewhere (#6490) 2024-06-13 17:10:03 +00:00