aboutsummaryrefslogtreecommitdiff
path: root/modules/shared.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-06-09 22:32:49 +0300
committerGitHub <noreply@github.com>2023-06-09 22:32:49 +0300
commitd00139eea82d3d2d3d5bd748c8e85ea24e1ef8dc (patch)
tree2287bc16ced973658d1a56967c9c72061ff6fa7d /modules/shared.py
parentb8d7506ebe8c27119b5cc105f9d518b35028a0f3 (diff)
parent7f2214aa2b9a88bc1631f3f1d164a75a3583c851 (diff)
Merge pull request #11087 from AUTOMATIC1111/persistent_conds_cache
persistent conds cache
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py
index c9ee2dd1..91c31d55 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -421,6 +421,7 @@ options_templates.update(options_section(('optimizations', "Optimizations"), {
"token_merging_ratio_img2img": OptionInfo(0.0, "Token merging ratio for img2img", gr.Slider, {"minimum": 0.0, "maximum": 0.9, "step": 0.1}).info("only applies if non-zero and overrides above"),
"token_merging_ratio_hr": OptionInfo(0.0, "Token merging ratio for high-res pass", gr.Slider, {"minimum": 0.0, "maximum": 0.9, "step": 0.1}).info("only applies if non-zero and overrides above"),
"pad_cond_uncond": OptionInfo(False, "Pad prompt/negative prompt to be same length").info("improves performance when prompt and negative prompt have different lengths; changes seeds"),
+ "experimental_persistent_cond_cache": OptionInfo(False, "persistent cond cache").info("Experimental, keep cond caches across jobs, reduce overhead."),
}))
options_templates.update(options_section(('compatibility', "Compatibility"), {