Skip to content

Commit 7e50200

Browse files
build(deps-dev): update torch requirement from ~=2.8.0 to >=2.8,<2.10 (#5114)
Updates the requirements on [torch](https://github.com/pytorch/pytorch) to permit the latest version. <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.9.1 Release, bug fix release</h2> <p>This release is meant to fix the following issues (regressions / silent correctness):</p> <h3>Tracked Regressions</h3> <p>Significant Memory Regression in F.conv3d with bfloat16 Inputs in PyTorch 2.9.0 (<a href="https://redirect.github.com/pytorch/pytorch/issues/166643">#166643</a>) This release provides work around this issue. If you are impacted please install nvidia-cudnn package version 9.15+ from pypi. (<a href="https://redirect.github.com/pytorch/pytorch/pull/166480">#166480</a>) (<a href="https://redirect.github.com/pytorch/pytorch/pull/167111">#167111</a>)</p> <h3>Torch.compile</h3> <p>Fix Inductor bug when compiling Gemma (<a href="https://redirect.github.com/pytorch/pytorch/pull/165601">#165601</a>) Fix InternalTorchDynamoError in bytecode_transformation (<a href="https://redirect.github.com/pytorch/pytorch/pull/166036">#166036</a>) Fix silent correctness error_on_graph_break bug where non-empty checkpoint results in unwanted graph break resumption (<a href="https://redirect.github.com/pytorch/pytorch/pull/166586">#166586</a>) Improve performance by avoiding recompilation with mark_static_address with cudagraphs (<a href="https://redirect.github.com/pytorch/pytorch/pull/162208">#162208</a>) Improve performance by caching get_free_symbol_uses in torch inductor (<a href="https://redirect.github.com/pytorch/pytorch/pull/166338">#166338</a>) Fix fix registration design for inductor graph partition for vLLM (<a href="https://redirect.github.com/pytorch/pytorch/pull/166458">#166458</a>) (<a href="https://redirect.github.com/pytorch/pytorch/pull/165815">#165815</a>) (<a href="https://redirect.github.com/pytorch/pytorch/pull/165514">#165514</a>) Fix warning spamming in torch.compile (<a href="https://redirect.github.com/pytorch/pytorch/pull/166993">#166993</a>) Fix exception related to uninitialized tracer_output variable (<a href="https://redirect.github.com/pytorch/pytorch/pull/163169">#163169</a>) Fix crash in torch.bmm and torch.compile with PyTorch release 2.9.0 (<a href="https://redirect.github.com/pytorch/pytorch/pull/166457">#166457</a>)</p> <h3>Other</h3> <p>Fix warning spamming on new APIs to control TF32 behavior (<a href="https://redirect.github.com/pytorch/pytorch/pull/166956">#166956</a>) Fix distributed crash with non-contiguous gather inputs (<a href="https://redirect.github.com/pytorch/pytorch/pull/166181">#166181</a>) Fix indexing on large tensor causes invalid configuration argument (<a href="https://redirect.github.com/pytorch/pytorch/pull/166974">#166974</a>) Fix numeric issue in CUDNN_ATTENTION (<a href="https://redirect.github.com/pytorch/pytorch/pull/166912">#166912</a>) (<a href="https://redirect.github.com/pytorch/pytorch/pull/166570">#166570</a>) Fix symmetric memory issue with fused_scaled_matmul_reduce_scatter (<a href="https://redirect.github.com/pytorch/pytorch/pull/165086">#165086</a>) Improve libtorch stable ABI documentation (<a href="https://redirect.github.com/pytorch/pytorch/pull/163899">#163899</a>) Fix image display on pypi project description section (<a href="https://redirect.github.com/pytorch/pytorch/pull/166404">#166404</a>)</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pytorch/pytorch/blob/main/RELEASE.md">torch's changelog</a>.</em></p> <blockquote> <h1>Releasing PyTorch</h1> <!-- raw HTML omitted --> <ul> <li><a href="https://github.com/pytorch/pytorch/blob/main/#release-compatibility-matrix">Release Compatibility Matrix</a> <ul> <li><a href="https://github.com/pytorch/pytorch/blob/main/#pytorch-cuda-support-matrix">PyTorch CUDA Support Matrix</a></li> </ul> </li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#release-cadence">Release Cadence</a></li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#general-overview">General Overview</a> <ul> <li><a href="https://github.com/pytorch/pytorch/blob/main/#frequently-asked-questions">Frequently Asked Questions</a></li> </ul> </li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#cutting-a-release-branch-preparations">Cutting a release branch preparations</a></li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#cutting-release-branches">Cutting release branches</a> <ul> <li><a href="https://github.com/pytorch/pytorch/blob/main/#pytorchpytorch"><code>pytorch/pytorch</code></a></li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#pytorch-ecosystem-libraries">PyTorch ecosystem libraries</a></li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#making-release-branch-specific-changes-for-pytorch">Making release branch specific changes for PyTorch</a></li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#making-release-branch-specific-changes-for-ecosystem-libraries">Making release branch specific changes for ecosystem libraries</a></li> </ul> </li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#running-launch-execution-team-core-xfn-sync">Running Launch Execution team Core XFN sync</a></li> <li><a href="#drafting-rcs-release-candidates-for-pytorch-and-domain-libraries">Drafting RCs (https://github.com/pytorch/pytorch/blob/main/Release Candidates) for PyTorch and domain libraries</a> <ul> <li><a href="https://github.com/pytorch/pytorch/blob/main/#release-candidate-storage">Release Candidate Storage</a></li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#release-candidate-health-validation">Release Candidate health validation</a></li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#cherry-picking-fixes">Cherry Picking Fixes</a> <ul> <li><a href="https://github.com/pytorch/pytorch/blob/main/#how-to-do-cherry-picking">How to do Cherry Picking</a></li> </ul> </li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#cherry-picking-reverts">Cherry Picking Reverts</a></li> </ul> </li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#preparing-and-creating-final-release-candidate">Preparing and Creating Final Release Candidate</a></li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#promoting-rcs-to-stable">Promoting RCs to Stable</a></li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#additional-steps-to-prepare-for-release-day">Additional Steps to prepare for release day</a> <ul> <li><a href="https://github.com/pytorch/pytorch/blob/main/#modify-release-matrix">Modify release matrix</a></li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#open-google-colab-issue">Open Google Colab issue</a></li> </ul> </li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#patch-releases">Patch Releases</a> <ul> <li><a href="https://github.com/pytorch/pytorch/blob/main/#patch-release-criteria">Patch Release Criteria</a></li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#patch-release-process">Patch Release Process</a> <ul> <li><a href="https://github.com/pytorch/pytorch/blob/main/#patch-release-process-description">Patch Release Process Description</a></li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#triage">Triage</a></li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#issue-tracker-for-patch-releases">Issue Tracker for Patch releases</a></li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#building-a-release-schedule--cherry-picking">Building a release schedule / cherry picking</a></li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#building-binaries--promotion-to-stable">Building Binaries / Promotion to Stable</a></li> </ul> </li> </ul> </li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#hardware--software-support-in-binary-build-matrix">Hardware / Software Support in Binary Build Matrix</a> <ul> <li><a href="https://github.com/pytorch/pytorch/blob/main/#python">Python</a></li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#accelerator-software">Accelerator Software</a> <ul> <li><a href="https://github.com/pytorch/pytorch/blob/main/#special-support-cases">Special support cases</a></li> </ul> </li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#operating-systems">Operating Systems</a></li> </ul> </li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#submitting-tutorials">Submitting Tutorials</a></li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#special-topics">Special Topics</a> <ul> <li><a href="https://github.com/pytorch/pytorch/blob/main/#updating-submodules-for-a-release">Updating submodules for a release</a></li> <li><a href="https://github.com/pytorch/pytorch/blob/main/#triton-dependency-for-the-release">Triton dependency for the release</a></li> </ul> </li> </ul> <!-- raw HTML omitted --> <h2>Release Compatibility Matrix</h2> <p>Following is the Release Compatibility Matrix for PyTorch releases:</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytorch/pytorch/commit/d38164a545b4a4e4e0cf73ce67173f70574890b6"><code>d38164a</code></a> Enable Doc builds for: Minor Releases RCs. Minor and Patch Releases final RC ...</li> <li><a href="https://github.com/pytorch/pytorch/commit/b002562550577a09038c40c0e04ae18a54c8f12b"><code>b002562</code></a> Add doc for Symmetric Memory (<a href="https://redirect.github.com/pytorch/pytorch/issues/167477">#167477</a>)</li> <li><a href="https://github.com/pytorch/pytorch/commit/5811a8d7da873dd699ff6687092c225caffcf1bb"><code>5811a8d</code></a> [cuDNN][SDPA][Convolution] Expose cuDNN runtime version in CUDA hooks (<a href="https://redirect.github.com/pytorch/pytorch/issues/167327">#167327</a>)</li> <li><a href="https://github.com/pytorch/pytorch/commit/f36c764ca475ea382ee4af6ff8bc807a9bd89876"><code>f36c764</code></a> [dynamo][ez] Initialize tracer_output to None by default. (<a href="https://redirect.github.com/pytorch/pytorch/issues/167366">#167366</a>)</li> <li><a href="https://github.com/pytorch/pytorch/commit/6877288115e10776d9ee74d4e86dafdc1556d5bc"><code>6877288</code></a> Change forkserver test to only run below 3.13.8 (<a href="https://redirect.github.com/pytorch/pytorch/issues/167361">#167361</a>)</li> <li><a href="https://github.com/pytorch/pytorch/commit/9976b77abbb6e920684f899c539101e4b412f911"><code>9976b77</code></a> Cherry-pick LibTorch Stable ABI documentation (<a href="https://redirect.github.com/pytorch/pytorch/issues/167112">#167112</a> <a href="https://redirect.github.com/pytorch/pytorch/issues/166661">#166661</a> <a href="https://redirect.github.com/pytorch/pytorch/issues/163899">#163899</a>) (<a href="https://redirect.github.com/pytorch/pytorch/issues/167">#167</a>...</li> <li><a href="https://github.com/pytorch/pytorch/commit/e6bcbbe17c64a2fd9e660324bbdfc5c32cd560a8"><code>e6bcbbe</code></a> [Inductor] No longer throw error in bmm out_dtype lowering due to tem… (<a href="https://redirect.github.com/pytorch/pytorch/issues/166922">#166922</a>)</li> <li><a href="https://github.com/pytorch/pytorch/commit/8f658d7599a9cf5e12d749c6c140457cd6f05978"><code>8f658d7</code></a> don't produce invalid grid configs (<a href="https://redirect.github.com/pytorch/pytorch/issues/166973">#166973</a>) (<a href="https://redirect.github.com/pytorch/pytorch/issues/167158">#167158</a>)</li> <li><a href="https://github.com/pytorch/pytorch/commit/3d27d955fd257283b4adfad635a7ed240ff83489"><code>3d27d95</code></a> [GraphPartition] cache get_free_symbol_uses (<a href="https://redirect.github.com/pytorch/pytorch/issues/166338">#166338</a>) (<a href="https://redirect.github.com/pytorch/pytorch/issues/166994">#166994</a>)</li> <li><a href="https://github.com/pytorch/pytorch/commit/a06141f73d603084910db381504b7c41eedb7210"><code>a06141f</code></a> Delete deprecated fp32 precision warnings (<a href="https://redirect.github.com/pytorch/pytorch/issues/166956">#166956</a>) (<a href="https://redirect.github.com/pytorch/pytorch/issues/166998">#166998</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pytorch/pytorch/compare/v2.8.0...v2.9.1">compare view</a></li> </ul> </details> <br /> 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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 36d134a commit 7e50200

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ pin_tensorflow_gpu = [
162162
pin_pytorch_cpu = [
163163
# https://github.com/pytorch/pytorch/issues/114602
164164
# macos x86 has been deprecated
165-
"torch~=2.8.0; platform_machine!='x86_64' or platform_system != 'Darwin'",
165+
"torch>=2.8,<2.10; platform_machine!='x86_64' or platform_system != 'Darwin'",
166166
"torch; platform_machine=='x86_64' and platform_system == 'Darwin'",
167167
]
168168
pin_pytorch_gpu = [

0 commit comments

Comments
 (0)