aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared_options.py
diff options
context:
space:
mode:
authorKohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com>2023-11-19 07:50:06 +0000
committerKohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com>2023-11-19 07:50:06 +0000
commit598da5cd4928618b166886d3485ce30ce3a43490 (patch)
tree48bdd2fcf47bd88b9283d13fd53ecc39e5f5ff27 /modules/shared_options.py
parentb60e1088db2497e945d36c7500dcbf03afceedf2 (diff)
downloadstable-diffusion-webui-gfx803-598da5cd4928618b166886d3485ce30ce3a43490.tar.gz
stable-diffusion-webui-gfx803-598da5cd4928618b166886d3485ce30ce3a43490.tar.bz2
stable-diffusion-webui-gfx803-598da5cd4928618b166886d3485ce30ce3a43490.zip
Use options instead of cmd_args
Diffstat (limited to 'modules/shared_options.py')
-rw-r--r--modules/shared_options.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared_options.py b/modules/shared_options.py
index f1003f21..d27f35e9 100644
--- a/modules/shared_options.py
+++ b/modules/shared_options.py
@@ -200,6 +200,7 @@ options_templates.update(options_section(('optimizations', "Optimizations"), {
"pad_cond_uncond": OptionInfo(False, "Pad prompt/negative prompt to be same length", infotext='Pad conds').info("improves performance when prompt and negative prompt have different lengths; changes seeds"),
"persistent_cond_cache": OptionInfo(True, "Persistent cond cache").info("do not recalculate conds from prompts if prompts have not changed since previous calculation"),
"batch_cond_uncond": OptionInfo(True, "Batch cond/uncond").info("do both conditional and unconditional denoising in one batch; uses a bit more VRAM during sampling, but improves speed; previously this was controlled by --always-batch-cond-uncond comandline argument"),
+ "fp8_storage": OptionInfo("Disable", "FP8 weight", gr.Dropdown, {"choices": ["Disable", "Enable for SDXL", "Enable"]}).info("Use FP8 to store Linear/Conv layers' weight. Require pytorch>=2.1.0."),
}))
options_templates.update(options_section(('compatibility', "Compatibility"), {