ComfyUI
ComfyUI copied to clipboard
Error happend:safetensors_rust.SafetensorError: Error while deserializing header: MetadataIncompleteBuffer
When I load the ControlNet model I trained with diffusers, I receive an error message:safetensors_rust.SafetensorError: Error while deserializing header: MetadataIncompleteBuffer.how to solve it?
I think your safetensors file is most likely corrupted. MetadataIncompleteBuffer is explained as "The metadata is invalid because the data offsets of the tensor does not fully cover the buffer part of the file. The last offset must be the end of the file. "
Alternatively, it could be a bug in the safetensors library.
Either way, this is not a bug in ComfyUI.