cubiq / PuLID_ComfyUI

PuLID native implementation for ComfyUI
Apache License 2.0
700 stars 42 forks source link

Error occurred when executing PulidEvaClipLoader #52

Open Lafko opened 4 months ago

Lafko commented 4 months ago

This hapend only in AMD GPU CPU on my intel CPU Nvidia GPU all ok

`Error occurred when executing PulidEvaClipLoader:

PytorchStreamReader failed reading zip archive: failed finding central directory

File "D:\ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "D:\ComfyUI\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 "D:\ComfyUI\ComfyUI\execution.py", line 69, in map_node_over_list results.append(getattr(obj, func)()) File "D:\ComfyUI\ComfyUI\custom_nodes\PuLID_ComfyUI\pulid.py", line 256, in load_evaclip model, , _ = create_model_and_transforms('EVA02-CLIP-L-14-336', 'eva_clip', force_custom_clip=True) File "D:\ComfyUI\ComfyUI\custom_nodes\PuLID_ComfyUI\eva_clip\factory.py", line 377, in create_model_and_transforms model = create_model( File "D:\ComfyUI\ComfyUI\custom_nodes\PuLID_ComfyUI\eva_clip\factory.py", line 285, in create_model load_checkpoint(model, File "D:\ComfyUI\ComfyUI\custom_nodes\PuLID_ComfyUI\eva_clip\factory.py", line 111, in load_checkpoint state_dict = load_state_dict(checkpoint_path, model_key=model_key, is_openai=False) File "D:\ComfyUI\ComfyUI\custom_nodes\PuLID_ComfyUI\eva_clip\factory.py", line 87, in load_state_dict checkpoint = torch.load(checkpoint_path, map_location=map_location) File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\serialization.py", line 1004, in load with _open_zipfile_reader(opened_file) as opened_zipfile: File "C:\Users\PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\serialization.py", line 456, in init super().init(torch._C.PyTorchFileReader(name_or_buffer))`