# PyTorch 2.5.0 General Availability

**URL:** <https://dev-discuss.pytorch.org/t/pytorch-2-5-0-general-availability/2543>\
**Category:** Release Announcements\
**Created:** [October 17, 2024, 6:23pm UTC](https://dev-discuss.pytorch.org/t/pytorch-2-5-0-general-availability/2543 "2024-10-17T18:23:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kit1980](https://yyz2.discourse-cdn.com/flex036/user_avatar/dev-discuss.pytorch.org/kit1980/32/491_2.png) [@kit1980](https://dev-discuss.pytorch.org/u/kit1980)\
**Post date:** [October 17, 2024, 6:23pm UTC](https://dev-discuss.pytorch.org/t/pytorch-2-5-0-general-availability/2543/1 "2024-10-17T18:23:49Z")

</div>

We are excited to announce the release of PyTorch® 2.5. All the binaries published to PyPI, Anaconda, and [download.pytorch.org](http://download.pytorch.org/). Installation instructions for the new release can be found at the familiar [getting started page](https://pytorch.org/get-started/locally/).

The release notes for PyTorch and Domain Libraries can be found on following links:

- [PyTorch](https://github.com/pytorch/pytorch/releases/tag/v2.5.0) (v2.5.0)
- [TorchAudio](https://github.com/pytorch/audio/releases/tag/v2.5.0) (v2.5.0)
- [TorchVision](https://github.com/pytorch/vision/releases/tag/v0.20.0) (v0.20.0)

Please also checkout the release blog post at [PyTorch 2.5 Release Blog](https://pytorch.org/blog/pytorch2-5/)

If you have any questions please comment below or reach out to us on this thread.

Cheers,

Team PyTorch

#oneteam

---

<div class="post-metadata">

**Author:** ![hassonofer](https://avatars.discourse-cdn.com/v4/letter/h/c6cbf5/32.png) [@hassonofer](https://dev-discuss.pytorch.org/u/hassonofer)\
**Post date:** [October 19, 2024, 7:59pm UTC](https://dev-discuss.pytorch.org/t/pytorch-2-5-0-general-availability/2543/2 "2024-10-19T19:59:28Z")

</div>

Congratulations on the release !

First, I’d like to express my gratitude to everyone who contributed to this release.

I wanted to bring attention to an issue that’s significantly impacting my use of the new version. The bug preventing the use of compile + amp with scaled\_dot\_product\_attention ([Crash When Using torch.compile with Math scaled\_dot\_product\_attention in AMP Mode · Issue #133974 · pytorch/pytorch · GitHub](https://github.com/pytorch/pytorch/issues/133974)).

I understand that every release involves prioritizing various issues, but I’m curious about the timeline for addressing this particular bug. Is it reasonable to expect a fix in version 2.5.1?

Given that this regression was known before the release, I believe it would have been helpful to have this information communicated in the release notes.

---

<div class="post-metadata">

**Author:** ![kit1980](https://yyz2.discourse-cdn.com/flex036/user_avatar/dev-discuss.pytorch.org/kit1980/32/491_2.png) [@kit1980](https://dev-discuss.pytorch.org/u/kit1980)\
**Post date:** [October 21, 2024, 5:43pm UTC](https://dev-discuss.pytorch.org/t/pytorch-2-5-0-general-availability/2543/3 "2024-10-21T17:43:40Z")

</div>

@hassonofer I see the issue was created in August. For the solution to get into 2.5.1, there needs to be a pull request first. If you have an idea what to do, proposing a fixing pull request will speed up things.  
Separately, I will bring this issue to the attention of the core PyTorch developers.

---

<div class="post-metadata">

**Author:** ![hassonofer](https://avatars.discourse-cdn.com/v4/letter/h/c6cbf5/32.png) [@hassonofer](https://dev-discuss.pytorch.org/u/hassonofer)\
**Post date:** [October 21, 2024, 6:18pm UTC](https://dev-discuss.pytorch.org/t/pytorch-2-5-0-general-availability/2543/4 "2024-10-21T18:18:33Z")

</div>

I have no idea to be honest, the Inductor is beyond me. If it was in an area I’m familiar with, I would gladly pitch in.

Thanks for the response, and for forwarding the issue !

---

<div class="post-metadata">

**Author:** ![kit1980](https://yyz2.discourse-cdn.com/flex036/user_avatar/dev-discuss.pytorch.org/kit1980/32/491_2.png) [@kit1980](https://dev-discuss.pytorch.org/u/kit1980)\
**Post date:** [October 25, 2024, 9:29pm UTC](https://dev-discuss.pytorch.org/t/pytorch-2-5-0-general-availability/2543/5 "2024-10-25T21:29:43Z")

</div>

@hassonofer Good news, the issue should be fixed in the upcoming 2.5.1  
You can try the release candidate  
`pip3 install torch==2.5.1 --index-url https://download.pytorch.org/whl/test/cu124`

---

<div class="post-metadata">

**Author:** ![hassonofer](https://avatars.discourse-cdn.com/v4/letter/h/c6cbf5/32.png) [@hassonofer](https://dev-discuss.pytorch.org/u/hassonofer)\
**Post date:** [October 26, 2024, 4:37am UTC](https://dev-discuss.pytorch.org/t/pytorch-2-5-0-general-availability/2543/6 "2024-10-26T04:37:07Z")

</div>

That’s great !  
Thanks

---

<div class="post-metadata">

**Author:** ![Elusv](https://yyz2.discourse-cdn.com/flex036/user_avatar/dev-discuss.pytorch.org/elusv/32/2420_2.png) [@Elusv](https://dev-discuss.pytorch.org/u/Elusv)\
**Post date:** [December 9, 2024, 12:21pm UTC](https://dev-discuss.pytorch.org/t/pytorch-2-5-0-general-availability/2543/7 "2024-12-09T12:21:12Z")

</div>

Which versions of Python are supported on Intel MacOS? Every version I have tried denies the existence of torch==2.5.0

---

<div class="post-metadata">

**Author:** ![kit1980](https://yyz2.discourse-cdn.com/flex036/user_avatar/dev-discuss.pytorch.org/kit1980/32/491_2.png) [@kit1980](https://dev-discuss.pytorch.org/u/kit1980)\
**Post date:** [December 9, 2024, 7:18pm UTC](https://dev-discuss.pytorch.org/t/pytorch-2-5-0-general-availability/2543/8 "2024-12-09T19:18:18Z")

</div>

@Elusv PyTorch 2.2 is the last release for x86 MacOS, see [PyTorch macOS x86 builds deprecation starting January 2024](https://dev-discuss.pytorch.org/t/pytorch-macos-x86-builds-deprecation-starting-january-2024/1690)
