diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-21 12:54:30 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-21 12:54:30 +0000 |
commit | 953c3eab7b3b952f7e96d728413a531d7fb521a2 (patch) | |
tree | 6517f26ae9c702af50c1392de585c04420dc55b3 /modules/shared_options.py | |
parent | 18fb522660a7b521bbd96c91bb55e7ab8be2b3c2 (diff) | |
download | stable-diffusion-webui-gfx803-953c3eab7b3b952f7e96d728413a531d7fb521a2.tar.gz stable-diffusion-webui-gfx803-953c3eab7b3b952f7e96d728413a531d7fb521a2.tar.bz2 stable-diffusion-webui-gfx803-953c3eab7b3b952f7e96d728413a531d7fb521a2.zip |
forbid Full live preview method for medvram and add a setting to undo the forbidding
Diffstat (limited to 'modules/shared_options.py')
-rw-r--r-- | modules/shared_options.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared_options.py b/modules/shared_options.py index 095cf479..88f6b334 100644 --- a/modules/shared_options.py +++ b/modules/shared_options.py @@ -287,6 +287,7 @@ options_templates.update(options_section(('ui', "Live previews"), { "show_progress_grid": OptionInfo(True, "Show previews of all images generated in a batch as a grid"),
"show_progress_every_n_steps": OptionInfo(10, "Live preview display period", gr.Slider, {"minimum": -1, "maximum": 32, "step": 1}).info("in sampling steps - show new live preview image every N sampling steps; -1 = only show after completion of batch"),
"show_progress_type": OptionInfo("Approx NN", "Live preview method", gr.Radio, {"choices": ["Full", "Approx NN", "Approx cheap", "TAESD"]}).info("Full = slow but pretty; Approx NN and TAESD = fast but low quality; Approx cheap = super fast but terrible otherwise"),
+ "live_preview_allow_lowvram_full": OptionInfo(False, "Allow Full live preview method with lowvram/medvram").info("If not, Approx NN will be used instead; Full live preview method is very detrimental to speed if lowvram/medvram optimizations are enabled"),
"live_preview_content": OptionInfo("Prompt", "Live preview subject", gr.Radio, {"choices": ["Combined", "Prompt", "Negative prompt"]}),
"live_preview_refresh_period": OptionInfo(1000, "Progressbar and preview update period").info("in milliseconds"),
"live_preview_fast_interrupt": OptionInfo(False, "Return image with chosen live preview method on interrupt").info("makes interrupts faster"),
|