Skip to content

chore(deps-dev): bump torch from 2.9.0 to 2.13.0 - #1445

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/torch-2.13.0
Open

chore(deps-dev): bump torch from 2.9.0 to 2.13.0#1445
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/torch-2.13.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 17, 2026

Copy link
Copy Markdown
Contributor

Bumps torch from 2.9.0 to 2.13.0.

Release notes

Sourced from torch's releases.

PyTorch 2.13.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.

Tracked Regressions

ROCm wheels break torch.compile on CPU in environments without a GPU

Running a torch==2.13.0+rocm7.2 wheel in an environment where no GPU is available (torch.cuda.is_available() is False) breaks torch.compile on the CPU path: the first compile raises RuntimeError: Can't detect vectorized ISA for CPU (#189194). This is a regression from torch==2.12.1+rocm7.2, which compiles CPU code fine (detecting e.g. VecAVX2) in the same setup. The 2.13 ROCm wheel appears to rely on something present in the ROCm builder image to detect the CPU vectorized ISA, so it works when run on a ROCm image but fails on a plain CPU-only image.

Workaround: run the +rocm wheel on a ROCm image, or install a standard CPU/CUDA build for GPU-less environments.

Backwards Incompatible Changes

  • Stop building CPython 3.13t (free-threaded) binaries (#182951)

    Upstream pypa/manylinux removed CPython 3.13t (free-threaded) on 2026-05-07, because 3.13t was experimental and has been superseded by the now-non-experimental CPython 3.14t. As a result, PyTorch 2.13 no longer ships cp313t wheels (Linux, Triton, and related artifacts). Users on the free-threaded interpreter should move to Python 3.14t.

    PyTorch 2.12:

    # cp313t (free-threaded 3.13) wheels were available
    python3.13t -m pip install torch

    PyTorch 2.13:

... (truncated)

Commits
  • cf30153 [release/2.13] Strip +PTX from CUDA arch list on release/RC builds (#188914) ...
  • 3e3e24b [release/2.13] Restrict cuda-bindings to Python < 3.15 for CUDA 12.9 builds (...
  • 7986b06 [release/2.13] Bump binary build timeout 280 -> 400 minutes (#188551)
  • 0bdbc26 [release/2.13] Add CUDA 12.9 to TORCH_CUDA_ARCH_LIST tables (#188443)
  • 9cabb45 [release/2.13] Update manywheel docker image pin to 78e737ad (#188409)
  • 78e737a [release/2.13] Revert "Tighten generalized scatter graph target (#184075)" (#...
  • 0bb9b5b [release/2.13] Revert "dynamo: round-trip torch.cuda.stream ctx mgr across gr...
  • aaac2bf [release/2.13] Revert "[Reland] Port D104346887/PR 182675 for index_add fast ...
  • 9330813 Fix build_with_debinfo.py broken by CONFIGURE_DEPENDS globbing (#188192)
  • 4e077a7 Remove setuptools upper bound (#188190)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Jul 17, 2026
@dependabot
dependabot Bot requested a review from 400Ping as a code owner July 17, 2026 23:10
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Jul 17, 2026
@rich7420
rich7420 requested a lite review from Copilot August 8, 2026 03:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Bumps [torch](https://github.com/pytorch/pytorch) from 2.9.0 to 2.13.0.
- [Release notes](https://github.com/pytorch/pytorch/releases)
- [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md)
- [Commits](pytorch/pytorch@v2.9.0...v2.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/uv/torch-2.13.0 branch from 1f3bb5d to c24221c Compare August 8, 2026 03:49
@rich7420

rich7420 commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

This bump can't be merged as-is. pyproject.toml's torch range already permits 2.13.0, so this is valid Python-side, but qdp/Cargo.toml pins tch = "0.22", whose torch-sys build script hard-checks for PyTorch 2.9.0 exactly. test (3.10) fails at build: this tch version expects PyTorch 2.9.0, got 2.13.0.

tch-rs's latest crates.io release is 0.24.0 (PyTorch 2.11 support) — 0.25.0 is listed on the GitHub changelog but not yet published to crates.io, so 2.13 support isn't available as a Cargo dependency yet.

#1461 already bumps tch to 0.24 and pins torch==2.11.0 to match, and has just been rebased onto latest main with build/test/clippy verified locally (torch 2.11.0 + tch 0.24.0, cargo test -p qdp-core --features pytorch --lib: 100/100 pass). Once #1461 merges, this Dependabot PR should be closed as superseded -- until tch-rs publishes 2.13 support to crates.io, bumping past 2.11.0 will keep breaking test (3.10) the same way.

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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants