PyTorch 2.5.1: bug fix release
This release is meant to fix the following regressions:
- Wheels from PyPI are unusable out of the box on PRM-based Linux distributions: https://github.com/pytorch/pytorch/issues/138324
- PyPI arm64 distribution logs cpuinfo error on import: https://github.com/pytorch/pytorch/issues/138333
- Crash When Using torch.compile with Math scaled_dot_product_attention in AMP Mode: https://github.com/pytorch/pytorch/issues/133974
- [MPS] Internal crash due to the invalid buffer size computation if sliced API is used: https://github.com/pytorch/pytorch/issues/137800
- Several issues related to CuDNN Attention: https://github.com/pytorch/pytorch/pull/138522
Besides the regression fixes, the release includes several documentation updates.
See release tracker https://github.com/pytorch/pytorch/issues/132400 for additional information.