136 Commits (22bcc7be428c94e9408f589966c2040187245d81)

Author SHA1 Message Date
AUTOMATIC 1b63afbedc sort hypernetworks and checkpoints by name 3 years ago
AUTOMATIC1111 f1db987e6a
Merge pull request #8958 from MrCheeze/variations-model
Add support for the unclip (Variations) models, unclip-h and unclip-l
3 years ago
MrCheeze 1f08600345 overwrite xformers in the unclip model config if not available 3 years ago
MrCheeze 8a34671fe9 Add support for the Variations models (unclip-h and unclip-l) 3 years ago
AUTOMATIC1111 956ed9a737
Merge pull request #8780 from Brawlence/master
Unload and re-load checkpoint to VRAM on request (API & Manual)
3 years ago
carat-johyun 92e173d414 fix variable typo 3 years ago
Φφ 4cbbb881ee Unload checkpoints on Request
…to free VRAM.

New Action buttons in the settings to manually free and reload checkpoints, essentially
juggling models between RAM and VRAM.
3 years ago
AUTOMATIC 6a04a7f20f fix an error loading Lora with empty values in metadata 3 years ago
AUTOMATIC c19530f1a5 Add view metadata button for Lora cards. 3 years ago
w-e-w 014e7323f6 when exists 3 years ago
w-e-w c77f01ff31 fix auto sd download issue 3 years ago
missionfloyd c4ea16a03f Add ".vae.ckpt" to ext_blacklist 3 years ago
missionfloyd 1615f786ee Download model if none are found 3 years ago
AUTOMATIC 668d7e9b9a make it possible to load SD1 checkpoints without CLIP 3 years ago
AUTOMATIC 3e0f9a7543 fix issue with switching back to checkpoint that had its checksum calculated during runtime mentioned in #7506 3 years ago
AUTOMATIC1111 c0e0b5844d
Merge pull request #7470 from cbrownstein-lambda/update-error-message-no-checkpoint
Update error message WRT missing checkpoint file
3 years ago
AUTOMATIC 81823407d9 add --no-hashing 3 years ago
Cody Brownstein fb97acef63 Update error message WRT missing checkpoint file
The Safetensors format is also supported.
3 years ago
AUTOMATIC f6b7768f84 support for searching subdirectory names for extra networks 3 years ago
AUTOMATIC 5d14f282c2 fixed a bug where after switching to a checkpoint with unknown hash, you'd 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.
3 years ago
Max Audron 5eee2ac398 add data-dir flag and set all user data directories based on it 3 years ago
AUTOMATIC 6f31d2210c support detecting midas model
fix broken api for checkpoint list
3 years ago
AUTOMATIC d2ac95fa7b remove the need to place configs near models 3 years ago
AUTOMATIC1111 1574e96729
Merge pull request #6510 from brkirch/unet16-upcast-precision
Add upcast options, full precision sampling from float16 UNet and upcasting attention for inference using SD 2.1 models without --no-half
3 years ago
Kyle ee0a0da324 Add instruct-pix2pix hijack
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
3 years ago
brkirch 84d9ce30cb Add option for float32 sampling with float16 UNet
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().
3 years ago
AUTOMATIC c1928cdd61 bring back short hashes to sd checkpoint selection 3 years ago
AUTOMATIC a5bbcd2153 fix bug with "Ignore selected VAE for..." option completely disabling VAE election
rework VAE resolving code to be more simple
3 years ago
AUTOMATIC 08c6f009a5 load hashes from cache for checkpoints that have them
add checkpoint hash to footer
3 years ago
AUTOMATIC febd2b722e update key to use with checkpoints' sha256 in cache 3 years ago
AUTOMATIC f9ac3352cb change hypernets to use sha256 hashes 3 years ago
AUTOMATIC a95f135308 change hash to sha256 3 years ago
AUTOMATIC 4bd490727e fix for an error caused by skipping initialization, for realsies this time: TypeError: expected str, bytes or os.PathLike object, not NoneType 3 years ago
AUTOMATIC 1a23dc32ac possible fix for fallback for fast model creation from config, attempt 2 3 years ago
AUTOMATIC 4fdacd31e4 possible fix for fallback for fast model creation from config 3 years ago
AUTOMATIC 0f8603a559 add support for transformers==4.25.1
add fallback for when quick model creation fails
3 years ago
AUTOMATIC ce3f639ec8 add more stuff to ignore when creating model from config
prevent .vae.safetensors files from being listed as stable diffusion models
3 years ago
AUTOMATIC 0c3feb202c disable torch weight initialization and CLIP downloading/reading checkpoint to speedup creating sd model from config 3 years ago
Vladimir Mandic 552d7b90bf
allow model load if previous model failed 3 years ago
AUTOMATIC 642142556d use commandline-supplied cuda device name instead of cuda:0 for safetensors PR that doesn't fix anything 3 years ago
AUTOMATIC 68fbf4558f Merge remote-tracking branch 'Narsil/fix_safetensors_load_speed' 3 years ago
AUTOMATIC 0cd6399b8b fix broken inpainting model 3 years ago
AUTOMATIC 8d8a05a3bb find configs for models at runtime rather than when starting 3 years ago
AUTOMATIC 02d7abf514 helpful error message when trying to load 2.0 without config
failing to load model weights from settings won't break generation for currently loaded model anymore
3 years ago
AUTOMATIC 8f96f92899 call script callbacks for reloaded model after loading embeddings 3 years ago
AUTOMATIC 311354c0bb fix the issue with training on SD2.0 3 years ago
Vladimir Mandic f55ac33d44
validate textual inversion embeddings 3 years ago
Nicolas Patry 5ba04f9ec0
Attempting to solve slow loads for `safetensors`.
Fixes #5893
3 years ago
Yuval Aboulafia 3bf5591efe fix F541 f-string without any placeholders 3 years ago
linuxmobile ( リナックス ) 5a650055de
Removed lenght in sd_model at line 115
Commit eba60a4 is what is causing this error, delete the length check in sd_model starting at line 115 and it's fine.

https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/5971#issuecomment-1364507379
3 years ago