Skip to content

build(deps-dev): update torch requirement from <3,>=2.5 to >=2.14.0,<3 - #4

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/torch-gte-2.14.0-and-lt-3
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/torch-gte-2.14.0-and-lt-3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 9, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on torch to permit the latest version.

Release notes

Sourced from torch's releases.

PyTorch 2.14.0 Release Notes

Highlights

For more details about these highlighted features, you can look at the release blogpost. Below are the full release notes for this release.

Backwards Incompatible Changes

torch.nn

  • torch.nn.LinearCrossEntropyOptions no longer accepts acc_policy="balanced"; use "compact" instead (#188283)

    The "balanced" policy was removed because "compact" provides the same weight-gradient accumulation precision with lower memory use on CUDA, already uses the equivalent scratch layout for mixed-precision inputs on other devices, and was never selected by "auto". Constructing the options with acc_policy="balanced" now raises ValueError: invalid acc_policy: 'balanced'; expected one of 'auto', 'accurate', 'compact'.

    Before:

    options = torch.nn.LinearCrossEntropyOptions(acc_policy="balanced")
    loss = torch.nn.functional.linear_cross_entropy(
        input, linear_weight, target, options=options
    )

    After:

    options = torch.nn.LinearCrossEntropyOptions(acc_policy="compact")
    loss = torch.nn.functional.linear_cross_entropy(

... (truncated)

Changelog

Sourced from torch's changelog.

Releasing PyTorch

Release Compatibility Matrix

Following is the Release Compatibility Matrix for PyTorch releases:

... (truncated)

Commits
  • 2b3ec34 [release/2.14] Import SDPAParams in test_transformers to fix lint (#194970)
  • 08187d9 [cuDNN] Add guards for cuDNN SDPA decode (#194963)
  • 8ceea97 Pin cython < 3.3.0 for the Windows Triton wheel build (#194931)
  • 99ecebc [Cherry-pick][release/2.14] [inductor] Fix loop-local load CSE lifetime (#194...
  • ec283a7 Bump the Python 3.15 numpy pin to 2.5.2 (#194821)
  • 65890f3 Fix docker-release validate job to use the channel matching the pushed image ...
  • 1682388 Fix macOS py3.15 wheel builds: pin Cython < 3.3.0 and bump the cp315 numpy pi...
  • 9724418 Fix Windows py3.15 builds: constrain Cython < 3.3.0 and bump the cp315 numpy ...
  • f1b7554 [MPS] Fix pin_memory() recycling buffers still in use by the GPU (#194662)
  • 9f205f7 [MPS] fail loudly on large reductions (#194661)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Sep 9, 2026
@dependabot
dependabot Bot requested a review from fufuchiu as a code owner September 9, 2026 16:19
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Sep 9, 2026
@fufuchiu
fufuchiu force-pushed the dependabot/pip/torch-gte-2.14.0-and-lt-3 branch from 88539ed to 5642fb7 Compare September 9, 2026 16:54
@fufuchiu
fufuchiu changed the base branch from archive/date-adjustment-20260910/main to main September 9, 2026 16:54
Updates the requirements on [torch](https://github.com/pytorch/pytorch) to permit the latest version.
- [Release notes](https://github.com/pytorch/pytorch/releases)
- [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md)
- [Commits](pytorch/pytorch@v2.5.0...v2.14.0)

---
updated-dependencies:
- dependency-name: torch
  dependency-version: 2.14.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/torch-gte-2.14.0-and-lt-3 branch from 5642fb7 to 52b3a3b Compare September 11, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants