From a5a760a7d46781df42adb003642d46bd9136496e Mon Sep 17 00:00:00 2001
From: AUTOMATIC <16777216c@gmail.com>
Date: Mon, 12 Sep 2022 16:43:11 +0300
Subject: [PATCH] rename --channelslast to --opt-channelslast to be in line
 with other torch optimizations

---
 modules/shared.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/shared.py b/modules/shared.py
index 720519b0..f4869c7c 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -44,7 +44,7 @@ parser.add_argument("--hide-ui-dir-config", action='store_true', help="hide dire
 parser.add_argument("--ui-settings-file", type=str, help="filename to use for ui settings", default=os.path.join(script_path, 'config.json'))
 parser.add_argument("--gradio-debug",  action='store_true', help="launch gradio with --debug option")
 parser.add_argument("--gradio-auth", type=str, help='set gradio authentication like "username:password"; or comma-delimit multiple like "u1:p1,u2:p2,u3:p3"', default=None)
-parser.add_argument("--channelslast", action='store_true', help="Enable Channels Last Memory Type")
+parser.add_argument("--opt-channelslast", action='store_true', help="change memory type for stable diffusion to channels last")
 
 cmd_opts = parser.parse_args()
 
-- 
GitLab