BennyKok / comfyui-deploy

An open source `vercel` like deployment platform for Comfy UI
https://comfydeploy.ing
GNU Affero General Public License v3.0
770 stars 84 forks source link

Checkpoint loading problem #17

Closed ShashwatDubey99 closed 5 months ago

ShashwatDubey99 commented 6 months ago

Error occurred when executing CheckpointLoaderSimple:

Error while deserializing header: HeaderTooLarge

File "/comfyui/execution.py", line 153, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "/comfyui/execution.py", line 83, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "/comfyui/execution.py", line 76, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "/comfyui/nodes.py", line 476, 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 "/comfyui/comfy/sd.py", line 427, in load_checkpoint_guess_config sd = comfy.utils.load_torch_file(ckpt_path) File "/comfyui/comfy/utils.py", line 13, 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 308, in load_file with safe_open(filename, framework="pt", device=device) as f:

BennyKok commented 5 months ago

Thanks for the report!

This is due to the changes of civitai api changes.

I had a quick hack around this currently.

https://discord.com/channels/1185598676983349338/1187301526646030386/1200317409010122803

BennyKok commented 5 months ago

This is now fixed, by adding CIVITAI_TOKEN in your fly builder