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: #131

Open
badiolac opened this issue Feb 1, 2024 · 0 comments
Open

Error occurred when executing SeargeMagicBox: #131

badiolac opened this issue Feb 1, 2024 · 0 comments

Comments

@badiolac
Copy link

badiolac commented Feb 1, 2024

Greetings,
I am on Kubuntu and did a manual install.
The default workflow for COmfyUI works well by the way.
All models where install like instructed in the readme.

I have the following error when queuing a prompt :
Error occurred when executing SeargeMagicBox:
Error while deserializing header: InvalidHeaderDeserialization

File "/home/clement/Applications/ComfyUI/execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/clement/Applications/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 "/home/clement/Applications/ComfyUI/execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/clement/Applications/ComfyUI/custom_nodes/SeargeSDXL/modules/magic_box.py", line 269, in process
(data, stage_result) = self.run_stage(stage, data, stage_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/clement/Applications/ComfyUI/custom_nodes/SeargeSDXL/modules/magic_box.py", line 248, in run_stage
(data, stage_result) = stage_processor.process(data, stage_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/clement/Applications/ComfyUI/custom_nodes/SeargeSDXL/modules/stage_load_checkpoints.py", line 153, in process
refiner_checkpoint = NodeWrapper.checkpoint_loader.load_checkpoint(refiner_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/clement/Applications/ComfyUI/nodes.py", line 552, 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"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/clement/Applications/ComfyUI/comfy/sd.py", line 431, in load_checkpoint_guess_config
sd = comfy.utils.load_torch_file(ckpt_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/clement/Applications/ComfyUI/comfy/utils.py", line 13, in load_torch_file
sd = safetensors.torch.load_file(ckpt, device=device.type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/clement/Applications/ComfyUI/py311amd/lib/python3.11/site-packages/safetensors/torch.py", line 308, in load_file
with safe_open(filename, framework="pt", device=device) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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