[ROCm] Build prototype wheels against PyTorch 2.12#1060
Merged
Conversation
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
force-pushed
the
matthias.prototype-wheels-torch212
branch
from
July 17, 2026 08:13
1ed5de0 to
8f62b2d
Compare
zohaibm-amd
approved these changes
Jul 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.