@@ -118,5 +118,3 @@ parser.add_argument('--timeout-keep-alive', type=int, default=30, help='set time
...
@@ -118,5 +118,3 @@ parser.add_argument('--timeout-keep-alive', type=int, default=30, help='set time
parser.add_argument("--disable-all-extensions",action='store_true',help="prevent all extensions from running regardless of any other settings",default=False)
parser.add_argument("--disable-all-extensions",action='store_true',help="prevent all extensions from running regardless of any other settings",default=False)
parser.add_argument("--disable-extra-extensions",action='store_true',help="prevent all extensions except built-in from running regardless of any other settings",default=False)
parser.add_argument("--disable-extra-extensions",action='store_true',help="prevent all extensions except built-in from running regardless of any other settings",default=False)
parser.add_argument("--skip-load-model-at-start",action='store_true',help="if load a model at web start, only take effect when --nowebui",)
parser.add_argument("--skip-load-model-at-start",action='store_true',help="if load a model at web start, only take effect when --nowebui",)
parser.add_argument("--opt-unet-fp8-storage",action='store_true',help="use fp8 for SD UNet to save vram",default=False)
parser.add_argument("--opt-unet-fp8-storage-xl",action='store_true',help="use fp8 for SD UNet to save vram",default=False)
"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"),
"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"),
"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"),
"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."),