rename --channelslast to --opt-channelslast to be in line with other torch optimizations

This commit is contained in:
AUTOMATIC 2022-09-12 16:43:11 +03:00
parent 01f8de3229
commit a5a760a7d4

View file

@ -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()