Skip to content

Commit

Permalink
Python: Bump torch from 2.5.1 to 2.6.0 in /python (#10380)
Browse files Browse the repository at this point in the history
Bumps [torch](https://github.com/pytorch/pytorch) from 2.5.1 to 2.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytorch/pytorch/releases">torch's
releases</a>.</em></p>
<blockquote>
<h2>PyTorch 2.6.0 Release</h2>
<ul>
<li>Highlights</li>
<li>Tracked Regressions</li>
<li>Backwards Incompatible Change</li>
<li>Deprecations</li>
<li>New Features</li>
<li>Improvements</li>
<li>Bug fixes</li>
<li>Performance</li>
<li>Documentation</li>
<li>Developers</li>
</ul>
<h2><strong>Highlights</strong></h2>
<p>We are excited to announce the release of PyTorch® 2.6 (<a
href="https://github.com/pytorch/pytorch/releases/tag/v2.6.0">release
notes</a>)! This release features multiple improvements for PT2:
<code>torch.compile</code> can now be used with Python 3.13; new
performance-related knob <code>torch.compiler.set_stance</code>; several
AOTInductor enhancements. Besides the PT2 improvements, another
highlight is FP16 support on X86 CPUs.</p>
<p>NOTE: Starting with this release we are not going to publish on
Conda, please see <a
href="https://redirect.github.com/pytorch/pytorch/issues/138506">[Announcement]
Deprecating PyTorch’s official Anaconda channel</a> for the details.</p>
<p>For this release the experimental Linux binaries shipped with CUDA
12.6.3 (as well as Linux Aarch64, Linux ROCm 6.2.4, and Linux XPU
binaries) are built with CXX11_ABI=1 and are <a
href="https://dev-discuss.pytorch.org/t/pytorch-linux-wheels-switching-to-new-wheel-build-platform-manylinux-2-28-on-november-12-2024/2581">using
the Manylinux 2.28 build platform</a>. If you build PyTorch extensions
with custom C++ or CUDA extensions, please update these builds to use
CXX_ABI=1 as well and report any issues you are seeing. For the next
PyTorch 2.7 release we plan to switch all Linux builds to Manylinux 2.28
and CXX11_ABI=1, please see <a
href="https://redirect.github.com/pytorch/pytorch/issues/123649">[RFC]
PyTorch next wheel build platform: manylinux-2.28</a> for the details
and discussion.</p>
<p>Also in this release as an important security improvement measure we
have changed the default value for <code>weights_only</code> parameter
of <code>torch.load</code>. This is a backward compatibility-breaking
change, please see <a
href="https://dev-discuss.pytorch.org/t/bc-breaking-change-torch-load-is-being-flipped-to-use-weights-only-true-by-default-in-the-nightlies-after-137602/2573">this
forum post</a> for more details.</p>
<p>This release is composed of 3892 commits from 520 contributors since
PyTorch 2.5. We want to sincerely thank our dedicated community for your
contributions. As always, we encourage you to try these out and report
any issues as we improve PyTorch. More information about how to get
started with the PyTorch 2-series can be found at our <a
href="https://pytorch.org/get-started/pytorch-2.0/">Getting Started</a>
page.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytorch/pytorch/commit/1eba9b3aa3c43f86f4a2c807ac8e12c4a7767340"><code>1eba9b3</code></a>
change the test wheel to release wheel when release wheel available (<a
href="https://redirect.github.com/pytorch/pytorch/issues/145884">#145884</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/2236df1770800ffea5697b11b0bb0d910b2e59e1"><code>2236df1</code></a>
[CUDA] Change slim-wheel libraries load order (<a
href="https://redirect.github.com/pytorch/pytorch/issues/145662">#145662</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/32070409668513144e48390380a3911fc5cd03e0"><code>3207040</code></a>
[CD] Fix slim-wheel cuda_nvrtc import problem (<a
href="https://redirect.github.com/pytorch/pytorch/issues/145614">#145614</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/ca3c3a63b8087d405babf95fcce263cf1b8dd35e"><code>ca3c3a6</code></a>
[Release-Only] Remove ptx from Linux CUDA 12.6 binary builds (<a
href="https://redirect.github.com/pytorch/pytorch/issues/145616">#145616</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/7be6b5db475a5885379751953f67656ca1ce6edd"><code>7be6b5d</code></a>
Fix IdentationError of code example (<a
href="https://redirect.github.com/pytorch/pytorch/issues/145525">#145525</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/dcb8ad070f15e8444dcb4e415bde38142cda5e9d"><code>dcb8ad0</code></a>
update get start xpu (<a
href="https://redirect.github.com/pytorch/pytorch/issues/145286">#145286</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/8d4b8a920a2172523deb95bf20e8e52d50649c04"><code>8d4b8a9</code></a>
Prevent legacy_load when weights_only=True (correctly) (<a
href="https://redirect.github.com/pytorch/pytorch/issues/145111">#145111</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/9c34a2076b37c040b1b9a48b729656fe9e992949"><code>9c34a20</code></a>
Revert &quot;Prevent _legacy_load with weights_only=True (<a
href="https://redirect.github.com/pytorch/pytorch/issues/144993">#144993</a>)&quot;</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/cd15d7b29fea0886d1ae655da9bec767caa8c672"><code>cd15d7b</code></a>
Prevent _legacy_load with weights_only=True (<a
href="https://redirect.github.com/pytorch/pytorch/issues/144993">#144993</a>)</li>
<li><a
href="https://github.com/pytorch/pytorch/commit/a2639bc255cd9eb93250c3bd1aea01f74538ad76"><code>a2639bc</code></a>
[Release/2.6] Enable python-3.13t aarch64 builds (<a
href="https://redirect.github.com/pytorch/pytorch/issues/144878">#144878</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pytorch/pytorch/compare/v2.5.1...v2.6.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=torch&package-manager=pip&previous-version=2.5.1&new-version=2.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Mattson <[email protected]>
  • Loading branch information
dependabot[bot] and moonbox3 authored Feb 5, 2025
1 parent f54c31f commit 8675186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ google = [
hugging_face = [
"transformers[torch] ~= 4.28",
"sentence-transformers >= 2.2,< 4.0",
"torch == 2.5.1"
"torch == 2.6.0"
]
mongo = [
"pymongo >= 4.8.0, < 4.11",
Expand Down

0 comments on commit 8675186

Please sign in to comment.