aboutsummaryrefslogtreecommitdiff
path: root/modules/sd_models.py
AgeCommit message (Collapse)Author
2022-11-28make it possible to save nai model using safetensorsAUTOMATIC
2022-11-27add safetensors support for model merging #4869AUTOMATIC
2022-11-27add safetensors to requirementsAUTOMATIC
2022-11-27Merge pull request #4930 from Narsil/allow_to_load_safetensors_fileAUTOMATIC1111
Supporting `*.safetensors` format.
2022-11-26no-half support for SD 2.0MrCheeze
2022-11-21Supporting `*.safetensors` format.Nicolas Patry
If a model file exists with extension `.safetensors` then we can load it more safely than with PyTorch weights.
2022-11-19Remove no longer necessary parts and add vae_file safeguardMuhammad Rizqi Nur
2022-11-09restore #4035 behaviorcluder
- if checkpoint cache is set to 1, keep 2 models in cache (current +1 more)
2022-11-09- do not use ckpt cache, if disabledcluder
- cache model after is has been loaded from file
2022-11-04fix one of previous merges breaking the programAUTOMATIC
2022-11-04Merge branch 'master' into fix-ckpt-cacheAUTOMATIC1111
2022-11-04fix: loading models without vae from cachedigburn
2022-11-02Merge branch 'master' into fix-ckpt-cacheMuhammad Rizqi Nur
2022-11-02fix #3986 breaking --no-half-vaeAUTOMATIC
2022-11-02Reload VAE without reloading sd checkpointMuhammad Rizqi Nur
2022-11-02Merge branch 'master' into vae-pickerMuhammad Rizqi Nur
2022-11-01Unload sd_model before loading the otherJairo Correa
2022-10-31Fix #4035 for real nowMuhammad Rizqi Nur
2022-10-31Fix #4035Muhammad Rizqi Nur
2022-10-31Checkpoint cache by combination key of checkpoint and vaeMuhammad Rizqi Nur
2022-10-30Settings to select VAEMuhammad Rizqi Nur
2022-10-29Merge pull request #3818 from jwatzman/masterAUTOMATIC1111
Reduce peak memory usage when changing models
2022-10-28Natural sorting for dropdown checkpoint listAntonio
Example: Before After 11.ckpt 11.ckpt ab.ckpt ab.ckpt ade_pablo_step_1000.ckpt ade_pablo_step_500.ckpt ade_pablo_step_500.ckpt ade_pablo_step_1000.ckpt ade_step_1000.ckpt ade_step_500.ckpt ade_step_1500.ckpt ade_step_1000.ckpt ade_step_2000.ckpt ade_step_1500.ckpt ade_step_2500.ckpt ade_step_2000.ckpt ade_step_3000.ckpt ade_step_2500.ckpt ade_step_500.ckpt ade_step_3000.ckpt atp_step_5500.ckpt atp_step_5500.ckpt model1.ckpt model1.ckpt model10.ckpt model10.ckpt model1000.ckpt model33.ckpt model33.ckpt model50.ckpt model400.ckpt model400.ckpt model50.ckpt model1000.ckpt moo44.ckpt moo44.ckpt v1-4-pruned-emaonly.ckpt v1-4-pruned-emaonly.ckpt v1-5-pruned-emaonly.ckpt v1-5-pruned-emaonly.ckpt v1-5-pruned.ckpt v1-5-pruned.ckpt v1-5-vae.ckpt v1-5-vae.ckpt
2022-10-27Reduce peak memory usage when changing modelsJosh Watzman
A few tweaks to reduce peak memory usage, the biggest being that if we aren't using the checkpoint cache, we shouldn't duplicate the model state dict just to immediately throw it away. On my machine with 16GB of RAM, this change means I can typically change models, whereas before it would typically OOM.
2022-10-22call model_loaded_callback after setting shared.sd_model in case scripts ↵AUTOMATIC
refer to it using that
2022-10-22fix aesthetic gradients doing nothing after loading a different modelMrCheeze
2022-10-22removed aesthetic gradients as built-inAUTOMATIC
added support for extensions
2022-10-21loading SD VAE, see PR #3303AUTOMATIC
2022-10-21do not load aesthetic clip model until it's neededAUTOMATIC
add refresh button for aesthetic embeddings add aesthetic params to images' infotext
2022-10-21Merge branch 'ae'AUTOMATIC
2022-10-20XY grid correctly re-assignes model when config changesrandom_thoughtss
2022-10-20Added PLMS hijack and made sure to always replace methodsrandom_thoughtss
2022-10-19Added support for RunwayML inpainting modelrandom_thoughtss
2022-10-19fix for broken checkpoint mergerAUTOMATIC
2022-10-19Merge branch 'master' into test_resolve_conflictsMalumaDev
2022-10-19more careful loading of model weights (eliminates some issues with ↵AUTOMATIC
checkpoints that have weird cond_stage_model layer names)
2022-10-16ui fix, re organization of the codeMalumaDev
2022-10-15Merge branch 'master' into ckpt-cacheAUTOMATIC1111
2022-10-14add checkpoint cache option to UI for faster model switchingRae Fu
switching time reduced from ~1500ms to ~280ms
2022-10-14rework the code for lowram a bitAUTOMATIC
2022-10-14load models to VRAM when using `--lowram` paramLjzd-PRO
load models to VRM instead of RAM (for machines which have bigger VRM than RAM such as free Google Colab server)
2022-10-10no to different messages plus fix using != to compare to NoneAUTOMATIC
2022-10-10Merge pull request #2131 from ssysm/upstream-masterAUTOMATIC1111
Add VAE Path Arguments
2022-10-10change vae loading methodssysm
2022-10-10--no-half-vaeAUTOMATIC
2022-10-09Merge branch 'master' of ↵ssysm
https://github.com/AUTOMATIC1111/stable-diffusion-webui into upstream-master
2022-10-09add vae path argsssysm
2022-10-09change up #2056 to make it work how i want it to plus make xy plot write ↵AUTOMATIC
correct values to images
2022-10-09Added extended model details to infotextWilliam Moorehouse
2022-10-09fix model switching not working properly if there is a different yaml configAUTOMATIC