aboutsummaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2023-01-28Merge pull request #7240 from Unstackd/masterAUTOMATIC1111
Allow users to convert models to Instruct-pix2pix models by supporting merging Instruct-pix2pix models with regular ones in the merge tab
2023-01-28don't replace regular --help with new paths.py parser helpMackerel
2023-01-28Merge pull request #7199 from maxaudron/feature/configurable-data-dirAUTOMATIC1111
Add flag to store user data sepperate from source code
2023-01-28simplify #7284AUTOMATIC
2023-01-28Merge pull request #7284 from Gazzoo-byte/patch-1AUTOMATIC1111
Add button to switch width and height
2023-01-28make the detection for -v models less broadAUTOMATIC
2023-01-28Merge pull request #7294 from MrCheeze/model-detectionAUTOMATIC1111
add v2-inpainting model detection, and broaden v-model detection to include anything with 768 in the name
2023-01-27Basic inpainting batch supportAndrii Skaliuk
Modifies batch UI to add optional inpainting support
2023-01-27add v2-inpainting model detection, and broaden v-model detection to include ↵MrCheeze
anything with 768 in the name
2023-01-27fix broken calls to find_checkpoint_configAUTOMATIC
2023-01-27Add button to switch width and heightGazzoo-byte
Adds a button to switch width and height, allowing quick and easy switching between landscape and portrait.
2023-01-27create user extensions directory if not existsMax Audron
2023-01-27clean up unused script_path importsMax Audron
2023-01-27use python importlib to load and execute extension modulesMax Audron
previously module attributes like __file__ where not set correctly, leading to scripts getting the directory of the stable-diffusion repo location instead of their own script. This causes problem when loading user data from an external location using the --data-dir flag, as extensions would look for their own code in the stable-diffusion repo location instead of the data dir location. Using pythons importlib functions sets the modules specs correctly and executes them. But this will break extensions if they build paths based on the previously incorrect __file__ attribute.
2023-01-27add data-dir flag and set all user data directories based on itMax Audron
2023-01-27clarify the option to disable NaN check.AUTOMATIC
2023-01-27support detecting midas modelAUTOMATIC
fix broken api for checkpoint list
2023-01-27remove the need to place configs near modelsAUTOMATIC
2023-01-26add an option to enable sections from extras tab in txt2img/img2imgAUTOMATIC
fix some style inconsistenices
2023-01-26Changed filename addition from "instrpix2pix" to the more readable ↵ULTRANOX\Chris
".instruct-pix2pix" for newly generated instruct pix2pix models.
2023-01-26Changed all references to "pix2pix" to the more precise name "instruct ↵ULTRANOX\Chris
pix2pix". Also changed extension to instrpix2pix at least for now.
2023-01-26Added error check for the rare case a user merges a pix2pix model with a ↵ULTRANOX\Chris
normal model using weighted sum. Also removed bad print message that interfered with merging progress bar.
2023-01-26Allow checkpoint merger to merge pix2pix models in the same way that it ↵ULTRANOX\Chris
currently supports inpainting models.
2023-01-26Fix full previews, --no-half-vaebrkirch
2023-01-25fix prompt editing break after first batch in img2imgAUTOMATIC
2023-01-25add edit_image_conditioning from my earlier edits in case there's an attempt ↵AUTOMATIC
to inegrate pix2pix properly this allows to use pix2pix model in img2img though it won't work well this way
2023-01-25Merge pull request #7197 from mcmonkey4eva/fix-ti-symlinksAUTOMATIC1111
allow symlinks in the textual inversion embeddings folder
2023-01-25fix for unet hijack breaking the train tabAUTOMATIC
2023-01-25make clicking extra networks button one more time close the extra networks UIAUTOMATIC
2023-01-25allow symlinks in the textual inversion embeddings folderAlex "mcmonkey" Goodwin
2023-01-25Merge pull request #6510 from brkirch/unet16-upcast-precisionAUTOMATIC1111
Add upcast options, full precision sampling from float16 UNet and upcasting attention for inference using SD 2.1 models without --no-half
2023-01-25change to code for live preview fix on OSX to be bit more obviousAUTOMATIC
2023-01-25Merge pull request #7151 from brkirch/fix-approx-nnAUTOMATIC1111
Fix Approx NN previews changing first generation result
2023-01-25Add instruct-pix2pix hijackKyle
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
2023-01-25Merge pull request #7146 from EllangoK/masterAUTOMATIC1111
Adds X/Y/Z Grid Script
2023-01-25Add UI setting for upcasting attention to float32brkirch
Adds "Upcast cross attention layer to float32" option in Stable Diffusion settings. This allows for generating images using SD 2.1 models without --no-half or xFormers. In order to make upcasting cross attention layer optimizations possible it is necessary to indent several sections of code in sd_hijack_optimizations.py so that a context manager can be used to disable autocast. Also, even though Stable Diffusion (and Diffusers) only upcast q and k, unfortunately my findings were that most of the cross attention layer optimizations could not function unless v is upcast also.
2023-01-25Add option for float32 sampling with float16 UNetbrkirch
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().
2023-01-24remove fairscale requirement, add fake fairscale to make BLIP not complain ↵AUTOMATIC
about it mk2
2023-01-24remove fairscale requirement, add fake fairscale to make BLIP not complain ↵AUTOMATIC
about it
2023-01-24handling sub grids and merging into oneEllangoK
2023-01-24also return the removed field to sdapi/v1/upscalers because someone might ↵AUTOMATIC
have relied on it existing
2023-01-24repair sdapi/v1/upscalers returning bogus resultsAUTOMATIC
2023-01-23Fix different first gen with Approx NN previewsbrkirch
The loading of the model for approx nn live previews can change the internal state of PyTorch, resulting in a different image. This can be avoided by preloading the approx nn model in advance.
2023-01-23add image decod exception handlingVladimir Mandic
2023-01-24fix BLIP failing to import depending on configurationAUTOMATIC
2023-01-24Merge pull request #7113 from vladmandic/interrogateAUTOMATIC1111
Add selector to interrogate categories
2023-01-23add support for apostrophe in extra network namesAUTOMATIC
2023-01-23add option to skip interrogate categoriesVladimir Mandic
2023-01-23Merge branch 'AUTOMATIC1111:master' into interrogateVladimir Mandic
2023-01-23Merge pull request #7032 from gmq/extra-network-stylesAUTOMATIC1111
Extra network view style