diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-22 18:49:08 +0300 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-22 18:49:08 +0300 |
commit | 016554e43740e0b7ded75e89255de81270de9d6c (patch) | |
tree | 127ecb9d92ce53f8e351270e8ef1c27784af3088 /modules/cmd_args.py | |
parent | bb7dd7b64668d4b645dba38a3bc52be452d14eb8 (diff) |
add --medvram-sdxl
Diffstat (limited to 'modules/cmd_args.py')
-rw-r--r-- | modules/cmd_args.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/cmd_args.py b/modules/cmd_args.py index 9f8e5b30..f0f361bd 100644 --- a/modules/cmd_args.py +++ b/modules/cmd_args.py @@ -35,6 +35,7 @@ parser.add_argument("--hypernetwork-dir", type=str, default=os.path.join(models_ parser.add_argument("--localizations-dir", type=str, default=os.path.join(script_path, 'localizations'), help="localizations directory")
parser.add_argument("--allow-code", action='store_true', help="allow custom script execution from webui")
parser.add_argument("--medvram", action='store_true', help="enable stable diffusion model optimizations for sacrificing a little speed for low VRM usage")
+parser.add_argument("--medvram-sdxl", action='store_true', help="enable --medvram optimization just for SDXL models")
parser.add_argument("--lowvram", action='store_true', help="enable stable diffusion model optimizations for sacrificing a lot of speed for very low VRM usage")
parser.add_argument("--lowram", action='store_true', help="load stable diffusion checkpoint weights to VRAM instead of RAM")
parser.add_argument("--always-batch-cond-uncond", action='store_true', help="does not do anything")
|