city96 / ComfyUI_ExtraModels

Support for miscellaneous image models. Currently supports: DiT, PixArt, HunYuanDiT, MiaoBi, and a few VAEs.
Apache License 2.0
393 stars 34 forks source link

Error occurred when executing HYDiTTextEncoderLoader: PytorchStreamReader failed reading zip archive: failed finding central directory #75

Closed liaceboy closed 4 months ago

liaceboy commented 4 months ago

Error occurred when executing HYDiTTextEncoderLoader:

PytorchStreamReader failed reading zip archive: failed finding central directory

File "D:\Comfyui\ComfyUI-aki-v1.2\ComfyUI-aki-v1.2\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "D:\Comfyui\ComfyUI-aki-v1.2\ComfyUI-aki-v1.2\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-aki-v1.2\ComfyUI-aki-v1.2\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "D:\Comfyui\ComfyUI-aki-v1.2\ComfyUI-aki-v1.2\custom_nodes\ComfyUI_ExtraModels\HunYuanDiT\nodes.py", line 75, in load_model t5 = load_t5( File "D:\Comfyui\ComfyUI-aki-v1.2\ComfyUI-aki-v1.2\custom_nodes\ComfyUI_ExtraModels\HunYuanDiT\tenc.py", line 177, in load_t5 sd = comfy.utils.load_torch_file(model_path) File "D:\Comfyui\ComfyUI-aki-v1.2\ComfyUI-aki-v1.2\comfy\utils.py", line 24, in load_torch_file pl_sd = torch.load(ckpt, map_location=device, pickle_module=comfy.checkpoint_pickle) File "D:\Comfyui\ComfyUI-aki-v1.2\ComfyUI-aki-v1.2\python\lib\site-packages\torch\serialization.py", line 1004, in load with _open_zipfile_reader(opened_file) as opened_zipfile: File "D:\Comfyui\ComfyUI-aki-v1.2\ComfyUI-aki-v1.2\python\lib\site-packages\torch\serialization.py", line 456, in init super().init(torch._C.PyTorchFileReader(name_or_buffer))

city96 commented 4 months ago

This looks to me like a corrupt or incorrect download maybe?

liaceboy commented 4 months ago

This looks to me like a corrupt or incorrect download maybe?

yes,

city96 commented 4 months ago

I'll close this issue then, as re-downloading T5 should fix it. Feel free to reopen it if it doesn't.