From 0b319e453f3fa27b56ddc030e661c8a86593fcad Mon Sep 17 00:00:00 2001 From: Thomas Ward Date: Thu, 4 Jul 2024 14:28:19 -0400 Subject: [PATCH] cli_args: Add --duplicate-check-hash-function. --- comfy/cli_args.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/comfy/cli_args.py b/comfy/cli_args.py index b72bf3998..c153ee4d8 100644 --- a/comfy/cli_args.py +++ b/comfy/cli_args.py @@ -109,6 +109,8 @@ 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("--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.")