comfyanonymous / ComfyUI_bitsandbytes_NF4

GNU Affero General Public License v3.0
278 stars 19 forks source link

Error occurred when executing CheckpointLoaderNF4: Error while deserializing header: MetadataIncompleteBuffer #34

Open xqsxqsxqs opened 1 month ago

xqsxqsxqs commented 1 month ago

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 commented 1 month ago

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

H-jj-shift commented 4 weeks ago

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