OmniParser icon indicating copy to clipboard operation
OmniParser copied to clipboard

SafetensorError: Error while deserializing header: HeaderTooLarge

Open smruthi49 opened this issue 3 months ago • 6 comments

, line 313, in load_file
    with safe_open(filename, framework="pt", device=device) as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
safetensors_rust.SafetensorError: Error while deserializing header: HeaderTooLarge

Received the above error while running :

python weights/convert_safetensor_to_pt.py

Note: Ran the above only after fixing the error in requirements.txt. Downloaded the ckpt files from HF I am running this in PopOS

smruthi49 avatar Oct 27 '24 13:10 smruthi49