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 SeargeMagicBox: Error while deserializing header: HeaderTooSmall #146

Open
MaxaAI opened this issue Apr 27, 2024 · 0 comments

Comments

@MaxaAI
Copy link

MaxaAI commented Apr 27, 2024

Error occurred when executing SeargeMagicBox:

Error while deserializing header: HeaderTooSmall

File "/home/maxi/ComfyUI/execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/home/maxi/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 "/home/maxi/ComfyUI/custom_nodes/ComfyUI-0246/utils.py", line 381, in new_func
res_value = old_func(*final_args, **kwargs)
File "/home/maxi/ComfyUI/execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/home/maxi/ComfyUI/custom_nodes/SeargeSDXL/modules/magic_box.py", line 269, in process
(data, stage_result) = self.run_stage(stage, data, stage_input)
File "/home/maxi/ComfyUI/custom_nodes/SeargeSDXL/modules/magic_box.py", line 248, in run_stage
(data, stage_result) = stage_processor.process(data, stage_input)
File "/home/maxi/ComfyUI/custom_nodes/SeargeSDXL/modules/stage_apply_loras.py", line 83, in process
(base_model, base_clip) = NodeWrapper.lora_loader.load_lora(base_model, base_clip, lora_name,
File "/home/maxi/ComfyUI/nodes.py", line 609, in load_lora
lora = comfy.utils.load_torch_file(lora_path, safe_load=True)
File "/home/maxi/ComfyUI/custom_nodes/ComfyUI-PhotoMaker-Plus/.patches.py", line 5, in load_torch_file
sd = safetensors.torch.load_file(ckpt, device=device.type)
File "/home/maxi/.local/lib/python3.10/site-packages/safetensors/torch.py", line 311, in load_file
with safe_open(filename, framework="pt", device=device) as f:

im just getting this error 20 minutes before everything worked fine and then suddenly i got this error how can i fix it?

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