Commit Graph

558 Commits

Author SHA1 Message Date
AUTOMATIC 3fa482076a Merge remote-tracking branch 'takuma104/xformers-flash-attention' 2023-01-23 16:01:53 +03:00
AUTOMATIC b5230197a6 rework extras tab to use script system 2023-01-23 09:24:43 +03:00
Guillermo Moreno 66eef11ce7 feat(extra-networks): add default view setting 2023-01-22 12:18:21 -03:00
AUTOMATIC 35419b2746 add an option to reorder tabs for extra networks 2023-01-22 11:00:05 +03:00
AUTOMATIC 2621566153 attention ctrl+up/down enhancements 2023-01-22 08:07:18 +03:00
AUTOMATIC fe7a623e6b add a slider for default value of added extra networks 2023-01-22 00:02:52 +03:00
AUTOMATIC 63b824376c add --gradio-queue option to enable gradio queue 2023-01-21 18:47:54 +03:00
Takuma Mori 3262e825cc add --xformers-flash-attention option & impl 2023-01-21 17:42:04 +09:00
AUTOMATIC 6d805b669e make CLIP interrogator download original text files if the directory does 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-21 09:14:27 +03:00
AUTOMATIC 40ff6db532 extra networks UI
rework of hypernets: rather than via settings, hypernets are added directly to prompt as <hypernet:name:weight>
2023-01-21 08:36:07 +03:00
vt-idiot b271e22f7a
Update shared.py
`Witdth/Height` was driving me insane. -> `Width/Height`
2023-01-19 06:12:19 -05:00
AUTOMATIC 0f5dbfffd0 allow baking in VAE in checkpoint merger tab
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-19 10:39:51 +03:00
AUTOMATIC1111 43fd6eaab8
Merge pull request #6851 from ddPn08/master
Add `--vae-dir` argument
2023-01-18 23:23:09 +03:00
AUTOMATIC 924e222004 add option to show/hide warnings
removed hiding warnings from LDSR
fixed/reworked few places that produced warnings
2023-01-18 23:04:24 +03:00
ddPn08 d906f87043
fix typo 2023-01-18 07:52:10 +09:00
ddPn08 6e08da2c31
Add `--vae-dir` argument 2023-01-17 23:50:41 +09:00
AUTOMATIC c361b89026 disable the new NaN check for the CI 2023-01-17 11:05:01 +03:00
AUTOMATIC 064983c0ad return an option to hide progressbar 2023-01-16 12:56:30 +03:00
AUTOMATIC 3f887f7f61 support old configs that say "auto" for ssd_vae
change sd_vae_as_default to True by default as it's a more sensible setting
2023-01-16 00:44:52 +03:00
AUTOMATIC 3db22e6ee4 rename masking to inpaint in UI
make inpaint go to the right place for users who don't have it in config string
2023-01-15 23:32:38 +03:00
AUTOMATIC1111 30cfe4ed9b
Merge pull request #6758 from Poktay/allow_reorder_masking_controls
allow reordering of inpaint masking controls (like the other sections can be reordered)
2023-01-15 23:24:09 +03:00
AUTOMATIC1111 4385449933
Merge pull request #6778 from pangbo13/master
Fix unexpected behavior when show_progress_every_n_steps is set to -1
2023-01-15 22:54:14 +03:00
AUTOMATIC a534bdfc80 add setting for progressbar update period 2023-01-15 20:29:55 +03:00
pangbo13 388708f7b1 fix when show_progress_every_n_steps == -1 2023-01-16 00:56:24 +08:00
AUTOMATIC d8b90ac121 big rework of progressbar/preview system to allow multiple users to prompts at the same time and do not get previews of each other 2023-01-15 18:51:04 +03:00
Josh R 9ef41df6f9 add inpaint masking controls to orderable section that the settings can order 2023-01-14 15:26:45 -08:00
Vladimir Mandic ce9827a7c5
Merge pull request #6731 from vladmandic/state_server_start
Add server start time to state info
2023-01-14 16:03:29 -05:00
AUTOMATIC a5bbcd2153 fix bug with "Ignore selected VAE for..." option completely disabling VAE election
rework VAE resolving code to be more simple
2023-01-14 19:56:09 +03:00
Vladimir Mandic fad850fc3d
add server_start to shared.state 2023-01-14 11:18:05 -05:00
AUTOMATIC f94a215abe add an option to choose what you want to see in live preview (Live preview subject) and moves live preview settings to its own tab 2023-01-14 16:29:23 +03:00
AUTOMATIC 08c6f009a5 load hashes from cache for checkpoints that have them
add checkpoint hash to footer
2023-01-14 15:55:40 +03:00
AUTOMATIC f9ac3352cb change hypernets to use sha256 hashes 2023-01-14 10:25:37 +03:00
AUTOMATIC a95f135308 change hash to sha256 2023-01-14 09:56:59 +03:00
AUTOMATIC1111 9cd7716753
Merge branch 'master' into tensorboard 2023-01-13 14:57:38 +03:00
AUTOMATIC 0b8911d883 img2img UI rework: obsolete --gradio-img2img-tool --gradio-inpaint-tool and always show all tools each in own tab 2023-01-11 20:33:24 +03:00
AUTOMATIC 29fb532764 change color selector in settings to be part of form 2023-01-10 23:47:07 +03:00
AUTOMATIC 1fbb6f9ebe make a dropdown for prompt template selection 2023-01-09 23:35:40 +03:00
AUTOMATIC d4fd2418ef add an option to use old hiresfix width/height behavior
add a visual effect to inactive hires fix elements
2023-01-09 14:57:47 +03:00
AUTOMATIC1111 c295e4a244
Merge pull request #6055 from brkirch/sub-quad_attn_opt
Add Birch-san's sub-quadratic attention implementation
2023-01-07 12:26:55 +03:00
Kuma 50194de93f
typo UI fixes #6391 2023-01-06 16:12:45 +01:00
brkirch b95a4c0ce5 Change sub-quad chunk threshold to use percentage 2023-01-06 01:01:51 -05:00
AUTOMATIC 683287d87f rework saving training params to file #6372 2023-01-06 08:52:06 +03:00
brkirch 3bfe2bb549 Merge remote-tracking branch 'upstream/master' into sub-quad_attn_opt 2023-01-06 00:15:22 -05:00
brkirch f6ab5a39d7 Merge branch 'AUTOMATIC1111:master' into sub-quad_attn_opt 2023-01-06 00:14:20 -05:00
brkirch d782a95967 Add Birch-san's sub-quadratic attention implementation 2023-01-06 00:14:13 -05:00
AUTOMATIC1111 88e01b237e
Merge pull request #6372 from timntorres/save-ti-hypernet-settings-to-txt-revised
Save hypernet and textual inversion settings to text file, revised.
2023-01-06 07:59:44 +03:00
timntorres b85c2b5cf4 Clean up ti, add same behavior to hypernetwork. 2023-01-05 08:14:38 -08:00
cat 19a81ac287 hires-fix: add "nearest-exact" latent upscale mode. 2023-01-05 20:25:02 +05:00
timntorres eea8fc40e1 Add option to save ti settings to file. 2023-01-05 07:24:22 -08:00
AUTOMATIC1111 c53852e257
Merge pull request #6044 from hentailord85ez/discard-penultimate-sigma
Allow always discarding of penultimate sigma and fix doing 1 less step than specified
2023-01-05 10:33:51 +03:00
AUTOMATIC bc43293c64 fix incorrect display/calculation for number of steps for hires fix in progress bars 2023-01-04 23:56:43 +03:00
AUTOMATIC 1cfd8aec4a make it possible to work with opts.show_progress_every_n_steps = -1 with medvram 2023-01-04 16:05:42 +03:00
AUTOMATIC1111 c923de0e05
Merge pull request #5969 from philpax/include-job-timestamp-in-progress-api
feat(api): include job_timestamp in progress
2023-01-04 15:28:51 +03:00
AUTOMATIC1111 7bbd984dda
Merge pull request #6253 from Shondoit/ti-optim
Save Optimizer next to TI embedding
2023-01-04 14:09:13 +03:00
AUTOMATIC1111 a8ad8666cd
Merge pull request #6261 from vladmandic/api-logging
add api logging
2023-01-04 14:04:11 +03:00
MMaker b2151b934f
Rename bicubic antialiased option
Comma was causing the the value in PNG info to be quoted, which causes the upscaler dropdown option to be blank when sending to UI
2023-01-04 05:36:18 -05:00
MMaker 96cf15bede
Add new latent upscale modes 2023-01-04 05:12:06 -05:00
AUTOMATIC 02d7abf514 helpful error message when trying to load 2.0 without config
failing to load model weights from settings won't break generation for currently loaded model anymore
2023-01-04 12:35:07 +03:00
Vladimir Mandic aaa4c2aacb
add api logging 2023-01-03 09:45:16 -05:00
Shondoit bddebe09ed Save Optimizer next to TI embedding
Also add check to load only .PT and .BIN files as embeddings. (since we add .optim files in the same directory)
2023-01-03 13:30:24 +01:00
AUTOMATIC a1cf55a9d1 add option to reorder items in main UI 2023-01-03 10:39:21 +03:00
AUTOMATIC ef27a18b6b Hires fix rework 2023-01-02 19:42:10 +03:00
AUTOMATIC 16b9661d27 change karras scheduler sigmas to values recommended by SD from old 0.1 to 10 with an option to revert to old 2023-01-01 09:51:37 +03:00
AUTOMATIC 29a3a7eb13 show sampler selection in dropdown, add option selection to revert to old radio group 2023-01-01 01:19:10 +03:00
AUTOMATIC f34c734172 alt-diffusion integration 2022-12-31 18:06:35 +03:00
AUTOMATIC 3f401cdb64 Merge remote-tracking branch 'baai-open-internal/master' into alt-diffusion 2022-12-31 13:02:28 +03:00
AUTOMATIC1111 3d8256e40c
Merge pull request #6017 from hitomi/master
Add memory cache for VAE weights
2022-12-31 12:22:59 +03:00
Vladimir Mandic 463048344f
fix shared state dictionary 2022-12-30 19:41:47 -05:00
hentailord85ez 03f486a239
Update shared.py 2022-12-26 20:49:33 +00:00
hitomi 893933e05a Add memory cache for VAE weights 2022-12-25 20:49:25 +08:00
AUTOMATIC c5bdba2089 change wording a bit 2022-12-24 22:41:35 +03:00
AUTOMATIC 56e557c6ff added cheap NN approximation for VAE 2022-12-24 22:39:10 +03:00
AUTOMATIC1111 a6a54a7529
Merge pull request #5976 from AbstractQbit/fast_preview
Add an option for faster low quality previews
2022-12-24 18:38:42 +03:00
AUTOMATIC 03d7b39453 added an option to filter out deepbooru tags 2022-12-24 16:22:47 +03:00
AbstractQbit 11dd79e346 Add an option for faster low quality previews 2022-12-24 14:00:17 +03:00
Philpax f23a822f1c feat(api): include job_timestamp in progress 2022-12-24 20:45:16 +11:00
AUTOMATIC1111 34bc3616ec
Merge pull request #5838 from aliencaocao/fix_gradio_pil
Dirty fix for missing PIL supported file extensions
2022-12-24 10:24:33 +03:00
AUTOMATIC 9441c28c94 add an option for img2img background color 2022-12-24 09:46:35 +03:00
AUTOMATIC1111 55f3ef876b
Merge pull request #5814 from timntorres/5802-save-upscaler-to-filename
Add option to save upscaler to filename suffix in extras tab.
2022-12-24 09:07:00 +03:00
Billy Cao c02ef0f428 Fix PIL being imported before its installed (for new users only) 2022-12-18 20:51:59 +08:00
timntorres 6fd91c9179 Update OptionInfo to match preexisting option. 2022-12-17 08:59:02 -08:00
timntorres a7a039d53a Add option to include upscaler name in filename. 2022-12-17 08:50:20 -08:00
AUTOMATIC 991e2dcee9 remove NSFW filter and its dependency; if you still want it, find it in the extensions section 2022-12-10 14:54:16 +03:00
AUTOMATIC d06592267c use less javascript for this non-js-only implementation of the clear prompt button. 2022-12-10 13:46:18 +03:00
AUTOMATIC1111 2028aa06c0
Merge pull request #3198 from papuSpartan/master
Add Clear Prompt button to roll_col
2022-12-10 13:35:51 +03:00
AUTOMATIC1111 cce306cb67
Merge pull request #5441 from timntorres/add-5433-avoid-sending-size-option
Add option to avoid sending size between interfaces.
2022-12-10 11:07:16 +03:00
papuSpartan 6387043fd2
Merge branch 'AUTOMATIC1111:master' into master 2022-12-10 00:02:39 -08:00
AUTOMATIC bab91b1279 add Noise multiplier option to infotext 2022-12-10 09:51:26 +03:00
AUTOMATIC1111 8ee1acc1e4
Merge pull request #5373 from mezotaken/master
add noise strength parameter similar to NAI
2022-12-10 09:36:24 +03:00
zhaohu xing 965fc5ac5a delete a file
Signed-off-by: zhaohu xing <920232796@qq.com>
2022-12-06 16:15:15 +08:00
Zac Liu a25dfebeed
Merge pull request #3 from 920232796/master
fix device support for mps
update the support for SD2.0
2022-12-06 09:17:57 +08:00
Zac Liu 3ebf977a6e
Merge branch 'AUTOMATIC1111:master' into master 2022-12-06 09:16:15 +08:00
timntorres 7057c72ae3 Add opt. to avoid sending size between interfaces. 2022-12-05 03:41:36 -08:00
AUTOMATIC b6e5edd746 add built-in extension system
add support for adding upscalers in extensions
move LDSR, ScuNET and SwinIR to built-in extensions
2022-12-03 18:06:33 +03:00
Vladimir Repin cf3e844d1d add noise strength parameter similar to NAI 2022-12-03 18:05:47 +03:00
AUTOMATIC1111 5cd5a672f7
Merge pull request #4459 from kavorite/color-sketch-inpainting
add `--gradio-inpaint-tool` and option to specify `color-sketch`
2022-12-03 10:06:27 +03:00
AUTOMATIC c7af672186 more simple config option name plus mouseover hint for clip skip 2022-12-03 09:41:39 +03:00
zhaohu xing 9c86fb8cac fix bug
Signed-off-by: zhaohu xing <920232796@qq.com>
2022-12-02 16:08:46 +08:00
space-nuko be2e6de94a Fix clip skip of 1 not being restored from prompts 2022-12-01 11:34:16 -08:00
zhaohu xing 0831ab476c
Merge branch 'master' into master 2022-11-30 10:13:17 +08:00
zhaohu xing 75c4511e6b add AltDiffusion to webui
Signed-off-by: zhaohu xing <920232796@qq.com>
2022-11-29 10:28:41 +08:00
AUTOMATIC1111 9e78d2c419
Merge pull request #4416 from Keavon/cors-regex
Add CORS-allow policy launch argument using regex
2022-11-27 18:50:12 +03:00
AUTOMATIC1111 eb08550108
Merge pull request #4663 from xucj98/draft
fix the model name error of Real-ESRGAN in the opts default value
2022-11-27 14:16:45 +03:00
AUTOMATIC b48b7999c8 Merge remote-tracking branch 'flamelaw/master' 2022-11-27 12:19:59 +03:00
AUTOMATIC b006382784 serve images from where they are saved instead of a temporary directory
add an option to choose a different temporary directory in the UI
add an option to cleanup the selected temporary directory at startup
2022-11-27 11:52:53 +03:00
AUTOMATIC ce6911158b Add support Stable Diffusion 2.0 2022-11-26 16:10:46 +03:00
xucj98 263b323de1
Merge branch 'AUTOMATIC1111:master' into draft 2022-11-25 17:07:00 +08:00
AUTOMATIC c81d440d87 moved deepdanbooru to pure pytorch implementation 2022-11-20 16:39:20 +03:00
flamelaw bd68e35de3 Gradient accumulation, autocast fix, new latent sampling method, etc 2022-11-20 12:35:26 +09:00
Keavon Chambers 2f90496b19
Merge branch 'master' into cors-regex 2022-11-19 10:34:31 -08:00
AUTOMATIC1111 ccd73fc186
Merge pull request #4717 from papuSpartan/security
Add --server-name to the list of arguments considered insecure
2022-11-19 15:31:09 +03:00
AUTOMATIC1111 41e242b220
Merge pull request #4733 from MaikoTan/api-authorization
feat: add http basic authentication for api
2022-11-19 15:20:03 +03:00
AUTOMATIC 5a6387e189 make it possible to change models etc by editing options using API 2022-11-19 15:15:24 +03:00
Maiko Tan 336c341a7c
Merge branch 'master' into api-authorization 2022-11-19 20:13:07 +08:00
Muhammad Rizqi Nur f1bdf2b15f Merge branch 'a1111' into vae-misc 2022-11-19 15:20:07 +07:00
AUTOMATIC d9fd4525a5 change text for sd_vae_as_default that makes more sense to me 2022-11-19 11:09:44 +03:00
AUTOMATIC1111 3951806058
Merge pull request #4842 from R-N/vae-as-default
Option to use selected VAE as default fallback instead of primary option
2022-11-19 10:59:42 +03:00
Muhammad Rizqi Nur c8f7b5cdd7 Misc
Misc
2022-11-19 12:04:12 +07:00
Muhammad Rizqi Nur 0663706d44 Option to use selected VAE as default fallback instead of primary option 2022-11-19 11:49:06 +07:00
Maiko Sinkyaet Tan 8f2ff861d3
feat: add http basic authentication for api 2022-11-15 16:12:34 +08:00
papuSpartan 3405acc6a4 Give --server-name priority over --listen and add check for --server-name in addition to --share and --listen 2022-11-14 14:07:13 -06:00
Xu Cuijie d20dbe47e0 fix the model name error of Real-ESRGAN in the opts default value 2022-11-13 10:31:03 +08:00
AUTOMATIC a1a376331c make existing script loading and new preload code use same code for loading modules
limit extension preload scripts to just one file named preload.py
2022-11-12 10:56:06 +03:00
AUTOMATIC1111 e5690d0bf2
Merge pull request #4488 from d8ahazard/ExtensionPreload
Add option to preload extensions
2022-11-12 10:29:15 +03:00
AUTOMATIC1111 73776907ec
Merge pull request #4117 from TinkTheBoush/master
Adding optional tag shuffling for training
2022-11-11 15:46:20 +03:00
KyuSeok Jung 0959907f87
adding tag dropout option 2022-11-11 10:31:14 +09:00
KyuSeok Jung 6f8a807fe4
Update shared.py 2022-11-11 09:22:49 +09:00
d8ahazard cfcadeae9a Add option to preload extensions
By creating a file called "preload.py" in an extension folder and declaring a preload(parser) method, we can add extra command-line args for an extension.
2022-11-08 10:03:56 -06:00
kavorite 9ed4a126bd add gradio-inpaint-tool; color-sketch 2022-11-07 19:58:49 -05:00
Keavon Chambers a258fd60db Add CORS-allow policy launch argument using regex 2022-11-07 00:13:58 -08:00
papuSpartan 00ebc26c4e
Merge branch 'AUTOMATIC1111:master' into master 2022-11-06 21:05:28 -06:00
AUTOMATIC a2a1a2f727 add ability to create extensions that add localizations 2022-11-06 09:02:35 +03:00
KyuSeok Jung 9b7289c349
Merge branch 'master' into master 2022-11-06 03:08:45 +09:00
AUTOMATIC1111 37ba0070ec
Merge branch 'master' into feat/allow-origins 2022-11-05 16:20:40 +03:00
AUTOMATIC1111 e96c434495
Merge pull request #3975 from aria1th/force-push-patch-13
Save/loading AdamW optimizer (for hypernetworks)
2022-11-05 16:15:00 +03:00
papuSpartan e9a5562b9b add support for tls (gradio tls options) 2022-11-05 04:06:51 -05:00
evshiron b8435e632f add --cors-allow-origins cmd opt 2022-11-05 02:36:47 +08:00
AUTOMATIC f316280ad3 fix the error that prevents from setting some options 2022-11-04 16:49:04 +03:00
TinkTheBoush 821e2b883d change option position to Training setting 2022-11-04 19:39:03 +09:00
AngelBottomless 7278897982
Update shared.py 2022-11-04 17:12:28 +09:00
AUTOMATIC1111 2913b9f025
Merge pull request #4178 from HeyImKyu/PreviewOnBatchCompletion
Added option to preview Created images on batch completion.
2022-11-04 10:59:27 +03:00
AUTOMATIC ccf1a15412 add an option to enable installing extensions with --listen or --share 2022-11-04 10:16:19 +03:00
AngelBottomless 179702adc4
Merge branch 'AUTOMATIC1111:master' into force-push-patch-13 2022-11-04 15:51:09 +09:00
AUTOMATIC f2b69709ea move option access checking to options class out of various places scattered through code 2022-11-04 09:42:25 +03:00
Kyu♥ f1b6ac64e4 Added option to preview Created images on batch completion. 2022-11-02 17:24:42 +01:00
AngelBottomless 7ea5956ad5
now add 2022-11-02 22:18:55 +09:00
AUTOMATIC1111 675b51ebd3
Merge pull request #3986 from R-N/vae-picker
VAE Selector
2022-11-02 14:12:27 +03:00
AUTOMATIC eb5e82c7dd do not unnecessarily run VAE one more time when saving intermediate image with hires fix 2022-11-02 12:45:03 +03:00
timntorres 9c67408004
Allow saving "before-highres-fix. (#4150)
* Save image/s before doing highres fix.
2022-11-02 12:18:21 +03:00
AUTOMATIC 4a8cf01f6f remove duplicate code from #3970 2022-11-02 12:12:32 +03:00