From f491194440b7b788781d7279b266961a469a6abd Mon Sep 17 00:00:00 2001 From: Thomas Ward Date: Thu, 4 Jul 2024 15:08:52 -0400 Subject: [PATCH] default-hashing-function instead of dupe checking hasher This makes a default-hashing-function option instead of previous selected option. --- comfy/cli_args.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/comfy/cli_args.py b/comfy/cli_args.py index c153ee4d8..004016625 100644 --- a/comfy/cli_args.py +++ b/comfy/cli_args.py @@ -109,8 +109,7 @@ vram_group.add_argument("--lowvram", action="store_true", help="Split the unet i vram_group.add_argument("--novram", action="store_true", help="When lowvram isn't enough.") vram_group.add_argument("--cpu", action="store_true", help="To use the CPU for everything (slow).") -parser.add_argument("--duplicate-check-hash-function", type=str, choices=['md5', 'sha1', 'sha256', 'sha512'], default='sha256', help="Allows you to choose the hash function to use for duplicate filename / contents comparison. Default is sha256.") - +parser.add_argument("--default-hashing-function", type=str, choices=['md5', 'sha1', 'sha256', 'sha512'], default='sha256', help="Allows you to choose the hash function to use for duplicate filename / contents comparison. Default is sha256.") parser.add_argument("--disable-smart-memory", action="store_true", help="Force ComfyUI to agressively offload to regular ram instead of keeping models in vram when it can.") parser.add_argument("--deterministic", action="store_true", help="Make pytorch use slower deterministic algorithms when it can. Note that this might not make images deterministic in all cases.")