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 occurred when executing CheckpointLoaderNF4: Error while deserializing header: MetadataIncompleteBuffer #34

Open
xqsxqsxqs opened this issue Aug 14, 2024 · 2 comments

Comments

@xqsxqsxqs
Copy link

Error occurred when executing CheckpointLoaderNF4:

Error while deserializing header: MetadataIncompleteBuffer

File "/mnt/workspace/ComfyUI/execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/mnt/workspace/ComfyUI/execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/mnt/workspace/ComfyUI/execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/mnt/workspace/ComfyUI/custom_nodes/ComfyUI_bitsandbytes_NF4/init.py", line 178, in load_checkpoint
out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings"), model_options={"custom_operations": OPS})
File "/mnt/workspace/ComfyUI/comfy/sd.py", line 510, in load_checkpoint_guess_config
sd = comfy.utils.load_torch_file(ckpt_path)
File "/mnt/workspace/ComfyUI/comfy/utils.py", line 34, in load_torch_file
sd = safetensors.torch.load_file(ckpt, device=device.type)
File "/usr/local/lib/python3.10/site-packages/safetensors/torch.py", line 311, in load_file
with safe_open(filename, framework="pt", device=device) as f:

@H-jj-shift
Copy link

I've encounter the same problem,still can't find a solution.

@H-jj-shift
Copy link

A little different lines :got prompt
!!! Exception during processing !!! Error while deserializing header: InvalidHeaderDeserialization

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

2 participants