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

Error while deserializing header: MetadataIncompleteBuffer #147

Open
GoodCharles opened this issue May 12, 2024 · 2 comments
Open

Error while deserializing header: MetadataIncompleteBuffer #147

GoodCharles opened this issue May 12, 2024 · 2 comments

Comments

@GoodCharles
Copy link

GoodCharles commented May 12, 2024

Error occurred when executing SeargeMagicBox:

Error while deserializing header: MetadataIncompleteBuffer

  File "C:\Cyberpunk\A.I\ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Cyberpunk\A.I\ComfyUI\ComfyUI\execution.py", line 81, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Cyberpunk\A.I\ComfyUI\ComfyUI\execution.py", line 74, in map_node_over_list
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Cyberpunk\A.I\ComfyUI\ComfyUI\custom_nodes\SeargeSDXL\modules\magic_box.py", line 269, in process
    (data, stage_result) = self.run_stage(stage, data, stage_input)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Cyberpunk\A.I\ComfyUI\ComfyUI\custom_nodes\SeargeSDXL\modules\magic_box.py", line 248, in run_stage
    (data, stage_result) = stage_processor.process(data, stage_input)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Cyberpunk\A.I\ComfyUI\ComfyUI\custom_nodes\SeargeSDXL\modules\stage_load_checkpoints.py", line 274, in process
    clip_vision_model = NodeWrapper.clipvision_loader.load_clip(clipvision_name)[0]
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Cyberpunk\A.I\ComfyUI\ComfyUI\nodes.py", line 865, in load_clip
    clip_vision = comfy.clip_vision.load(clip_path)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Cyberpunk\A.I\ComfyUI\ComfyUI\comfy\clip_vision.py", line 113, in load
    sd = load_torch_file(ckpt_path)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Cyberpunk\A.I\ComfyUI\ComfyUI\comfy\utils.py", line 14, in load_torch_file
    sd = safetensors.torch.load_file(ckpt, device=device.type)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Cyberpunk\A.I\ComfyUI\python_embeded\Lib\site-packages\safetensors\torch.py", line 308, in load_file
    with safe_open(filename, framework="pt", device=device) as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@zhangzhongyuan1996
Copy link

how to deal this problem?

@atom-fox
Copy link

+1

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

3 participants