diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-21 12:07:10 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-21 12:07:10 +0000 |
commit | dfd6ea3fcaf2eb701af61136a290132303a729d5 (patch) | |
tree | 6e2f38010d4cd8654f18b02c304370ec7f717202 /modules/shared.py | |
parent | d02c4da483a656331f641224fe5da5f694580066 (diff) | |
download | stable-diffusion-webui-gfx803-dfd6ea3fcaf2eb701af61136a290132303a729d5.tar.gz stable-diffusion-webui-gfx803-dfd6ea3fcaf2eb701af61136a290132303a729d5.tar.bz2 stable-diffusion-webui-gfx803-dfd6ea3fcaf2eb701af61136a290132303a729d5.zip |
ditch --always-batch-cond-uncond in favor of an UI setting
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py index d9d01484..0c57b712 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -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
|