Files
pytorch/caffe2
Mikayla Gawarecki 066467ada3 Make it explicit that PyTorchStreamReader miniz errors likely indicate corrupt checkpoint (#170244)
Error message

```
*** RuntimeError: PytorchStreamReader failed reading file .format_version: invalid header or archive is corrupted. This is an internal miniz error. If you are seeing this error, there is a high likelihood that your checkpoint file is corrupted. This can happen if the checkpoint was not saved properly, was transferred incorrectly, or the file was modified after saving.
```

Pull Request resolved: https://github.com/pytorch/pytorch/pull/170244
Approved by: https://github.com/albanD
2025-12-15 22:30:15 +00:00
..