aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sd_models.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo: checkpoint_alisasesAarni Koskela2023-07-081-5/+6
|
* added torch.mps.empty_cache() to torch_gc()AUTOMATIC11112023-07-081-1/+0
| | | | changed a bunch of places that use torch.cuda.empty_cache() to use torch_gc() instead
* send tensors to the correct device when loading from safetensors file with ↵AUTOMATIC2023-06-271-1/+3
| | | | memmap disabled for #11260
* Merge pull request #11260 from dhwz/devAUTOMATIC11112023-06-271-2/+5
|\ | | | | fix very slow loading speed of .safetensors files
| * fix very slow loading speed of .safetensors filesdhwz2023-06-161-2/+5
| |
* | Use os.makedirs(..., exist_ok=True)Aarni Koskela2023-06-131-2/+1
|/
* assign devices.dtype early because it's needed before the model is loadedAUTOMATIC2023-06-011-2/+0
|
* Merge pull request #10739 from linkoid/fix-ui-debug-mode-exitAUTOMATIC11112023-05-271-7/+8
|\ | | | | Fix --ui-debug-mode exit
| * Show full traceback in get_sd_model()linkoid2023-05-261-1/+1
| | | | | | | | to reveal if an error is caused by an extension
| * Remove exit() from select_checkpoint()linkoid2023-05-261-6/+7
| | | | | | | | Raising a FileNotFoundError instead.
* | custom unet supportAUTOMATIC2023-05-271-1/+3
|/
* option to pad prompt/neg prompt to be same lengthAUTOMATIC2023-05-211-0/+5
|
* Deduplicate webui.py initial-load/reload codeAarni Koskela2023-05-191-1/+0
|
* 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.