aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared.py
diff options
context:
space:
mode:
authorbrkirch <brkirch@users.noreply.github.com>2022-10-04 09:22:50 +0000
committerbrkirch <brkirch@users.noreply.github.com>2022-10-04 09:22:50 +0000
commitdc9c5a97742e3a34d37da7108642d8adc0dc5858 (patch)
tree40a6b9c8995f167f06db3d0f16780a5fbf14866f /modules/shared.py
parent27ddc24fdee1fbe709054a43235ab7f9c51b3e9f (diff)
downloadstable-diffusion-webui-gfx803-dc9c5a97742e3a34d37da7108642d8adc0dc5858.tar.gz
stable-diffusion-webui-gfx803-dc9c5a97742e3a34d37da7108642d8adc0dc5858.tar.bz2
stable-diffusion-webui-gfx803-dc9c5a97742e3a34d37da7108642d8adc0dc5858.zip
Modify --add-cpu description
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py
index 95b98a06..25aff5b0 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -46,7 +46,7 @@ parser.add_argument("--ldsr-models-path", type=str, help="Path to directory with
parser.add_argument("--opt-split-attention", action='store_true', help="force-enables cross-attention layer optimization. By default, it's on for torch.cuda and off for other torch devices.")
parser.add_argument("--disable-opt-split-attention", action='store_true', help="force-disables cross-attention layer optimization")
parser.add_argument("--opt-split-attention-v1", action='store_true', help="enable older version of split attention optimization that does not consume all the VRAM it can find")
-parser.add_argument("--use-cpu", nargs='+',choices=['SD', 'GFPGAN', 'BSRGAN', 'ESRGAN', 'SCUNet', 'CodeFormer'], help="use CPU for specified modules", default=[])
+parser.add_argument("--use-cpu", nargs='+',choices=['SD', 'GFPGAN', 'BSRGAN', 'ESRGAN', 'SCUNet', 'CodeFormer'], help="use CPU as torch device for specified modules", default=[])
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)