aboutsummaryrefslogtreecommitdiff
path: root/modules/shared.py
AgeCommit message (Collapse)Author
2023-02-24Add lossless webp optionmissionfloyd
2023-02-19custom height, width settings for extra networksEllangoK
2023-02-19make ui as multiselect instead of string listVladimir Mandic
2023-02-19Merge branch 'AUTOMATIC1111:master' into hide_ui_tabsVladimir Mandic
2023-02-19fix auto sd download issuew-e-w
2023-02-19Merge pull request #7300 from Ju1-js/masterAUTOMATIC1111
Gradio Auth - Read from External File
2023-02-19Revert "Aspect ratio sliders"AUTOMATIC1111
2023-02-19Merge pull request #7601 from Gerschel/aspect_ratio_slidersAUTOMATIC1111
Aspect ratio sliders
2023-02-19Merge pull request #7727 from missionfloyd/face-restore-settingAUTOMATIC1111
Fix face restorers setting
2023-02-19reword settings for 4chan export, remove unneded try/excepts, add try/except ↵AUTOMATIC
for actually saving JPG
2023-02-19Merge pull request #7564 from w-e-w/configurable_image_downscaleAUTOMATIC1111
Configurable JPG downscale threshold
2023-02-13all hiding of ui tabsVladimir Mandic
2023-02-11Fix DPM++ SDE not deterministic across different batch sizes (#5210)RcINS
2023-02-10Fix face restorers settingmissionfloyd
2023-02-10Fix UniPC orderspace-nuko
2023-02-10Add UniPC sampler settingsspace-nuko
2023-02-08Squashed commit of the following:Gerschel
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
2023-02-06aspect ratio for dim's; sliders adjust by ratioGerschel
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.
2023-02-05configurable image downscalew-e-w
allowing the user to configure the image downscale parameters in setting
2023-02-04add --no-hashingAUTOMATIC
2023-01-30Adding default true to use_original_name_batch as images should by default ↵Joey Sanchez
hold the same name to help keep sequenced images in their correct order
2023-01-30Add --skip-version-check to disable messages asking users to upgrade torch.AUTOMATIC
2023-01-30change disable_weights_auto_swap to true by defaultAUTOMATIC
2023-01-30make it so that setting options in pasted infotext (like Clip Skip and ENSD) ↵AUTOMATIC
do not get applied directly and instead are added as temporary overrides
2023-01-28add dropdowns in settings for hypernets and lorasAUTOMATIC
2023-01-27Gradio Auth Read from External FileJu1-js
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?
2023-01-27add data-dir flag and set all user data directories based on itMax Audron
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-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-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
2023-01-23improve interrogateVladimir Mandic
2023-01-23Merge remote-tracking branch 'takuma104/xformers-flash-attention'AUTOMATIC
2023-01-23rework extras tab to use script systemAUTOMATIC
2023-01-22feat(extra-networks): add default view settingGuillermo Moreno
2023-01-22add an option to reorder tabs for extra networksAUTOMATIC
2023-01-22attention ctrl+up/down enhancementsAUTOMATIC
2023-01-22add a slider for default value of added extra networksAUTOMATIC
2023-01-21add --gradio-queue option to enable gradio queueAUTOMATIC
2023-01-21add --xformers-flash-attention option & implTakuma Mori
2023-01-21make CLIP interrogator download original text files if the directory does ↵AUTOMATIC
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
2023-01-21extra networks UIAUTOMATIC
rework of hypernets: rather than via settings, hypernets are added directly to prompt as <hypernet:name:weight>
2023-01-19Update shared.pyvt-idiot
`Witdth/Height` was driving me insane. -> `Width/Height`
2023-01-19allow baking in VAE in checkpoint merger tabAUTOMATIC
do not save config if it's the default for checkpoint merger tab change file naming scheme for checkpoint merger tab allow just saving A without any merging for checkpoint merger tab some stylistic changes for UI in checkpoint merger tab
2023-01-18Merge pull request #6851 from ddPn08/masterAUTOMATIC1111
Add `--vae-dir` argument
2023-01-18add option to show/hide warningsAUTOMATIC
removed hiding warnings from LDSR fixed/reworked few places that produced warnings
2023-01-18fix typoddPn08