ditch --always-batch-cond-uncond in favor of an UI setting

This commit is contained in:
AUTOMATIC1111
2023-08-21 15:07:10 +03:00
parent d02c4da483
commit dfd6ea3fca
4 changed files with 6 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ from modules import util
cmd_opts = shared_cmd_options.cmd_opts
parser = shared_cmd_options.parser
batch_cond_uncond = cmd_opts.always_batch_cond_uncond or not (cmd_opts.lowvram or cmd_opts.medvram)
batch_cond_uncond = True # old field, unused now in favor of shared.opts.batch_cond_uncond
parallel_processing_allowed = not cmd_opts.lowvram and not cmd_opts.medvram
styles_filename = cmd_opts.styles_file
config_filename = cmd_opts.ui_settings_file