Skip to content

[ROCm] Build prototype wheels against PyTorch 2.12#1060

Merged
mgehre-amd merged 1 commit into
gfx11from
matthias.prototype-wheels-torch212
Jul 17, 2026
Merged

[ROCm] Build prototype wheels against PyTorch 2.12#1060
mgehre-amd merged 1 commit into
gfx11from
matthias.prototype-wheels-torch212

Conversation

@mgehre-amd

@mgehre-amd mgehre-amd commented Jul 17, 2026

Copy link
Copy Markdown

Bump the "Build RDNA3/3.5 prototype wheels" workflow and the ROCm build requirements from the PyTorch 2.11 line to 2.12.

The workflow resolves torch on the ROCm nightly index and then synthesizes matching torchvision/torchaudio pins that must share the same +rocm build suffix. It also installs -r requirements/build/rocm.txt under the derived constraints, so both files must agree on the base version or the resolve is unsatisfiable.

Bump the "Build RDNA3/3.5 prototype wheels" workflow and the ROCm build
requirements from the PyTorch 2.11 line to 2.12.

The workflow resolves torch on the ROCm nightly index and then synthesizes
matching torchvision/torchaudio pins that must share the same +rocm build
suffix. It also installs -r requirements/build/rocm.txt under the derived
constraints, so both files must agree on the base version or the resolve is
unsatisfiable.

Changes:
- torchvision base bumped 0.26 -> 0.27 to track torch 2.12 (torch 2.12 <->
  torchvision 0.27 per the pytorch/vision compatibility table).
- torchaudio stays at 2.11.0: it was retired from the PyTorch release
  process at 2.11 (I/O migrated to TorchCodec, pytorch/audio#3902), so no
  2.12+ build exists. The 2.11.0 wheel declares no torch version pin and
  floats across torch minors, so it resolves cleanly alongside torch 2.12.
  The version-derivation for torchaudio is replaced with a hardcoded 2.11.0
  base carrying the resolved +rocm build-date suffix.

Signed-off-by: Matthias Gehre <matthias.gehre@amd.com>
@mgehre-amd
mgehre-amd force-pushed the matthias.prototype-wheels-torch212 branch from 1ed5de0 to 8f62b2d Compare July 17, 2026 08:13
@mgehre-amd
mgehre-amd requested a review from zohaibm-amd July 17, 2026 14:10
@mgehre-amd
mgehre-amd merged commit 965d218 into gfx11 Jul 17, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants