PyTorch 2.7.1 Release, bug fix release

PyTorch Version 2 imported change current

Imported from official source

This release is meant to fix the following issues (regressions / silent correctness): ### Torch.compile Fix Excessive cudagraph re-recording for HF LLM models ([#152287](https://github.com/pytorch/pytorch/pull/152287)) Fix torch.compile on some HuggingFace models ([#151154](https://github.com/pytorch/pytorch/pull/151154)) Fix crash due to Exception raised inside torch.autocast ([#152503](https:/ …

This version

Version
2 of 2
Recorded
September 17, 2026 21:30
Change
Imported change
Content hash
b493d07ced36220316f40827ba4bfe45
All versions
Revision history

Officially records where a publication came from, not whether it is true. Imported records are reproduced from an organization's own official source.