the script worked fine on my dev machine, but when I moved it to production, exception happens:
line 242, in applyLora state_dict = load_file(lora['path']) File "/usr/local/lib/python3.8/dist-packages/safetensors/torch.py", line 98, in load_file with safe_open(filename, framework="pt", device=device) as f: Exception: Error while deserializing header: HeaderTooLarge
Hi again
the script worked fine on my dev machine, but when I moved it to production, exception happens:
line 242, in applyLora state_dict = load_file(lora['path']) File "/usr/local/lib/python3.8/dist-packages/safetensors/torch.py", line 98, in load_file with safe_open(filename, framework="pt", device=device) as f: Exception: Error while deserializing header: HeaderTooLarge
Do you know what might be the cause?