diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-24 19:08:08 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-24 19:08:08 +0000 |
commit | 0a89cd1a584b1584a0609c0ba27fb35c434b0b68 (patch) | |
tree | 3770f7d05c23b6810b9b2a001801ab4d55e3f082 /modules/cmd_args.py | |
parent | f451994053140622ef5e394bc02ac166fb74e56f (diff) | |
download | stable-diffusion-webui-gfx803-0a89cd1a584b1584a0609c0ba27fb35c434b0b68.tar.gz stable-diffusion-webui-gfx803-0a89cd1a584b1584a0609c0ba27fb35c434b0b68.tar.bz2 stable-diffusion-webui-gfx803-0a89cd1a584b1584a0609c0ba27fb35c434b0b68.zip |
Use less RAM when creating models
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 dd5fadc4..cb4ec5f7 100644 --- a/modules/cmd_args.py +++ b/modules/cmd_args.py @@ -67,6 +67,7 @@ parser.add_argument("--opt-sdp-no-mem-attention", action='store_true', help="pre parser.add_argument("--disable-opt-split-attention", action='store_true', help="prefer no cross-attention layer optimization for automatic choice of optimization")
parser.add_argument("--disable-nan-check", action='store_true', help="do not check if produced images/latent spaces have nans; useful for running without a checkpoint in CI")
parser.add_argument("--use-cpu", nargs='+', help="use CPU as torch device for specified modules", default=[], type=str.lower)
+parser.add_argument("--disable-model-loading-ram-optimization", action='store_true', help="disable an optimization that reduces RAM use when loading a model")
parser.add_argument("--listen", action='store_true', help="launch gradio with 0.0.0.0 as server name, allowing to respond to network requests")
parser.add_argument("--port", type=int, help="launch gradio with given server port, you need root/admin rights for ports < 1024, defaults to 7860 if available", default=None)
parser.add_argument("--show-negative-prompt", action='store_true', help="does not do anything", default=False)
|