aboutsummaryrefslogtreecommitdiffstats
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* uses autos new regex, checks len of re_paramEllangoK2023-01-281-2/+2
|
* adds components to infotext_fieldsEllangoK2023-01-261-0/+14
| | | | allows for loading script params
* re_param captures quotes with commas properlyEllangoK2023-01-261-3/+3
| | | | and removes unnecessary regex
* fix for unet hijack breaking the train tabAUTOMATIC2023-01-251-2/+5
|
* make clicking extra networks button one more time close the extra networks UIAUTOMATIC2023-01-251-2/+7
|
* Merge pull request #6510 from brkirch/unet16-upcast-precisionAUTOMATIC11112023-01-259-71/+188
|\ | | | | Add upcast options, full precision sampling from float16 UNet and upcasting attention for inference using SD 2.1 models without --no-half
| * Add UI setting for upcasting attention to float32brkirch2023-01-255-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.
| * Add option for float32 sampling with float16 UNetbrkirch2023-01-257-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().
* | change to code for live preview fix on OSX to be bit more obviousAUTOMATIC2023-01-251-2/+2
| |
* | Merge pull request #7151 from brkirch/fix-approx-nnAUTOMATIC11112023-01-251-1/+5
|\ \ | | | | | | Fix Approx NN previews changing first generation result
| * | Fix different first gen with Approx NN previewsbrkirch2023-01-241-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.
* | | Add instruct-pix2pix hijackKyle2023-01-253-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
* | | Merge pull request #7146 from EllangoK/masterAUTOMATIC11112023-01-251-1/+1
|\ \ \ | |_|/ |/| | Adds X/Y/Z Grid Script
| * | handling sub grids and merging into oneEllangoK2023-01-241-1/+1
| | |
* | | remove fairscale requirement, add fake fairscale to make BLIP not complain ↵AUTOMATIC2023-01-241-1/+1
| | | | | | | | | | | | about it mk2
* | | remove fairscale requirement, add fake fairscale to make BLIP not complain ↵AUTOMATIC2023-01-241-2/+9
| | | | | | | | | | | | about it
* | | also return the removed field to sdapi/v1/upscalers because someone might ↵AUTOMATIC2023-01-242-0/+2
| | | | | | | | | | | | have relied on it existing
* | | repair sdapi/v1/upscalers returning bogus resultsAUTOMATIC2023-01-242-8/+10
| | |
* | | add image decod exception handlingVladimir Mandic2023-01-231-1/+5
| |/ |/|
* | fix BLIP failing to import depending on configurationAUTOMATIC2023-01-232-1/+16
| |
* | Merge pull request #7113 from vladmandic/interrogateAUTOMATIC11112023-01-232-16/+26
|\ \ | | | | | | Add selector to interrogate categories
| * | add option to skip interrogate categoriesVladimir Mandic2023-01-232-15/+19
| | |
| * | Merge branch 'AUTOMATIC1111:master' into interrogateVladimir Mandic2023-01-234-12/+31
| |\|
| * | improve interrogateVladimir Mandic2023-01-232-12/+18
| | |
* | | add support for apostrophe in extra network namesAUTOMATIC2023-01-231-2/+4
| |/ |/|
* | Merge pull request #7032 from gmq/extra-network-stylesAUTOMATIC11112023-01-232-1/+6
|\ \ | | | | | | Extra network view style
| * | feat(extra-networks): remove view dropdownGuillermo Moreno2023-01-231-11/+9
| | |
| * | feat(extra-networks): add default view settingGuillermo Moreno2023-01-222-4/+8
| | |
| * | feat(extra-networks): add thumbs view styleGuillermo Moreno2023-01-221-9/+12
| | |
* | | api-image-formatVladimir Mandic2023-01-231-10/+24
| | |
* | | a possible fix for broken image upscalingAUTOMATIC2023-01-231-1/+1
| |/ |/|
* | better support for xformers flash attention on older versions of torchAUTOMATIC2023-01-232-24/+30
| |
* | Merge remote-tracking branch 'takuma104/xformers-flash-attention'AUTOMATIC2023-01-232-2/+25
|\ \
| * | add --xformers-flash-attention option & implTakuma Mori2023-01-212-2/+25
| | |
* | | fix open directory button failingAUTOMATIC2023-01-232-2/+1
| | |
* | | Merge pull request #7031 from EllangoK/masterAUTOMATIC11112023-01-231-1/+1
|\ \ \ | | | | | | | | Fixes various button overflowing UI and compact checkbox
| * | | compact checkbox and fix copy image btn overflowEllangoK2023-01-211-1/+1
| | | | | | | | | | | | | | | | also fixes type for #tab_extensions in style.css
* | | | Merge pull request #7093 from Shondoit/fix-dark-modeAUTOMATIC11112023-01-231-2/+2
|\ \ \ \ | | | | | | | | | | Fix dark mode
| * | | | Fix dark modeShondoit2023-01-231-2/+2
| | |_|/ | |/| | | | | | | | | | | | | | | | | | Fixes #7048 Co-Authored-By: J.J. Tolton <jjtolton@gmail.com>
* | | | third time's the charmAUTOMATIC2023-01-231-1/+1
| | | |
* | | | add missing import to previous commitAUTOMATIC2023-01-231-0/+1
| | | |
* | | | rework extras tab to use script systemAUTOMATIC2023-01-239-459/+500
| | | |
* | | | split oversize extras.py to postprocessing.pyAUTOMATIC2023-01-224-473/+18
| | | |
* | | | Split history extras.py to postprocessing.pyAndrey2023-01-221-0/+0
| | | |
* | | | Split history extras.py to postprocessing.pyAndrey2023-01-221-0/+466
|\ \ \ \
| * | | | Split history extras.py to postprocessing.pyAndrey2023-01-221-0/+0
| |/ / /
* / / / Split history extras.py to postprocessing.pyAndrey2023-01-221-0/+0
|/ / /
* | | amend previous commit to work in a proper fashion when saving previewsAUTOMATIC2023-01-221-2/+2
| | |
* | | add an option to reorder tabs for extra networksAUTOMATIC2023-01-222-1/+18
| | |
* | | add option to discard weights in checkpoint merger UIAUTOMATIC2023-01-222-1/+12
| | |