From 81760781180a085912ee728742a1a4ae0f8ecca1 Mon Sep 17 00:00:00 2001 From: doctorpangloss <@hiddenswitch.com> Date: Wed, 16 Jul 2025 14:26:42 -0700 Subject: [PATCH] add configuration args types --- comfy/cli_args_types.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/comfy/cli_args_types.py b/comfy/cli_args_types.py index 1c0148bd3..9c24ed88b 100644 --- a/comfy/cli_args_types.py +++ b/comfy/cli_args_types.py @@ -157,6 +157,7 @@ class Configuration(dict): async_offload (bool): Use async weight offloading. default_hashing_function (str): Allows you to choose the hash function to use for duplicate filename / contents comparison. Default is sha256. mmap_torch_files (bool): Use mmap when loading ckpt/pt files. + disable_mmap (bool): Don't use mmap when loading safetensors. dont_print_server (bool): Don't print server output. disable_api_nodes (bool): Disable loading all api nodes. front_end_version (str): Specifies the version of the frontend to be used. @@ -274,6 +275,7 @@ class Configuration(dict): self.async_offload: bool = False self.default_hashing_function: str = 'sha256' self.mmap_torch_files: bool = False + self.disable_mmap: bool = False self.disable_api_nodes: bool = False self.front_end_version: str = "comfyanonymous/ComfyUI@latest" self.front_end_root: Optional[str] = None