aboutsummaryrefslogtreecommitdiffstats
path: root/modules
AgeCommit message (Collapse)AuthorLines
2023-01-28update image parameters regex for #7231AUTOMATIC-1/+1
2023-01-28Merge pull request #7240 from Unstackd/masterAUTOMATIC1111-5/+12
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-1/+1
2023-01-28Merge pull request #7199 from maxaudron/feature/configurable-data-dirAUTOMATIC1111-38/+46
Add flag to store user data sepperate from source code
2023-01-28simplify #7284AUTOMATIC-8/+3
2023-01-28Merge pull request #7284 from Gazzoo-byte/patch-1AUTOMATIC1111-0/+11
Add button to switch width and height
2023-01-28make the detection for -v models less broadAUTOMATIC-1/+1
2023-01-28Merge pull request #7294 from MrCheeze/model-detectionAUTOMATIC1111-1/+4
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-4/+25
Modifies batch UI to add optional inpainting support
2023-01-27add v2-inpainting model detection, and broaden v-model detection to include ↵MrCheeze-1/+4
anything with 768 in the name
2023-01-27fix broken calls to find_checkpoint_configAUTOMATIC-4/+4
2023-01-27Add button to switch width and heightGazzoo-byte-0/+11
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-0/+2
2023-01-27clean up unused script_path importsMax Audron-2/+2
2023-01-27use python importlib to load and execute extension modulesMax Audron-6/+4
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-31/+39
2023-01-27clarify the option to disable NaN check.AUTOMATIC-0/+2
2023-01-27support detecting midas modelAUTOMATIC-8/+11
fix broken api for checkpoint list
2023-01-27remove the need to place configs near modelsAUTOMATIC-134/+242
2023-01-26add an option to enable sections from extras tab in txt2img/img2imgAUTOMATIC-18/+107
fix some style inconsistenices
2023-01-26Changed filename addition from "instrpix2pix" to the more readable ↵ULTRANOX\Chris-1/+1
".instruct-pix2pix" for newly generated instruct pix2pix models.
2023-01-26Changed all references to "pix2pix" to the more precise name "instruct ↵ULTRANOX\Chris-5/+5
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-1/+2
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-5/+11
currently supports inpainting models.
2023-01-26Fix full previews, --no-half-vaebrkirch-5/+5
2023-01-25fix prompt editing break after first batch in img2imgAUTOMATIC-1/+1
2023-01-25add edit_image_conditioning from my earlier edits in case there's an attempt ↵AUTOMATIC-1/+9
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-1/+1
allow symlinks in the textual inversion embeddings folder
2023-01-25fix for unet hijack breaking the train tabAUTOMATIC-2/+5
2023-01-25make clicking extra networks button one more time close the extra networks UIAUTOMATIC-2/+7
2023-01-25allow symlinks in the textual inversion embeddings folderAlex "mcmonkey" Goodwin-1/+1
2023-01-25Merge pull request #6510 from brkirch/unet16-upcast-precisionAUTOMATIC1111-71/+188
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-2/+2
2023-01-25Merge pull request #7151 from brkirch/fix-approx-nnAUTOMATIC1111-1/+5
Fix Approx NN previews changing first generation result
2023-01-25Add instruct-pix2pix hijackKyle-1/+1483
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-1/+1
Adds X/Y/Z Grid Script
2023-01-25Add UI setting for upcasting attention to float32brkirch-64/+108
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-8/+81
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-1/+1
about it mk2
2023-01-24remove fairscale requirement, add fake fairscale to make BLIP not complain ↵AUTOMATIC-2/+9
about it
2023-01-24handling sub grids and merging into oneEllangoK-1/+1
2023-01-24also return the removed field to sdapi/v1/upscalers because someone might ↵AUTOMATIC-0/+2
have relied on it existing
2023-01-24repair sdapi/v1/upscalers returning bogus resultsAUTOMATIC-8/+10
2023-01-23Fix different first gen with Approx NN previewsbrkirch-1/+5
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-1/+5
2023-01-24fix BLIP failing to import depending on configurationAUTOMATIC-1/+16
2023-01-24Merge pull request #7113 from vladmandic/interrogateAUTOMATIC1111-16/+26
Add selector to interrogate categories
2023-01-23add support for apostrophe in extra network namesAUTOMATIC-2/+4
2023-01-23add option to skip interrogate categoriesVladimir Mandic-15/+19
2023-01-23Merge branch 'AUTOMATIC1111:master' into interrogateVladimir Mandic-12/+31