aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8100 from missionfloyd/webp-losslessAUTOMATIC11112023-03-111-0/+1
|\ | | | | Add lossless webp option
| * Add lossless webp optionmissionfloyd2023-02-251-0/+1
| |
* | new setting: Extra text to add before <...> when adding extra network to promptAUTOMATIC2023-03-111-0/+1
| |
* | Merge pull request #8367 from pamparamm/scaled-dot-product-attentionAUTOMATIC11112023-03-111-0/+2
|\ \ | | | | | | Add scaled dot product attention
| * | sdp refactoringPam2023-03-101-1/+1
| | |
| * | argument to disable memory efficient for sdpPam2023-03-101-0/+1
| | |
| * | scaled dot product attentionPam2023-03-061-0/+1
| |/
* | add UniPC options to infotextAUTOMATIC2023-03-111-0/+9
| |
* | Requested changesspace-nuko2023-03-111-2/+1
| |
* | Merge remote-tracking branch 'origin/master' into unipcspace-nuko2023-03-111-2/+7
|\|
| * fix auto sd download issuew-e-w2023-02-191-0/+1
| |
| * Merge pull request #7300 from Ju1-js/masterAUTOMATIC11112023-02-191-0/+1
| |\ | | | | | | Gradio Auth - Read from External File
| | * Gradio Auth Read from External FileJu1-js2023-01-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Usage: `--gradio-auth-path {PATH}` It adds the credentials to the already existing `--gradio-auth` credentials. It can also handle line breaks. The file should look like: `{u1}:{p1},{u2}:{p2}` or ``` {u1}:{p1}, {u2}:{p2} ``` Will gradio handle duplicate credentials if it happens?
| * | Revert "Aspect ratio sliders"AUTOMATIC11112023-02-191-21/+0
| | |
| * | Merge pull request #7601 from Gerschel/aspect_ratio_slidersAUTOMATIC11112023-02-191-0/+21
| |\ \ | | | | | | | | Aspect ratio sliders
| | * | Squashed commit of the following:Gerschel2023-02-091-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit b030b67ad005bfe29bcda692238a00042dcae816 Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Wed Feb 8 16:38:56 2023 -0800 styling adjustements commit 80a2acb0230dd77489b0eb466f2efe827a053f6d Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Wed Feb 8 10:49:47 2023 -0800 badge indicator toggles visibility by selection commit 898922e025a6422ac947fb45c1fa4f1109882f0a Merge: 745382a0 31bbfa72 Author: Gerschel <9631031+Gerschel@users.noreply.github.com> Date: Wed Feb 8 08:35:26 2023 -0800 Merge pull request #1 from w-e-w/Rounding-Method Rounding Method commit 31bbfa729a15ef35fa1f905345d3ba2b17b26ab9 Author: w-e-w <40751091+w-e-w@users.noreply.github.com> Date: Wed Feb 8 19:41:45 2023 +0900 use switch commit 85dbe511c33521d3ac62224bf0e0f3a48194ce63 Author: w-e-w <40751091+w-e-w@users.noreply.github.com> Date: Wed Feb 8 16:47:52 2023 +0900 Rounding Method commit 745382a0f4b8d16241545a3460d5206915959255 Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Tue Feb 7 21:19:20 2023 -0800 default set to round commit 728579c618af30ec98a5af0991bd3f28bdaca399 Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Tue Feb 7 21:17:03 2023 -0800 cleaned some commented code out; added indicator commit 5b288c24a1edd8a5c2f35214b9634316d05b8dae Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Tue Feb 7 18:19:00 2023 -0800 needs cleaning; attempt at rounding commit d9f18ae92b929576b0b8c5f1ef8b3b38e441e381 Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Tue Feb 7 15:46:25 2023 -0800 add rounding option in setting for aspect ratio commit af22106802c9e42205649e4c71c23fcf5b8c62f6 Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Tue Feb 7 13:18:45 2023 -0800 added some ratios, sorted ratios by commonality commit 11e2fba73cffe8cdbf4cd0860641b94428ca0e74 Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Tue Feb 7 10:46:53 2023 -0800 snaps to mulitples of 8 and along ratio commit fa00387e07460b10ee82671a1bfa8687e00ee60b Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Mon Feb 6 14:54:59 2023 -0800 updated slidercomponentcontroller commit 8059bc111c3e2d1edb3314e05ab21b65120fa1dd Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Mon Feb 6 14:29:11 2023 -0800 added step size adjustment on number field commit 641157b9f27a874a24ee7b0a854a092e9eac3eec Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Mon Feb 6 14:12:03 2023 -0800 added return step size to default when ratio is disabled commit 5fb75ad28f2476f36100ec93922a8199adbd2a68 Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Mon Feb 6 14:09:34 2023 -0800 added step size adjustment commit e33532883bc4709cd41c3775cbb646d1d5ab0584 Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Mon Feb 6 11:56:15 2023 -0800 adjusted dropdown size, padding, text-align commit 81937329cee77f466c5a5b23c268d0c810128f84 Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Mon Feb 6 11:39:57 2023 -0800 added positioning and styling commit 86eb4583782d92880a9a113a54ffbac9d92f3753 Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Mon Feb 6 08:54:45 2023 -0800 fix typo in defaults; added preventDefault in event
| | * | aspect ratio for dim's; sliders adjust by ratioGerschel2023-02-061-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Default choices added to settings in user interface section Choices are editable by user User selects from dropdown. When you move one slider, the other adjusts according to the ratio chosen. Vice versa for the other slider. Number fields for changes work as well. For disabling ratio, an unlock pad "🔓" is available as a default. This string can be changed to anything to serve as a disable, as long as there is no colon ":". Ratios are entered in this format, floats or ints with a colon "1:1". The string is split at the colon, parses left and right as floats to perform the math.
| * | | Merge pull request #7727 from missionfloyd/face-restore-settingAUTOMATIC11112023-02-191-1/+1
| |\ \ \ | | | | | | | | | | Fix face restorers setting
| | * | | Fix face restorers settingmissionfloyd2023-02-101-1/+1
| | |/ /
| * | | reword settings for 4chan export, remove unneded try/excepts, add try/except ↵AUTOMATIC2023-02-191-3/+3
| | | | | | | | | | | | | | | | for actually saving JPG
| * | | Merge pull request #7564 from w-e-w/configurable_image_downscaleAUTOMATIC11112023-02-191-1/+3
| |\ \ \ | | | | | | | | | | Configurable JPG downscale threshold
| | * | | configurable image downscalew-e-w2023-02-051-1/+3
| | |/ / | | | | | | | | | | | | allowing the user to configure the image downscale parameters in setting
| * / / Fix DPM++ SDE not deterministic across different batch sizes (#5210)RcINS2023-02-111-0/+1
| |/ /
* | | Fix UniPC orderspace-nuko2023-02-101-1/+1
| | |
* | | Add UniPC sampler settingsspace-nuko2023-02-101-0/+5
|/ /
* | add --no-hashingAUTOMATIC2023-02-041-1/+1
| |
* | Adding default true to use_original_name_batch as images should by default ↵Joey Sanchez2023-01-311-1/+1
| | | | | | | | hold the same name to help keep sequenced images in their correct order
* | Add --skip-version-check to disable messages asking users to upgrade torch.AUTOMATIC2023-01-301-0/+2
| |
* | change disable_weights_auto_swap to true by defaultAUTOMATIC2023-01-291-1/+1
| |
* | make it so that setting options in pasted infotext (like Clip Skip and ENSD) ↵AUTOMATIC2023-01-291-5/+32
| | | | | | | | do not get applied directly and instead are added as temporary overrides
* | add dropdowns in settings for hypernets and lorasAUTOMATIC2023-01-281-2/+3
|/
* add data-dir flag and set all user data directories based on itMax Audron2023-01-271-5/+6
|
* remove the need to place configs near modelsAUTOMATIC2023-01-271-3/+4
|
* add an option to enable sections from extras tab in txt2img/img2imgAUTOMATIC2023-01-261-10/+5
| | | | fix some style inconsistenices
* Add UI setting for upcasting attention to float32brkirch2023-01-251-0/+1
| | | | | | 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-251-0/+1
| | | | 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().
* add option to skip interrogate categoriesVladimir Mandic2023-01-231-1/+1
|
* Merge branch 'AUTOMATIC1111:master' into interrogateVladimir Mandic2023-01-231-0/+4
|\
| * Merge pull request #7032 from gmq/extra-network-stylesAUTOMATIC11112023-01-231-0/+4
| |\ | | | | | | Extra network view style
| | * feat(extra-networks): add default view settingGuillermo Moreno2023-01-221-0/+4
| | |
* | | improve interrogateVladimir Mandic2023-01-231-0/+1
|/ /
* | Merge remote-tracking branch 'takuma104/xformers-flash-attention'AUTOMATIC2023-01-231-0/+1
|\ \
| * | add --xformers-flash-attention option & implTakuma Mori2023-01-211-0/+1
| | |
* | | rework extras tab to use script systemAUTOMATIC2023-01-231-0/+5
| |/ |/|
* | add an option to reorder tabs for extra networksAUTOMATIC2023-01-221-0/+1
| |
* | attention ctrl+up/down enhancementsAUTOMATIC2023-01-221-3/+5
| |
* | add a slider for default value of added extra networksAUTOMATIC2023-01-211-2/+3
| |
* | add --gradio-queue option to enable gradio queueAUTOMATIC2023-01-211-0/+2
|/
* make CLIP interrogator download original text files if the directory does ↵AUTOMATIC2023-01-211-5/+0
| | | | | | | | not exist remove random artist built-in extension (to re-added as a normal extension on demand) remove artists.csv (but what does it mean????????????????????) make interrogate buttons show Loading... when you click them
* extra networks UIAUTOMATIC2023-01-211-5/+16
| | | | rework of hypernets: rather than via settings, hypernets are added directly to prompt as <hypernet:name:weight>