[GH-ISSUE #1787] Getting a VAE error when trying to use WAN 2.1 IMG to Vid or Text to vid #769

Open
opened 2026-10-27 21:21:58 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @bb123me on GitHub (May 3, 2025).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/1787

Error while deserializing header: HeaderTooLarge

File path: C:\Users\Desktop1\New folder\ComfyUI_windows_portable\ComfyUI\models\vae\wan_2.1_vae.safetensors

The safetensors file is corrupt or invalid. Make sure this is actually a safetensors file and not a ckpt or pt or other filetype.

I have tried reinstalling all of my safetensor files several times and validated that they are in the correct folders. Could it have something to do with me being on portable? I am very new to this and do not really know what I am doing.

On a side note, I also cannot get the Manager to work on my portable UI, I even followed the instructions on the website specifically for installing the manager on portable.

Please help me and thank you.
-B

Originally created by @bb123me on GitHub (May 3, 2025). Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/1787 Error while deserializing header: HeaderTooLarge File path: C:\Users\Desktop1\New folder\ComfyUI_windows_portable\ComfyUI\models\vae\wan_2.1_vae.safetensors The safetensors file is corrupt or invalid. Make sure this is actually a safetensors file and not a ckpt or pt or other filetype. I have tried reinstalling all of my safetensor files several times and validated that they are in the correct folders. Could it have something to do with me being on portable? I am very new to this and do not really know what I am doing. On a side note, I also cannot get the Manager to work on my portable UI, I even followed the instructions on the website specifically for installing the manager on portable. Please help me and thank you. -B
Author
Owner

@ltdrdata commented on GitHub (May 12, 2025):

Hosw did you install the wan_2.1_vae.safetensors file?

<!-- gh-comment-id:2873349097 --> @ltdrdata commented on GitHub (May 12, 2025): Hosw did you install the `wan_2.1_vae.safetensors` file?
Author
Owner

@suemorikazuki commented on GitHub (Nov 24, 2025):

I'm also running into this issue.

The file was installed using the CLI:
$ curl -O https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors

<!-- gh-comment-id:3571118574 --> @suemorikazuki commented on GitHub (Nov 24, 2025): I'm also running into this issue. The file was installed using the CLI: `$ curl -O https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#769
No description provided.