aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sd_models.py
Commit message (Collapse)AuthorAgeFilesLines
...
* if sd_model is None, do not always try to load itAUTOMATIC2023-05-181-1/+6
|
* move some settings to the new Optimization pageAUTOMATIC2023-05-171-16/+20
| | | | | | add slider for token merging for img2img rework StableDiffusionProcessing to have the token_merging_ratio field fix a bug with applying png optimizations for live previews when they shouldn't be applied
* Merge pull request #10451 from dennissheng/masterAUTOMATIC11112023-05-171-1/+0
|\ | | | | not clear checkpoints cache when config changes
| * not clear checkpoints cache when config changesdennissheng2023-05-171-1/+0
| |
* | fix model loading twice in some situationsAUTOMATIC2023-05-141-0/+3
| |
* | heavily simplifypapuSpartan2023-05-131-7/+4
| |
* | Merge branch 'dev' of ↵papuSpartan2023-05-121-12/+9
|\ \ | | | | | | | | | https://github.com/AUTOMATIC1111/stable-diffusion-webui into tomesd
| * | Autofix Ruff W (not W605) (mostly whitespace)Aarni Koskela2023-05-111-2/+2
| | |
| * | F401 fixes for ruffAUTOMATIC2023-05-101-3/+1
| | |
| * | imports cleanup for ruffAUTOMATIC2023-05-101-1/+1
| | |
| * | autofixes from ruffAUTOMATIC2023-05-101-3/+3
| |/
| * Fix up string formatting/concatenation to f-strings where feasibleAarni Koskela2023-05-091-2/+2
| |
* | resolve merge conflicts and swap to dev branch for nowpapuSpartan2023-05-031-14/+49
|\|
| * do not load wait for shared.sd_model to load at startupAUTOMATIC2023-05-021-14/+40
| |
| * Embed model merge metadata in .safetensors filespace-nuko2023-04-021-1/+10
| |
* | Update sd_models.pypapuSpartan2023-04-101-1/+0
| |
* | Allow different merge ratios to be used for each pass. Make toggle cmd flag ↵papuSpartan2023-04-041-1/+28
| | | | | | | | work again. Remove ratio flag. Remove warning about controlnet being incompatible
* | Transition to using settings through UI instead of cmd line args. Added ↵papuSpartan2023-04-021-7/+0
| | | | | | | | feature to only apply to hr-fix. Install package using requirements_versions.txt
* | delay importpapuSpartan2023-04-011-1/+1
| |
* | firstpapuSpartan2023-04-011-0/+8
|/
* sort hypernetworks and checkpoints by nameAUTOMATIC2023-03-281-1/+1
|
* Merge pull request #8958 from MrCheeze/variations-modelAUTOMATIC11112023-03-281-0/+8
|\ | | | | Add support for the unclip (Variations) models, unclip-h and unclip-l
| * overwrite xformers in the unclip model config if not availableMrCheeze2023-03-261-0/+3
| |
| * Add support for the Variations models (unclip-h and unclip-l)MrCheeze2023-03-261-0/+5
| |
* | Merge pull request #8780 from Brawlence/masterAUTOMATIC11112023-03-251-1/+21
|\ \ | | | | | | Unload and re-load checkpoint to VRAM on request (API & Manual)
| * | Unload checkpoints on RequestΦφ2023-03-211-1/+21
| |/ | | | | | | | | | | | | …to free VRAM. New Action buttons in the settings to manually free and reload checkpoints, essentially juggling models between RAM and VRAM.
* / fix variable typocarat-johyun2023-03-231-2/+2
|/
* fix an error loading Lora with empty values in metadataAUTOMATIC2023-03-141-1/+1
|
* Add view metadata button for Lora cards.AUTOMATIC2023-03-141-0/+24
|
* when existsw-e-w2023-02-191-1/+1
|
* fix auto sd download issuew-e-w2023-02-191-1/+7
|
* Add ".vae.ckpt" to ext_blacklistmissionfloyd2023-02-161-1/+1
|
* Download model if none are foundmissionfloyd2023-02-151-1/+1
|
* make it possible to load SD1 checkpoints without CLIPAUTOMATIC2023-02-051-1/+5
|
* fix issue with switching back to checkpoint that had its checksum calculated ↵AUTOMATIC2023-02-041-2/+3
| | | | during runtime mentioned in #7506
* Merge pull request #7470 from ↵AUTOMATIC11112023-02-041-1/+1
|\ | | | | | | | | cbrownstein-lambda/update-error-message-no-checkpoint Update error message WRT missing checkpoint file
| * Update error message WRT missing checkpoint fileCody Brownstein2023-02-011-1/+1
| | | | | | | | The Safetensors format is also supported.
* | add --no-hashingAUTOMATIC2023-02-041-0/+3
|/
* support for searching subdirectory names for extra networksAUTOMATIC2023-01-291-0/+1
|
* fixed a bug where after switching to a checkpoint with unknown hash, you'd ↵AUTOMATIC2023-01-281-3/+1
| | | | | | get empty space instead of checkpoint name in UI fixed a bug where if you update a selected checkpoint on disk and then restart the program, a different checkpoint loads, but the name is shown for the the old one.
* add data-dir flag and set all user data directories based on itMax Audron2023-01-271-3/+3
|
* support detecting midas modelAUTOMATIC2023-01-271-5/+5
| | | | fix broken api for checkpoint list
* remove the need to place configs near modelsAUTOMATIC2023-01-271-115/+113
|
* Merge pull request #6510 from brkirch/unet16-upcast-precisionAUTOMATIC11112023-01-251-0/+10
|\ | | | | Add upcast options, full precision sampling from float16 UNet and upcasting attention for inference using SD 2.1 models without --no-half
| * Add option for float32 sampling with float16 UNetbrkirch2023-01-251-0/+10
| | | | | | | | This also handles type casting so that ROCm and MPS torch devices work correctly without --no-half. One cast is required for deepbooru in deepbooru_model.py, some explicit casting is required for img2img and inpainting. depth_model can't be converted to float16 or it won't work correctly on some systems (it's known to have issues on MPS) so in sd_models.py model.depth_model is removed for model.half().
* | Add instruct-pix2pix hijackKyle2023-01-251-1/+11
|/ | | | | | Allows loading instruct-pix2pix models via same method as inpainting models in sd_models.py and sd_hijack_ip2p.py Adds ddpm_edit.py necessary for instruct-pix2pix
* bring back short hashes to sd checkpoint selectionAUTOMATIC2023-01-191-4/+11
|
* fix bug with "Ignore selected VAE for..." option completely disabling VAE ↵AUTOMATIC2023-01-141-3/+3
| | | | | | election rework VAE resolving code to be more simple
* load hashes from cache for checkpoints that have themAUTOMATIC2023-01-141-3/+6
| | | | add checkpoint hash to footer
* update key to use with checkpoints' sha256 in cacheAUTOMATIC2023-01-141-1/+1
|