Skip to content
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

IPAdapterUnifiedLoader Error while deserializing header: HeaderTooLarge #756

Open
LIULE1 opened this issue Nov 28, 2024 · 1 comment
Open

Comments

@LIULE1
Copy link

LIULE1 commented Nov 28, 2024

image
ComfyUI Error Report

Error Details

  • Node ID: 17
  • Node Type: IPAdapterUnifiedLoader
  • Exception Type: safetensors_rust.SafetensorError
  • Exception Message: Error while deserializing header: HeaderTooLarge

Stack Trace

  File "/Applications/ComfyUI.app/Contents/Resources/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 "/Applications/ComfyUI.app/Contents/Resources/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 "/Applications/ComfyUI.app/Contents/Resources/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "/Applications/ComfyUI.app/Contents/Resources/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus/IPAdapterPlus.py", line 564, in load_models
    self.clipvision['model'] = load_clip_vision(clipvision_file)
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Applications/ComfyUI.app/Contents/Resources/ComfyUI/comfy/clip_vision.py", line 120, in load
    sd = load_torch_file(ckpt_path)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Applications/ComfyUI.app/Contents/Resources/ComfyUI/comfy/utils.py", line 34, in load_torch_file
    sd = safetensors.torch.load_file(ckpt, device=device.type)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Volumes/HP ZHAN SSD/ComfyUI/.venv/lib/python3.12/site-packages/safetensors/torch.py", line 313, in load_file
    with safe_open(filename, framework="pt", device=device) as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

System Information

  • ComfyUI Version: unknown
  • Arguments: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/main.py --user-directory /Volumes/HP ZHAN SSD/ComfyUI/user --input-directory /Volumes/HP ZHAN SSD/ComfyUI/input --output-directory /Volumes/HP ZHAN SSD/ComfyUI/output --front-end-root /Applications/ComfyUI.app/Contents/Resources/ComfyUI/web_custom_versions/desktop_app --extra-model-paths-config /Users/LIULEIsMAC/Library/Application Support/ComfyUI/extra_models_config.yaml --port 8000
  • OS: posix
  • Python Version: 3.12.4 (main, Jul 25 2024, 22:11:22) [Clang 18.1.8 ]
  • Embedded Python: false
  • PyTorch Version: 2.6.0.dev20241126

Devices

  • Name: mps
    • Type: mps
    • VRAM Total: 34359738368
    • VRAM Free: 13272727552
    • Torch VRAM Total: 34359738368
    • Torch VRAM Free: 13272727552

Logs

2024-11-28T18:56:38.019169 - [START] Security scan2024-11-28T18:56:38.019181 - 
2024-11-28T18:56:38.991028 - [DONE] Security scan2024-11-28T18:56:38.991063 - 
2024-11-28T18:56:39.046512 - ## ComfyUI-Manager: installing dependencies done.2024-11-28T18:56:39.046555 - 
2024-11-28T18:56:39.046571 - ** ComfyUI startup time:2024-11-28T18:56:39.046581 -  2024-11-28T18:56:39.046590 - 2024-11-28 18:56:39.0465622024-11-28T18:56:39.046598 - 
2024-11-28T18:56:39.046621 - ** Platform:2024-11-28T18:56:39.046629 -  2024-11-28T18:56:39.046636 - Darwin2024-11-28T18:56:39.046643 - 
@LIULE1
Copy link
Author

LIULE1 commented Nov 28, 2024

在过往的问题中翻到了同类型问题,解决方式为找到ipadapter文件夹的隐藏文件并删除。在我删除之后,这个报错并没有得到解决。

I came across a problem of the same type in the past issues. The solution was to find the hidden files in the IPAdapter folder and delete them. However, after I deleted them, this error message still hasn't been resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant