8000 Header too large error · Issue #7510 · comfyanonymous/ComfyUI · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Header too large error #7510

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
laulahix opened this issue Apr 6, 2025 · 2 comments
Closed

Header too large error #7510

laulahix opened this issue Apr 6, 2025 · 2 comments
Labels
Stale This issue is stale and will be autoclosed soon. User Support A user needs help with something, probably not a bug.

Comments

@laulahix
Copy link
laulahix commented Apr 6, 2025

Your question

Hi I am using a custom template from someone else that seems to be working for a lot of people but when I click Queue the error comes up. I am using MAC, is this why? because its working for others. please help, thank you

Image

ComfyUI Error Report

Error Details

  • Node Type: LoraLoader
  • Exception Type: safetensors_rust.SafetensorError
  • Exception Message: Error while deserializing header: HeaderTooLarge

Stack Trace

  File "/workspace/ComfyUI/execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

  File "/workspace/ComfyUI/execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

  File "/workspace/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "/workspace/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))

  File "/workspace/ComfyUI/nodes.py", line 642, in load_lora
    lora = comfy.utils.load_torch_file(lora_path, safe_load=True)

  File "/workspace/ComfyUI/comfy/utils.py", line 34, in load_torch_file
    sd = safetensors.torch.load_file(ckpt, device=device.type)

  File "/opt/environments/python/comfyui/lib/python3.10/site-packages/safetensors/torch.py", line 313, in load_file
    with safe_open(filename, framework="pt", device=device) as f:

System Information

  • ComfyUI Version: v0.2.7
  • Arguments: main.py --cpu --disable-auto-launch --port 18188
  • OS: posix
  • Python Version: 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0]
  • Embedded Python: false
  • PyTorch Version: 2.5.1+cpu

Devices

  • Name: cpu
    • Type: cpu
    • VRAM Total: 540657459200
    • VRAM Free: 490707734528
    • Torch VRAM Total: 540657459200
    • Torch VRAM Free: 490707734528

Logs

2025-04-06 10:30:34,839 - root - INFO - [ComfyUI-Manager] Skipped fixing the 'comfyui-frontend-package' dependency because the ComfyUI is outdated.
2025-04-06 10:30:36,718 - root - INFO - Total VRAM 515611 MB, total RAM 515611 MB
2025-04-06 10:30:36,719 - root - INFO - pytorch version: 2.5.1+cpu
2025-04-06 10:30:36,719 - root - INFO - Set vram state to: DISABLED
2025-04-06 10:30:36,719 - root - INFO - Device: cpu
2025-04-06 10:30:37,762 - root - INFO - Using sub quadratic optimization for cross attention, if you have memory or speed issues try using: --use-split-cross-attention
2025-04-06 10:30:38,963 - root - INFO - [Prompt Server] web root: /workspace/ComfyUI/web
2025-04-06 10:30:39,771 - bitsandbytes.cextension - ERROR - Could not load bitsandbytes native library: /opt/environments/python/comfyui/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cpu.so: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/opt/environments/python/comfyui/lib/python3.10/site-packages/bitsandbytes/cextension.py", line 85, in <module>
    lib = get_native_library()
  File "/opt/environments/python/comfyui/lib/python3.10/site-packages/bitsandbytes/cextension.py", line 72, in get_native_library
    dll = ct.cdll.LoadLibrary(str(binary_path))
  File "/usr/lib/python3.10/ctypes/__init__.py", line 452, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.10/ctypes/__init__.py", line 374, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /opt/environments/python/comfyui/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cpu.so: cannot open shared object file: No such file or directory
2025-04-06 10:30:41,816 - numexpr.utils - INFO - Note: detected 128 virtual cores but NumExpr set to maximum of 64, check "NUMEXPR_MAX_THREADS" environment variable.
2025-04-06 10:30:41,816 - numexpr.utils - INFO - Note: NumExpr detected 128 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 16.
2025-04-06 10:30:41,816 - numexpr.utils - INFO - NumExpr defaulting to 16 threads.
2025-04-06 10:30:44,056 - root - WARNING - Traceback (most recent call last):
  File "/workspace/ComfyUI/custom_nodes/ComfyUI-SaveImgPrompt/__init__.py", line 7, in <module>
    from .Save_img_prompt import NODE_CLASS_MAPPINGS
  File "/workspace/ComfyUI/custom_nodes/ComfyUI-SaveImgPrompt/Save_img_prompt.py", line 4, in <module>
    import colorama
ModuleNotFoundError: No module named 'colorama'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/workspace/ComfyUI/nodes.py", line 2012, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/workspace/ComfyUI/custom_nodes/ComfyUI-SaveImgPrompt/__init__.py", line 10, in <module>
    from .Save_img_prompt import NODE_CLASS_MAPPINGS
  File "/workspace/ComfyUI/custom_nodes/ComfyUI-SaveImgPrompt/Save_img_prompt.py", line 4, in <module>
    import colorama
ModuleNotFoundError: No module named 'colorama'

2025-04-06 10:30:44,056 - root - WARNING - Cannot import /workspace/ComfyUI/custom_nodes/ComfyUI-SaveImgPrompt module for custom nodes: No module named 'colorama'
2025-04-06 10:30:44,145 - root - INFO - Total VRAM 515611 MB, total RAM 515611 MB
2025-04-06 10:30:44,145 - root - INFO - pytorch version: 2.5.1+cpu
2025-04-06 10:30:44,146 - root - INFO - Set vram state to: DISABLED
2025-04-06 10:30:44,147 - root - INFO - Device: cpu
2025-04-06 10:30:44,903 - root - INFO - ### Loading: ComfyUI-Impact-Subpack (V1.2.9)
2025-04-06 10:30:45,079 - root - INFO - [Impact Subpack] ultralytics_bbox: /workspace/ComfyUI/models/ultralytics/bbox
2025-04-06 10:30:45,079 - root - INFO - [Impact Subpack] ultralytics_segm: /workspace/ComfyUI/models/ultralytics/segm
2025-04-06 10:30:46,069 - root - INFO - ### Loading: ComfyUI-Manager (V3.31.9)
2025-04-06 10:30:46,071 - root - INFO - [ComfyUI-Manager] network_mode: public
2025-04-06 10:30:46,309 - root - INFO - ### ComfyUI Revision: 2808 [69667290] *DETACHED | Released on '2024-11-04'
2025-04-06 10:30:46,547 - root - INFO - 
Import times for custom nodes:
2025-04-06 10:30:46,547 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/websocket_image_save.py
2025-04-06 10:30:46,548 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-Universal-Styler
2025-04-06 10:30:46,548 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI_IF_AI_LoadImages
2025-04-06 10:30:46,548 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/comfy-image-saver
2025-04-06 10:30:46,548 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/masquerade-nodes-comfyui
2025-04-06 10:30:46,549 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/cg-use-everywhere
2025-04-06 10:30:46,549 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/comfyui-copilot
2025-04-06 10:30:46,549 - root - INFO -    0.0 seconds (IMPORT FAILED): /workspace/ComfyUI/custom_nodes/ComfyUI-SaveImgPrompt
2025-04-06 10:30:46,550 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-WD14-Tagger
2025-04-06 10:30:46,550 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-GGUF
2025-04-06 10:30:46,550 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-TiledDiffusion
2025-04-06 10:30:46,550 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus
2025-04-06 10:30:46,550 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI_essentials
2025-04-06 10:30:46,551 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI_UltimateSDUpscale
2025-04-06 10:30:46,551 - root - INFO -    0.1 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-Frame-Interpolation
2025-04-06 10:30:46,551 - root - INFO -    0.1 seconds: /workspace/ComfyUI/custom_nodes/rgthree-comfy
2025-04-06 10:30:46,551 - root - INFO -    0.1 seconds: /workspace/ComfyUI/custom_nodes/comfyui_face_parsing
2025-04-06 10:30:46,551 - root - INFO -    0.1 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI_ExtraModels
2025-04-06 10:30:46,551 - root - INFO -    0.2 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-JakeUpgrade
2025-04-06 10:30:46,552 - root - INFO -    0.2 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-KJNodes
2025-04-06 10:30:46,552 - root - INFO -    0.2 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-Impact-Subpack
2025-04-06 10:30:46,552 - root - INFO -    0.2 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes
2025-04-06 10:30:46,552 - root - INFO -    0.3 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-LCM
2025-04-06 10:30:46,552 - root - INFO -    0.3 seconds: /workspace/ComfyUI/custom_nodes/comfy_mtb
2025-04-06 10:30:46,552 - root - INFO -    0.4 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-Impact-Pack
2025-04-06 10:30:46,552 - root - INFO -    0.4 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI_LayerStyle
2025-04-06 10:30:46,553 - root - INFO -    0.5 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-Manager
2025-04-06 10:30:46,553 - root - INFO -    0.6 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-ReActor
2025-04-06 10:30:46,553 - root - INFO -    0.6 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-VideoHelperSuite
2025-04-06 10:30:46,553 - root - INFO -    1.1 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI_FaceAnalysis
2025-04-06 10:30:46,553 - root - INFO -    1.3 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI_LayerStyle_Advance
2025-04-06 10:30:46,553 - root - INFO - 
2025-04-06 10:30:46,589 - root - INFO - Starting server

2025-04-06 10:30:46,590 - root - INFO - To see the GUI go to: http://127.0.0.1:18188
2025-04-06 10:30:46,709 - root - INFO - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-04-06 10:30:46,735 - root - INFO - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-04-06 10:30:46,781 - root - INFO - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-04-06 10:30:46,855 - root - INFO - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-04-06 10:30:46,903 - root - INFO - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-04-06 10:31:58,518 - root - INFO - [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
2025-04-06 10:31:59,007 - root - INFO - [ComfyUI-Manager] All startup tasks have been completed.
2025-04-06 10:59:04,101 - root - INFO - got prompt
2025-04-06 10:59:04,160 - root - ERROR - Failed to validate prompt for output 24:
2025-04-06 10:59:04,160 - root - ERROR - * LoraLoader 29:
2025-04-06 10:59:04,160 - root - ERROR -   - Value not in list: lora_name: 'ISABELLAGARCIA_LORA.safetensors' not in ['zoom_slider_v1.safetensors']
2025-04-06 10:59:04,161 - root - ERROR - * CheckpointLoaderSimple 27:
2025-04-06 10:59:04,161 - root - ERROR -   - Value not in list: ckpt_name: 'epicrealismXL_vxiiiAb3ast.safetensors' not in ['Juggernaut-XI-byRunDiffusion.safetensors', 'epicrealismXL_vxiAbeast.safetensors', 'uberRealisticPornMerge_v23Final.safetensors']
2025-04-06 10:59:04,161 - root - ERROR - * LoraLoader 28:
2025-04-06 10:59:04,161 - root - ERROR -   - Value not in list: lora_name: 'ISABELLAGARCIA_LORA.safetensors' not in ['zoom_slider_v1.safetensors']
2025-04-06 10:59:04,161 - root - ERROR - Output will be ignored
2025-04-06 10:59:04,162 - root - WARNING - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
2025-04-06 11:08:05,146 - root - INFO - got prompt
2025-04-06 11:08:05,205 - root - ERROR - Failed to validate prompt for output 24:
2025-04-06 11:08:05,205 - root - ERROR - * LoraLoader 29:
2025-04-06 11:08:05,205 - root - ERROR -   - Value not in list: lora_name: 'ISABELLAGARCIA_LORA.safetensors' not in ['zoom_slider_v1.safetensors']
2025-04-06 11:08:05,206 - root - ERROR - Output will be ignored
2025-04-06 11:08:05,206 - root - WARNING - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
2025-04-06 11:08:22,826 - root - INFO - got prompt
2025-04-06 11:08:31,655 - root - INFO - model weight dtype torch.float32, manual cast: None
2025-04-06 11:08:31,661 - root - INFO - model_type EPS
2025-04-06 11:09:55,015 - root - INFO - Using split attention in VAE
2025-04-06 11:09:55,017 - root - INFO - Using split attention in VAE
2025-04-06 11:09:58,235 - root - INFO - Requested to load SDXLClipModel
2025-04-06 11:09:58,236 - root - INFO - Loading 1 new model
2025-04-06 11:09:58,249 - root - INFO - loaded completely 0.0 1560.802734375 True
2025-04-06 11:10:11,763 - root - ERROR - !!! Exception during processing !!! Error while deserializing header: HeaderTooLarge
2025-04-06 11:10:11,768 - root - ERROR - Traceback (most recent call last):
  File "/workspace/ComfyUI/execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
  File "/workspace/ComfyUI/execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
  File "/workspace/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "/workspace/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "/workspace/ComfyUI/nodes.py", line 642, in load_lora
    lora = comfy.utils.load_torch_file(lora_path, safe_load=True)
  File "/workspace/ComfyUI/comfy/utils.py", line 34, in load_torch_file
    sd = safetensors.torch.load_file(ckpt, device=device.type)
  File "/opt/environments/python/comfyui/lib/python3.10/site-packages/safetensors/torch.py", line 313, in load_file
    with safe_open(filename, framework="pt", device=device) as f:
safetensors_rust.SafetensorError: Error while deserializing header: HeaderTooLarge

2025-04-06 11:10:11,769 - root - INFO - Prompt executed in 108.88 seconds
2025-04-06 11:15:49,707 - root - INFO - got prompt
2025-04-06 11:15:49,784 - root - ERROR - !!! Exception during processing !!! Error while deserializing header: HeaderTooLarge
2025-04-06 11:15:49,786 - root - ERROR - Traceback (most recent call last):
  File "/workspace/ComfyUI/execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
  File "/workspace/ComfyUI/execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
  File "/workspace/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "/workspace/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "/workspace/ComfyUI/nodes.py", line 642, in load_lora
    lora = comfy.utils.load_torch_file(lora_path, safe_load=True)
  File "/workspace/ComfyUI/comfy/utils.py", line 34, in load_torch_file
    sd = safetensors.torch.load_file(ckpt, device=device.type)
  File "/opt/environments/python/comfyui/lib/python3.10/site-packages/safetensors/torch.py", line 313, in load_file
    with safe_open(filename, framework="pt", device=device) as f:
safetensors_rust.SafetensorError: Error while deserializing header: HeaderTooLarge

2025-04-06 11:15:49,788 - root - INFO - Prompt executed in 0.02 seconds

Attached Workflow

Please make sure that workflow does not contain any sensitive information such as API keys or passwords.

{"last_node_id":29,"last_link_id":27,"nodes":[{"id":3,"type":"KSampler","pos":{"0":1015,"1":130},"size":{"0":315,"1":262},"flags":{},"order":10,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":25},{"name":"positive","type":"CONDITIONING","link":2},{"name":"negative","type":"CONDITIONING","link":3},{"name":"latent_image","type":"LATENT","link":4}],"outputs":[{"name":"LATENT","type":"LATENT","links":[7],"shape":3}],"properties":{"cnr_id":"comfy-core","ver":"v0.2.7","Node name for S&R":"KSampler"},"widgets_values":[359784606004675,"randomize",35,4,"dpmpp_2m","karras",0.8]},{"id":8,"type":"VAEDecode","pos":{"0":1430,"1":130},"size":{"0":210,"1":46},"flags":{},"order":11,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":7},{"name":"vae","type":"VAE","link":8}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[9],"shape":3}],"properties":{"cnr_id":"comfy-core","ver":"v0.2.7","Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":17,"type":"FaceDetailer","pos":{"0":1740,"1":130},"size":{"0":519,"1":948},"flags":{},"order":12,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":9},{"name":"model","type":"MODEL","link":21},{"name":"clip","type":"CLIP","link":22},{"name":"vae","type":"VAE","link":12},{"name":"positive","type":"CONDITIONING","link":13},{"name":"negative","type":"CONDITIONING","link":14},{"name":"bbox_detector","type":"BBOX_DETECTOR","link":15},{"name":"sam_model_opt","type":"SAM_MODEL","link":16,"shape":7},{"name":"segm_detector_opt","type":"SEGM_DETECTOR","link":17,"shape":7},{"name":"detailer_hook","type":"DETAILER_HOOK","link":null,"shape":7},{"name":"scheduler_func_opt","type":"SCHEDULER_FUNC","link":null,"shape":7}],"outputs":[{"name":"image","type":"IMAGE","links":[18],"shape":3},{"name":"cropped_refined","type":"IMAGE","links":null,"shape":6},{"name":"cropped_enhanced_alpha","type":"IMAGE","links":null,"shape":6},{"name":"mask","type":"MASK","links":null,"shape":3},{"name":"detailer_pipe","type":"DETAILER_PIPE","links":null,"shape":3},{"name":"cnet_images","type":"IMAGE","links":null,"shape":6}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"0b1ac0f1c5a395e17065821e4fd47aba3bf23900","Node name for S&R":"FaceDetailer"},"widgets_values":[1024,true,1024,550390600062722,"randomize",26,3,"dpmpp_3m_sde_gpu","karras",0.7000000000000001,15,true,true,0.75,10,3,"center-1",0,0.93,0,0.7000000000000001,"False",10,"",1,false,20,false,false]},{"id":19,"type":"UltralyticsDetectorProvider","pos":{"0":102,"1":745},"size":{"0":315,"1":78},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"BBOX_DETECTOR","type":"BBOX_DETECTOR","links":null,"shape":3},{"name":"SEGM_DETECTOR","type":"SEGM_DETECTOR","links":[17],"shape":3}],"properties":{"cnr_id":"comfyui-impact-subpack","ver":"74db20c95eca152a6d686c914edc0ef4e4762cb8","Node name for S&R":"UltralyticsDetectorProvider"},"widgets_values":["segm/yolov8m-seg.pt"]},{"id":20,"type":"SAMLoader","pos":{"0":115,"1":876},"size":{"0":315,"1":82},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"SAM_MODEL","type":"SAM_MODEL","links":[16],"shape":3}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"0b1ac0f1c5a395e17065821e4fd47aba3bf23900","Node name for S&R":"SAMLoader"},"widgets_values":["sam_vit_b_01ec64.pth","AUTO"]},{"id":5,"type":"EmptyLatentImage","pos":{"0":95,"1":429},"size":{"0":315,"1":106},"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"LATENT","type":"LATENT","links":[4],"shape":3}],"properties":{"cnr_id":"comfy-core","ver":"v0.2.7","Node name for S&R":"EmptyLatentImage"},"widgets_values":[1024,1024,12]},{"id":18,"type":"UltralyticsDetectorProvider","pos":{"0":101,"1":603},"size":{"0":315,"1":78},"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"BBOX_DETECTOR","type":"BBOX_DETECTOR","links":[15],"shape":3},{"name":"SEGM_DETECTOR","type":"SEGM_DETECTOR","links":null,"shape":3}],"properties":{"cnr_id":"comfyui-impact-subpack","ver":"74db20c95eca152a6d686c914edc0ef4e4762cb8","Node name for S&R":"UltralyticsDetectorProvider"},"widgets_values":["bbox/face_yolov8m.pt"]},{"id":4,"type":"CheckpointLoaderSimple","pos":{"0":142,"1":19},"size":{"0":315,"1":98},"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[23],"slot_index":0,"shape":3},{"name":"CLIP","type":"CLIP","links":[24],"slot_index":1,"shape":3},{"name":"VAE","type":"VAE","links":[8],"shape":3}],"properties":{"cnr_id":"comfy-core","ver":"v0.2.7","Node name for S&R":"CheckpointLoaderSimple"},"widgets_values":["uberRealisticPornMerge_v23Final.safetensors"]},{"id":24,"type":"SaveImage","pos":{"0":2496,"1":124},"size":{"0":1362.515869140625,"1":1112.16748046875},"flags":{},"order":13,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":18}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"v0.2.7"},"widgets_values":["ComfyUI"]},{"id":6,"type":"CLIPTextEncode","pos":{"0":515,"1":130},"size":{"0":400,"1":200},"flags":{},"order":8,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":26}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[2,13],"shape":3}],"properties":{"cnr_id":"comfy-core","ver":"v0.2.7","Node name for S&R":"CLIPTextEncode"},"widgets_values":["instagram photo of Holly Sing, a 19 year old girl, from US, caucasian, slight skin imperfections, Stunning young woman, symmetrical and soft oval face, high cheekbones, slightly rounded and defined jawline, delicate and feminine facial structure, straight and well-proportioned nose with a softly rounded tip, small nose, plump lips, full lips with a well-defined cupid's bow, plump and naturally pink lips, large almond-shaped light blue eyes with a slight upward tilt at the outer corners, long and voluminous curled eyelashes, well-groomed medium-thirkness evehrows with a soft natural arch. smooth and radiant, bountiful 38DDD cleavage, narrow waist, golden hoop earrings, (navel piercing: 1.2), thigh gap\n     \nwearing a tight black mini dress, with a deep plunging neckline, crisscross lace-up design, black spaghetti straps, sitting on her knees in the ocean, tropical island in the background,\n\nsymmetrical composition, shallow depth of field,, leading lines, rule of thirds, skin textures, skin imperfections"],"color":"#232","bgcolor":"#353"},{"id":7,"type":"CLIPTextEncode","pos":{"0":513,"1":402},"size":{"0":400,"1":200},"flags":{},"order":9,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":27}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[3,14],"shape":3}],"properties":{"cnr_id":"comfy-core","ver":"v0.2.7","Node name for S&R":"CLIPTextEncode"},"widgets_values":["text, watermark, bad eyes, bad hands, nude, naked, nipples"],"color":"#322","bgcolor":"#533"},{"id":27,"type":"CheckpointLoaderSimple","pos":{"0":516,"1":668},"size":{"0":315,"1":98},"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[19],"slot_index":0,"shape":3},{"name":"CLIP","type":"CLIP","links":[20],"slot_index":1,"shape":3},{"name":"VAE","type":"VAE","links":[12],"shape":3}],"properties":{"cnr_id":"comfy-core","ver":"v0.2.7","Node name for S&R":"CheckpointLoaderSimple"},"widgets_values":["epicrealismXL_vxiAbeast.safetensors"]},{"id":29,"type":"LoraLoader","pos":{"0":113,"1":208},"size":{"0":315,"1":126},"flags":{},"order":6,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":23},{"name":"clip","type":"CLIP","link":24}],"outputs":[{"name":"MODEL","type":"MODEL","links":[25],"slot_index":0,"shape":3},{"name":"CLIP","type":"CLIP","links":[26,27],"slot_index":1,"shape":3}],"properties":{"cnr_id":"comfy-core","ver":"v0.2.7","Node name for S&R":"LoraLoader"},"widgets_values":["zoom_slider_v1.safetensors",1,1]},{"id":28,"type":"LoraLoader","pos":{"0":970,"1":670},"size":{"0":315,"1":126},"flags":{},"order":7,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":19},{"name":"clip","type":"CLIP","link":20}],"outputs":[{"name":"MODEL","type":"MODEL","links":[21],"slot_index":0,"shape":3},{"name":"CLIP","type":"CLIP","links":[22],"slot_index":1,"shape":3}],"properties":{"cnr_id":"comfy-core","ver":"v0.2.7","Node name for S&R":"LoraLoader"},"widgets_values":["zoom_slider_v1.safetensors",1,1]}],"links":[[2,6,0,3,1,"CONDITIONING"],[3,7,0,3,2,"CONDITIONING"],[4,5,0,3,3,"LATENT"],[7,3,0,8,0,"LATENT"],[8,4,2,8,1,"VAE"],[9,8,0,17,0,"IMAGE"],[12,27,2,17,3,"VAE"],[13,6,0,17,4,"CONDITIONING"],[14,7,0,17,5,"CONDITIONING"],[15,18,0,17,6,"BBOX_DETECTOR"],[16,20,0,17,7,"SAM_MODEL"],[17,19,1,17,8,"SEGM_DETECTOR"],[18,17,0,24,0,"IMAGE"],[19,27,0,28,0,"MODEL"],[20,27,1,28,1,"CLIP"],[21,28,0,17,1,"MODEL"],[22,28,1,17,2,"CLIP"],[23,4,0,29,0,"MODEL"],[24,4,1,29,1,"CLIP"],[25,29,0,3,0,"MODEL"],[26,29,1,6,0,"CLIP"],[27,29,1,7,0,"CLIP"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.5644739300537776,"offset":[-100.85937750000011,127.12084099999986]},"ue_links":[]},"version":0.4}

Additional Context

(Please add any additional context or steps to reproduce the error here)

Logs

# ComfyUI Error Report
## Error Details
- **Node Type:** LoraLoader
- **Exception Type:** safetensors_rust.SafetensorError
- **Exception Message:** Error while deserializing header: HeaderTooLarge
## Stack Trace

  File "/workspace/ComfyUI/execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

  File "/workspace/ComfyUI/execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

  File "/workspace/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "/workspace/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))

  File "/workspace/ComfyUI/nodes.py", line 642, in load_lora
    lora = comfy.utils.load_torch_file(lora_path, safe_load=True)

  File "/workspace/ComfyUI/comfy/utils.py", line 34, in load_torch_file
    sd = safetensors.torch.load_file(ckpt, device=device.type)

  File "/opt/environments/python/comfyui/lib/python3.10/site-packages/safetensors/torch.py", line 313, in load_file
    with safe_open(filename, framework="pt", device=device) as f:


## System Information
- **ComfyUI Version:** v0.2.7
- **Arguments:** main.py --cpu --disable-auto-launch --port 18188
- **OS:** posix
- **Python Version:** 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0]
- **Embedded Python:** false
- **PyTorch Version:** 2.5.1+cpu
## Devices

- **Name:** cpu
  - **Type:** cpu
  - **VRAM Total:** 540657459200
  - **VRAM Free:** 490707734528
  - **Torch VRAM Total:** 540657459200
  - **Torch VRAM Free:** 490707734528

## Logs

2025-04-06 10:30:34,839 - root - INFO - [ComfyUI-Manager] Skipped fixing the 'comfyui-frontend-package' dependency because the ComfyUI is outdated.
2025-04-06 10:30:36,718 - root - INFO - Total VRAM 515611 MB, total RAM 515611 MB
2025-04-06 10:30:36,719 - root - INFO - pytorch version: 2.5.1+cpu
2025-04-06 10:30:36,719 - root - INFO - Set vram state to: DISABLED
2025-04-06 10:30:36,719 - root - INFO - Device: cpu
2025-04-06 10:30:37,762 - root - INFO - Using sub quadratic optimization for cross attention, if you have memory or speed issues try using: --use-split-cross-attention
2025-04-06 10:30:38,963 - root - INFO - [Prompt Server] web root: /workspace/ComfyUI/web
2025-04-06 10:30:39,771 - bitsandbytes.cextension - ERROR - Could not load bitsandbytes native library: /opt/environments/python/comfyui/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cpu.so: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/opt/environments/python/comfyui/lib/python3.10/site-packages/bitsandbytes/cextension.py", line 85, in <module>
    lib = get_native_library()
  File "/opt/environments/python/comfyui/lib/python3.10/site-packages/bitsandbytes/cextension.py", line 72, in get_native_library
    dll = ct.cdll.LoadLibrary(str(binary_path))
  File "/usr/lib/python3.10/ctypes/__init__.py", line 452, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.10/ctypes/__init__.py", line 374, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /opt/environments/python/comfyui/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cpu.so: cannot open shared object file: No such file or directory
2025-04-06 10:30:41,816 - numexpr.utils - INFO - Note: detected 128 virtual cores but NumExpr set to maximum of 64, check "NUMEXPR_MAX_THREADS" environment variable.
2025-04-06 10:30:41,816 - numexpr.utils - INFO - Note: NumExpr detected 128 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 16.
2025-04-06 10:30:41,816 - numexpr.utils - INFO - NumExpr defaulting to 16 threads.
2025-04-06 10:30:44,056 - root - WARNING - Traceback (most recent call last):
  File "/workspace/ComfyUI/custom_nodes/ComfyUI-SaveImgPrompt/__init__.py", line 7, in <module>
    from .Save_img_prompt import NODE_CLASS_MAPPINGS
  File "/workspace/ComfyUI/custom_nodes/ComfyUI-SaveImgPrompt/Save_img_prompt.py", line 4, in <module>
    import colorama
ModuleNotFoundError: No module named 'colorama'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/workspace/ComfyUI/nodes.py", line 2012, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/workspace/ComfyUI/custom_nodes/ComfyUI-SaveImgPrompt/__init__.py", line 10, in <module>
    from .Save_img_prompt import NODE_CLASS_MAPPINGS
  File "/workspace/ComfyUI/custom_nodes/ComfyUI-SaveImgPrompt/Save_img_prompt.py", line 4, in <module>
    import colorama
ModuleNotFoundError: No module named 'colorama'

2025-04-06 10:30:44,056 - root - WARNING - Cannot import /workspace/ComfyUI/custom_nodes/ComfyUI-SaveImgPrompt module for custom nodes: No module named 'colorama'
2025-04-06 10:30:44,145 - root - INFO - Total VRAM 515611 MB, total RAM 515611 MB
2025-04-06 10:30:44,145 - root - INFO - pytorch version: 2.5.1+cpu
2025-04-06 10:30:44,146 - root - INFO - Set vram state to: DISABLED
2025-04-06 10:30:44,147 - root - INFO - Device: cpu
2025-04-06 10:30:44,903 - root - INFO - ### Loading: ComfyUI-Impact-Subpack (V1.2.9)
2025-04-06 10:30:45,079 - root - INFO - [Impact Subpack] ultralytics_bbox: /workspace/ComfyUI/models/ultralytics/bbox
2025-04-06 10:30:45,079 - root - INFO - [Impact Subpack] ultralytics_segm: /workspace/ComfyUI/models/ultralytics/segm
2025-04-06 10:30:46,069 - root - INFO - ### Loading: ComfyUI-Manager (V3.31.9)
2025-04-06 10:30:46,071 - root - INFO - [ComfyUI-Manager] network_mode: public
2025-04-06 10:30:46,309 - root - INFO - ### ComfyUI Revision: 2808 [69667290] *DETACHED | Released on '2024-11-04'
2025-04-06 10:30:46,547 - root - INFO - 
Import times for custom nodes:
2025-04-06 10:30:46,547 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/websocket_image_save.py
2025-04-06 10:30:46,548 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-Universal-Styler
2025-04-06 10:30:46,548 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI_IF_AI_LoadImages
2025-04-06 10:30:46,548 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/comfy-image-saver
2025-04-06 10:30:46,548 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/masquerade-nodes-comfyui
2025-04-06 10:30:46,549 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/cg-use-everywhere
2025-04-06 10:30:46,549 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/comfyui-copilot
2025-04-06 10:30:46,549 - root - INFO -    0.0 seconds (IMPORT FAILED): /workspace/ComfyUI/custom_nodes/ComfyUI-SaveImgPrompt
2025-04-06 10:30:46,550 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-WD14-Tagger
2025-04-06 10:30:46,550 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-GGUF
2025-04-06 10:30:46,550 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-TiledDiffusion
2025-04-06 10:30:46,550 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus
2025-04-06 10:30:46,550 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI_essentials
2025-04-06 10:30:46,551 - root - INFO -    0.0 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI_UltimateSDUpscale
2025-04-06 10:30:46,551 - root - INFO -    0.1 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-Frame-Interpolation
2025-04-06 10:30:46,551 - root - INFO -    0.1 seconds: /workspace/ComfyUI/custom_nodes/rgthree-comfy
2025-04-06 10:30:46,551 - root - INFO -    0.1 seconds: /workspace/ComfyUI/custom_nodes/comfyui_face_parsing
2025-04-06 10:30:46,551 - root - INFO -    0.1 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI_ExtraModels
2025-04-06 10:30:46,551 - root - INFO -    0.2 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-JakeUpgrade
2025-04-06 10:30:46,552 - root - INFO -    0.2 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-KJNodes
2025-04-06 10:30:46,552 - root - INFO -    0.2 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-Impact-Subpack
2025-04-06 10:30:46,552 - root - INFO -    0.2 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes
2025-04-06 10:30:46,552 - root - INFO -    0.3 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-LCM
2025-04-06 10:30:46,552 - root - INFO -    0.3 seconds: /workspace/ComfyUI/custom_nodes/comfy_mtb
2025-04-06 10:30:46,552 - root - INFO -    0.4 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-Impact-Pack
2025-04-06 10:30:46,552 - root - INFO -    0.4 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI_LayerStyle
2025-04-06 10:30:46,553 - root - INFO -    0.5 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-Manager
2025-04-06 10:30:46,553 - root - INFO -    0.6 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-ReActor
2025-04-06 10:30:46,553 - root - INFO -    0.6 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI-VideoHelperSuite
2025-04-06 10:30:46,553 - root - INFO -    1.1 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI_FaceAnalysis
2025-04-06 10:30:46,553 - root - INFO -    1.3 seconds: /workspace/ComfyUI/custom_nodes/ComfyUI_LayerStyle_Advance
2025-04-06 10:30:46,553 - root - INFO - 
2025-04-06 10:30:46,589 - root - INFO - Starting server

2025-04-06 10:30:46,590 - root - INFO - To see the GUI go to: http://127.0.0.1:18188
2025-04-06 10:30:46,709 - root - INFO - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-04-06 10:30:46,735 - root - INFO - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-04-06 10:30:46,781 - root - INFO - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-04-06 10:30:46,855 - root - INFO - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-04-06 10:30:46,903 - root - INFO - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-04-06 10:31:58,518 - root - INFO - [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
2025-04-06 10:31:59,007 - root - INFO - [ComfyUI-Manager] All startup tasks have been completed.
2025-04-06 10:59:04,101 - root - INFO - got prompt
2025-04-06 10:59:04,160 - root - ERROR - Failed to validate prompt for output 24:
2025-04-06 10:59:04,160 - root - ERROR - * LoraLoader 29:
2025-04-06 10:59:04,160 - root - ERROR -   - Value not in list: lora_name: 'ISABELLAGARCIA_LORA.safetensors' not in ['zoom_slider_v1.safetensors']
2025-04-06 10:59:04,161 - root - ERROR - * CheckpointLoaderSimple 27:
2025-04-06 10:59:04,161 - root - ERROR -   - Value not in list: ckpt_name: 'epicrealismXL_vxiiiAb3ast.safetensors' not in ['Juggernaut-XI-byRunDiffusion.safetensors', 'epicrealismXL_vxiAbeast.safetensors', 'uberRealisticPornMerge_v23Final.safetensors']
2025-04-06 10:59:04,161 - root - ERROR - * LoraLoader 28:
2025-04-06 10:59:04,161 - root - ERROR -   - Value not in list: lora_name: 'ISABELLAGARCIA_LORA.safetensors' not in ['zoom_slider_v1.safetensors']
2025-04-06 10:59:04,161 - root - ERROR - Output will be ignored
2025-04-06 10:59:04,162 - root - WARNING - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
2025-04-06 11:08:05,146 - root - INFO - got prompt
2025-04-06 11:08:05,205 - root - ERROR - Failed to validate prompt for output 24:
2025-04-06 11:08:05,205 - root - ERROR - * LoraLoader 29:
2025-04-06 11:08:05,205 - root - ERROR -   - Value not in list: lora_name: 'ISABELLAGARCIA_LORA.safetensors' not in ['zoom_slider_v1.safetensors']
2025-04-06 11:08:05,206 - root - ERROR - Output will be ignored
2025-04-06 11:08:05,206 - root - WARNING - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
2025-04-06 11:08:22,826 - root - INFO - got prompt
2025-04-06 11:08:31,655 - root - INFO - model weight dtype torch.float32, manual cast: None
2025-04-06 11:08:31,661 - root - INFO - model_type EPS
2025-04-06 11:09:55,015 - root - INFO - Using split attention in VAE
2025-04-06 11:09:55,017 - root - INFO - Using split attention in VAE
2025-04-06 11:09:58,235 - root - INFO - Requested to load SDXLClipModel
2025-04-06 11:09:58,236 - root - INFO - Loading 1 new model
2025-04-06 11:09:58,249 - root - INFO - loaded completely 0.0 1560.802734375 True
2025-04-06 11:10:11,763 - root - ERROR - !!! Exception during processing !!! Error while deserializing header: HeaderTooLarge
2025-04-06 11:10:11,768 - root - ERROR - Traceback (most recent call last):
  File "/workspace/ComfyUI/execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
  File "/workspace/ComfyUI/execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
  File "/workspace/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "/workspace/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "/workspace/ComfyUI/nodes.py", line 642, in load_lora
    lora = comfy.utils.load_torch_file(lora_path, safe_load=True)
  File "/workspace/ComfyUI/comfy/utils.py", line 34, in load_torch_file
    sd = safetensors.torch.load_file(ckpt, device=device.type)
  File "/opt/environments/python/comfyui/lib/python3.10/site-packages/safetensors/torch.py", line 313, in load_file
    with safe_open(filename, framework="pt", device=device) as f:
safetensors_rust.SafetensorError: Error while deserializing header: HeaderTooLarge

2025-04-06 11:10:11,769 - root - INFO - Prompt executed in 108.88 seconds
2025-04-06 11:15:49,707 - root - INFO - got prompt
2025-04-06 11:15:49,784 - root - ERROR - !!! Exception during processing !!! Error while deserializing header: HeaderTooLarge
2025-04-06 11:15:49,786 - root - ERROR - Traceback (most recent call last):
  File "/workspace/ComfyUI/execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
  File "/workspace/ComfyUI/execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
  File "/workspace/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "/workspace/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "/workspace/ComfyUI/nodes.py", line 642, in load_lora
    lora = comfy.utils.load_torch_file(lora_path, safe_load=True)
  File "/workspace/ComfyUI/comfy/utils.py", line 34, in load_torch_file
    sd = safetensors.torch.load_file(ckpt, device=device.type)
  File "/opt/environments/python/comfyui/lib/python3.10/site-packages/safetensors/torch.py", line 313, in load_file
    with safe_open(filename, framework="pt", device=device) as f:
safetensors_rust.SafetensorError: Error while deserializing header: HeaderTooLarge

2025-04-06 11:15:49,788 - root - INFO - Prompt executed in 0.02 seconds

## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.

{"last_node_id":29,"last_link_id":27,"nodes":[{"id":3,"type":"KSampler","pos":{"0":1015,"1":130},"size":{"0":315,"1":262},"flags":{},"order":10,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":25},{"name":"positive","type":"CONDITIONING","link":2},{"name":"negative","type":"CONDITIONING","link":3},{"name":"latent_image","type":"LATENT","link":4}],"outputs":[{"name":"LATENT","type":"LATENT","links":[7],"shape":3}],"properties":{"cnr_id":"comfy-core","ver":"v0.2.7","Node name for S&R":"KSampler"},"widgets_values":[359784606004675,"randomize",35,4,"dpmpp_2m","karras",0.8]},{"id":8,"type":"VAEDecode","pos":{"0":1430,"1":130},"size":{"0":210,"1":46},"flags":{},"order":11,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":7},{"name":"vae","type":"VAE","link":8}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[9],"shape":3}],"properties":{"cnr_id":"comfy-core","ver":"v0.2.7","Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":17,"type":"FaceDetailer","pos":{"0":1740,"1":130},"size":{"0":519,"1":948},"flags":{},"order":12,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":9},{"name":"model","type":"MODEL","link":21},{"name":"clip","type":"CLIP","link":22},{"name":"vae","type":"VAE","link":12},{"name":"positive","type":"CONDITIONING","link":13},{"name":"negative","type":"CONDITIONING","link":14},{"name":"bbox_detector","type":"BBOX_DETECTOR","link":15},{"name":"sam_model_opt","type":"SAM_MODEL","link":16,"shape":7},{"name":"segm_detector_opt","type":"SEGM_DETECTOR","link":17,"shape":7},{"name":"detailer_hook","type":"DETAILER_HOOK","link":null,"shape":7},{"name":"scheduler_func_opt","type":"SCHEDULER_FUNC","link":null,"shape":7}],"outputs":[{"name":"image","type":"IMAGE","links":[18],"shape":3},{"name":"cropped_refined","type":"IMAGE","links":null,"shape":6},{"name":"cropped_enhanced_alpha","type":"IMAGE","links":null,"shape":6},{"name":"mask","type":"MASK","links":null,"shape":3},{"name":"detailer_pipe","type":"DETAILER_PIPE","links":null,"shape":3},{"name":"cnet_images","type":"IMAGE","links":null,"shape":6}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"0b1ac0f1c5a395e17065821e4fd47aba3bf23900","Node name for S&R":"FaceDetailer"},"widgets_values":[1024,true,1024,550390600062722,"randomize",26,3,"dpmpp_3m_sde_gpu","karras",0.7000000000000001,15,true,true,0.75,10,3,"center-1",0,0.93,0,0.7000000000000001,"False",10,"",1,false,20,false,false]},{"id":19,"type":"UltralyticsDetectorProvider","pos":{"0":102,"1":745},"size":{"0":315,"1":78},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"BBOX_DETECTOR","type":"BBOX_DETECTOR","links":null,"shape":3},{"name":"SEGM_DETECTOR","type":"SEGM_DETECTOR","links":[17],"shape":3}],"properties":{"cnr_id":"comfyui-impact-subpack","ver":"74db20c95eca152a6d686c914edc0ef4e4762cb8","Node name for S&R":"UltralyticsDetectorProvider"},"widgets_values":["segm/yolov8m-seg.pt"]},{"id":20,"type":"SAMLoader","pos":{"0":115,"1":876},"size":{"0":315,"1":82},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"SAM_MODEL","type":"SAM_MODEL","links":[16],"shape":3}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"0b1ac0f1c5a395e17065821e4fd47aba3bf23900","Node name for S&R":"SAMLoader"},"widgets_values":["sam_vit_b_01ec64.pth","AUTO"]},{"id":5,"type":"EmptyLatentImage","pos":{"0":95,"1":429},"size":{"0":315,"1":106},"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"LATENT","type":"LATENT","links":[4],"shape":3}],"properties":{"cnr_id":"comfy-core","ver":"v0.2.7","Node name for S&R":"EmptyLatentImage"},"widgets_values":[1024,1024,12]},{"id":18,"type":"UltralyticsDetectorProvider","pos":{"0":101,"1":603},"size":{"0":315,"1":78},"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"BBOX_DETECTOR","type":"BBOX_DETECTOR","links":[15],"shape":3},{"name":"SEGM_DETECTOR","type":"SEGM_DETECTOR","links":null,"shape":3}],"properties":{"cnr_id":"comfyui-impact-subpack","ver":"74db20c95eca152a6d686c914edc0ef4e4762cb8","Node name for S&R":"UltralyticsDetectorProvider"},"widgets_values":["bbox/face_yolov8m.pt"]},{"id":4,"type":"CheckpointLoaderSimple","pos":{"0":142,"1":19},"size":{"0":315,"1":98},"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[23],"slot_index":0,"shape":3},{"name":"CLIP","type":"CLIP","links":[24],"slot_index":1,"shape":3},{"name":"VAE","type":"VAE","links":[8],"shape":3}],"properties":{"cnr_id":"comfy-core","ver":"v0.2.7","Node name for S&R":"CheckpointLoaderSimple"},"widgets_values":["uberRealisticPornMerge_v23Final.safetensors"]},{"id":24,"type":"SaveImage","pos":{"0":2496,"1":124},"size":{"0":1362.515869140625,"1":1112.16748046875},"flags":{},"order":13,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":18}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"v0.2.7"},"widgets_values":["ComfyUI"]},{"id":6,"type":"CLIPTextEncode","pos":{"0":515,"1":130},"size":{"0":400,"1":200},"flags":{},"order":8,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":26}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[2,13],"shape":3}],"properties":{"cnr_id":"comfy-core","ver":"v0.2.7","Node name for S&R":"CLIPTextEncode"},"widgets_values":["instagram photo of Holly Sing, a 19 year old girl, from US, caucasian, slight skin imperfections, Stunning young woman, symmetrical and soft oval face, high cheekbones, slightly rounded and defined jawline, delicate and feminine facial structure, straight and well-proportioned nose with a softly rounded tip, small nose, plump lips, full lips with a well-defined cupid's bow, plump and naturally pink lips, large almond-shaped light blue eyes with a slight upward tilt at the outer corners, long and voluminous curled eyelashes, well-groomed medium-thirkness evehrows with a soft natural arch. smooth and radiant, bountiful 38DDD cleavage, narrow waist, golden hoop earrings, (navel piercing: 1.2), thigh gap\n     \nwearing a tight black mini dress, with a deep plunging neckline, crisscross lace-up design, black spaghetti straps, sitting on her knees in the ocean, tropical island in the background,\n\nsymmetrical composition, shallow depth of field,, leading lines, rule of thirds, skin textures, skin imperfections"],"color":"#232","bgcolor":"#353"},{"id":7,"type":"CLIPTextEncode","pos":{"0":513,"1":402},"size":{"0":400,"1":200},"flags":{},"order":9,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":27}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[3,14],"shape":3}],"properties":{"cnr_id":"comfy-core","ver":"v0.2.7","Node name for S&R":"CLIPTextEncode"},"widgets_values":["text, watermark, bad eyes, bad hands, nude, naked, nipples"],"color":"#322","bgcolor":"#533"},{"id":27,"type":"CheckpointLoaderSimple","pos":{"0":516,"1":668},"size":{"0":315,"1":98},"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[19],"slot_index":0,"shape":3},{"name":"CLIP","type":"CLIP","links":[20],"slot_index":1,"shape":3},{"name":"VAE","type":"VAE","links":[12],"shape":3}],"properties":{"cnr_id":"comfy-core","ver":"v0.2.7","Node name for S&R":"CheckpointLoaderSimple"},"widgets_values":["epicrealismXL_vxiAbeast.safetensors"]},{"id":29,"type":"LoraLoader","pos":{"0":113,"1":208},"size":{"0":315,"1":126},"flags":{},"order":6,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":23},{"name":"clip","type":"CLIP","link":24}],"outputs":[{"name":"MODEL","type":"MODEL","links":[25],"slot_index":0,"shape":3},{"name":"CLIP","type":"CLIP","links":[26,27],"slot_index":1,"shape":3}],"properties":{"cnr_id":"comfy-core","ver":"v0.2.7","Node name for S&R":"LoraLoader"},"widgets_values":["zoom_slider_v1.safetensors",1,1]},{"id":28,"type":"LoraLoader","pos":{"0":970,"1":670},"size":{"0":315,"1":126},"flags":{},"order":7,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":19},{"name":"clip","type":"CLIP","link":20}],"outputs":[{"name":"MODEL","type":"MODEL","links":[21],"slot_index":0,"shape":3},{"name":"CLIP","type":"CLIP","links":[22],"slot_index":1,"shape":3}],"properties":{"cnr_id":"comfy-core","ver":"v0.2.7","Node name for S&R":"LoraLoader"},"widgets_values":["zoom_slider_v1.safetensors",1,1]}],"links":[[2,6,0,3,1,"CONDITIONING"],[3,7,0,3,2,"CONDITIONING"],[4,5,0,3,3,"LATENT"],[7,3,0,8,0,"LATENT"],[8,4,2,8,1,"VAE"],[9,8,0,17,0,"IMAGE"],[12,27,2,17,3,"VAE"],[13,6,0,17,4,"CONDITIONING"],[14,7,0,17,5,"CONDITIONING"],[15,18,0,17,6,"BBOX_DETECTOR"],[16,20,0,17,7,"SAM_MODEL"],[17,19,1,17,8,"SEGM_DETECTOR"],[18,17,0,24,0,"IMAGE"],[19,27,0,28,0,"MODEL"],[20,27,1,28,1,"CLIP"],[21,28,0,17,1,"MODEL"],[22,28,1,17,2,"CLIP"],[23,4,0,29,0,"MODEL"],[24,4,1,29,1,"CLIP"],[25,29,0,3,0,"MODEL"],[26,29,1,6,0,"CLIP"],[27,29,1,7,0,"CLIP"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.5644739300537776,"offset":[-100.85937750000011,127.12084099999986]},"ue_links":[]},"version":0.4}


## Additional Context
(Please add any additional context or steps to reproduce the error here)

Other

No response

@laulahix laulahix added the User Support A user needs help with something, probably not a bug. label Apr 6, 2025
@ltdrdata
Copy link
Collaborator

Ensure your model file is valid.

Copy link

This issue is being marked stale because it has not had any activity for 30 days. Reply below within 7 days if your issue still isn't solved, and it will be left open. Otherwise, the issue will be closed automatically.

@github-actions github-actions bot added the Stale This issue is stale and will be autoclosed soon. label May 12, 2025
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale This issue is stale and will be autoclosed soon. User Support A user needs help with something, probably not a bug.
Projects
None yet
Development

No branches or pull requests

2 participants
0