Skip to content

Bump torch from 2.7.1 to 2.12.1+cpu - #10

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/torch-2.12.1cpu
Open

Bump torch from 2.7.1 to 2.12.1+cpu#10
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/torch-2.12.1cpu

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 22, 2026

Copy link
Copy Markdown

Bumps torch from 2.7.1 to 2.12.1+cpu.

Dependabot compatibility score

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 commands and options

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 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note

Medium Risk
Major PyTorch version jump can break transformers/runtime compatibility, but only the Linux CPU extra is updated and there is no app-code change.

Overview
Dependabot bump of the Linux CPU PyTorch pin in requirements.txt from torch==2.7.1+cpu to torch==2.12.1+cpu. Non-Linux remains on 2.7.1. No application code changes.

Reviewed by Cursor Bugbot for commit 95d775f. Bugbot is set up for automated code reviews on this repo. Configure here.

Bumps torch from 2.7.1 to 2.12.1+cpu.

---
updated-dependencies:
- dependency-name: torch
  dependency-version: 2.12.1+cpu
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Aug 22, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 95d775f. Configure here.

Comment thread requirements.txt
@@ -1,5 +1,5 @@
--extra-index-url https://download.pytorch.org/whl/
torch==2.7.1+cpu; sys_platform == 'linux'
torch==2.12.1+cpu; sys_platform == 'linux'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Platform torch versions now diverge

Medium Severity

This bump updates only the Linux pin to torch==2.12.1+cpu while leaving the non-Linux pin at torch==2.7.1. Those lines previously tracked the same base version, so installs now resolve five minor versions apart by platform. Local macOS/Windows runs from requirements.txt stay on the old release while Linux/Docker gets the new one, which can cause inconsistent behavior and leave non-Linux environments on the unpatched pin.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 95d775f. Configure here.

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