From 0830561b29929e278a0641f80fc12b3aa36dd4e8 Mon Sep 17 00:00:00 2001 From: "LIU, Zichen" <64915812+zliucz@users.noreply.github.com> Date: Sun, 30 Nov 2025 20:09:05 +0800 Subject: [PATCH] Fix bug --- MagicQuill/comfy/cli_args.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagicQuill/comfy/cli_args.py b/MagicQuill/comfy/cli_args.py index fb0d37c..3fa04e5 100644 --- a/MagicQuill/comfy/cli_args.py +++ b/MagicQuill/comfy/cli_args.py @@ -59,7 +59,7 @@ fp_group.add_argument("--force-fp16", action="store_true", help="Force fp16.") fpunet_group = parser.add_mutually_exclusive_group() fpunet_group.add_argument("--bf16-unet", action="store_true", help="Run the UNET in bf16. This should only be used for testing stuff.") fpunet_group.add_argument("--fp16-unet", action="store_true", help="Store unet weights in fp16.") -fpunet_group.add_argument("--fp8_e4m3fn-unet", action="store_true", help="Store unet weights in fp8_e4m3fn.") +fpunet_group.add_argument("--fp8_e4m3fn-unet", type=bool, default=True, help="Store unet weights in fp8_e4m3fn.") fpunet_group.add_argument("--fp8_e5m2-unet", action="store_true", help="Store unet weights in fp8_e5m2.") fpvae_group = parser.add_mutually_exclusive_group()