aboutsummaryrefslogtreecommitdiff
path: root/modules/sd_models.py
AgeCommit message (Collapse)Author
2022-10-19fix for broken checkpoint mergerAUTOMATIC
2022-10-19more careful loading of model weights (eliminates some issues with ↵AUTOMATIC
checkpoints that have weird cond_stage_model layer names)
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
2022-10-09fixed incorrect message about loading config; thanks anon!AUTOMATIC
2022-10-09make main model loading and model merger use the same codeAUTOMATIC
2022-10-08support loading .yaml config with same name as modelAUTOMATIC
support EMA weights in processing (????)
2022-10-08chore: Fix typosAidan Holland
2022-10-08fix: handles when state_dict does not existleko
2022-10-07support loading VAEAUTOMATIC
2022-10-02emergency fix for disabling SD model download after multiple complaintsAUTOMATIC
2022-10-02disabled SD model download after multiple complaintsAUTOMATIC
2022-10-02fix --ckpt option breaking model selectionAUTOMATIC
2022-10-02initial support for training textual inversionAUTOMATIC
2022-09-30if --ckpt option is specified, load that modelAUTOMATIC
2022-09-30revert the annotation not supported by old pythonsAUTOMATIC
2022-09-30remove unwanted formatting/functionality from the PRAUTOMATIC
2022-09-30fix bugs in the PRAUTOMATIC
2022-09-30Merge pull request #1109 from d8ahazard/ModelLoaderAUTOMATIC1111
Model Loader, Fixes
2022-09-30return shortest checkpoint title matchDepFA
2022-09-30add get_closet_checkpoint_matchDepFA
2022-09-29Merge remote-tracking branch 'upstream/master' into ModelLoaderd8ahazard
2022-09-29Holy $hit.d8ahazard
Yep. Fix gfpgan_model_arch requirement(s). Add Upscaler base class, move from images. Add a lot of methods to Upscaler. Re-work all the child upscalers to be proper classes. Add BSRGAN scaler. Add ldsr_model_arch class, removing the dependency for another repo that just uses regular latent-diffusion stuff. Add one universal method that will always find and load new upscaler models without having to add new "setup_model" calls. Still need to add command line params, but that could probably be automated. Add a "self.scale" property to all Upscalers so the scalers themselves can do "things" in response to the requested upscaling size. Ensure LDSR doesn't get stuck in a longer loop of "upscale/downscale/upscale" as we try to reach the target upscale size. Add typehints for IDE sanity. PEP-8 improvements. Moar.
2022-09-29fix for incorrect model weight loading for #814AUTOMATIC
2022-09-29remove unneded debug printAUTOMATIC
2022-09-29update lists of models after merging them in checkpoints tabAUTOMATIC
support saving as half
2022-09-27-Add gradio dropdown list to select checkpoints to mergeBernard Maltais
-Update the name of the model feilds -Update the associated variable names
2022-09-27Use model loader with stable-diffusion too.d8ahazard
Hook the model loader into the SD_models file. Add default url/download if checkpoint is not found. Add matching stablediffusion-models-path argument. Add message that --ckpt-dir will be removed in the future, but have it pipe to stablediffusion-models-path for now. Update help strings for models-path args so they're more or less uniform. Move sd_model "setup" call to webUI with the others. Ensure "cleanup_models" method moves existing models to the new locations, including SD, and that we aren't deleting folders that still have stuff in them.
2022-09-18display a more informative message when a checkpoint is not foundAUTOMATIC
2022-09-17X/Y plot support for switching checkpoints.AUTOMATIC
2022-09-17add support for switching model checkpoints at runtimeAUTOMATIC