aboutsummaryrefslogtreecommitdiff
path: root/modules/shared.py
AgeCommit message (Collapse)Author
2023-03-22Expose inpainting mask and compositecatboxanon
For inpainting, this exposes the mask and masked composite and gives the user the ability to display these in the web UI, save to disk, or both.
2023-03-12force refresh tqdm before closeVladimir Mandic
2023-03-11alternative solution for #8089AUTOMATIC
2023-03-11Merge pull request #8175 from vladmandic/image_sizeAUTOMATIC1111
adds checks for resulting image size to avoid memory issues
2023-03-11Merge pull request #7812 from vladmandic/hide_ui_tabsAUTOMATIC1111
allow configurable hiding of ui tabs
2023-03-11Merge pull request #8100 from missionfloyd/webp-losslessAUTOMATIC1111
Add lossless webp option
2023-03-11new setting: Extra text to add before <...> when adding extra network to promptAUTOMATIC
2023-03-11Merge pull request #8367 from pamparamm/scaled-dot-product-attentionAUTOMATIC1111
Add scaled dot product attention
2023-03-11add UniPC options to infotextAUTOMATIC
2023-03-10Requested changesspace-nuko
2023-03-10Merge remote-tracking branch 'origin/master' into unipcspace-nuko
2023-03-10sdp refactoringPam
2023-03-10argument to disable memory efficient for sdpPam
2023-03-07scaled dot product attentionPam
2023-02-27add check for resulting image sizeVladimir Mandic
2023-02-24Add lossless webp optionmissionfloyd
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