Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/181513
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit 3b29b6b with merge base 8f248fd ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
On pull_request events, neither the tag-based "Setup test specific variables" nor "Setup nightly specific variables" step matched, so INSTALL_CHANNEL was never exported and docker.Makefile fell back to its default of `whl` (release channel). That made PR validation try to install release wheels — broken for new CUDA versions like 13.2. Extend the nightly step's condition to also fire on pull_request so PRs get INSTALL_CHANNEL=whl/nightly (and pytorch-nightly DOCKER_IMAGE / triton pin) by default. Authored with Claude.
|
@pytorchmergebot merge -f "all looks correct" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
@pytorchbot cherry-pick --onto release/2.12 -c "critical" |
Cherry picking #181513The cherry pick PR is at #181577 and it is recommended to link a critical cherry pick PR with an issue. The following tracker issues are updated: Details for Dev Infra teamRaised by workflow job |
[CD] Remove cu132->cu130 wheel install fallback in Dockerfile (#181513) ## Summary Removes the hardcoded cu132 → cu130 wheel-install fallback in Dockerfile. The fallback was added in #177316 as a temporary workaround when CUDA 13.2 nightlies weren't yet published; cu132 wheels have been on download.pytorch.org/whl/nightly/cu132/ since 2026-04-20, so the override is now stale and actively wrong. With the override in place, the cuda13.2-cudnn9-{runtime,devel} images installed +cu130 wheels, causing the docker-release validation smoke test to fail: RuntimeError: Wrong CUDA version. Loaded: 13.0 Expected: 13.2 (from smoke_test.py smoke_test_cuda — torch.version.cuda != gpu_arch_ver) Failing run: https://github.com/pytorch/pytorch/actions/runs/24879565337 (jobs validate / cuda13.2-cudnn9-runtime and validate / cuda13.2-cudnn9-devel). ## Test plan - Build Official Docker Images workflow runs green on nightly, including validate / cuda13.2-cudnn9-runtime and validate / cuda13.2-cudnn9-devel. - In the built cuda13.2-cudnn9-runtime image, python -c 'import torch; print(torch.version.cuda)' reports 13.2. Pull Request resolved: #181513 Approved by: https://github.com/Skylion007, https://github.com/wdvr, https://github.com/malfet (cherry picked from commit 23357da) Co-authored-by: atalman <[email protected]>
…h#181513) ## Summary Removes the hardcoded cu132 → cu130 wheel-install fallback in Dockerfile. The fallback was added in pytorch#177316 as a temporary workaround when CUDA 13.2 nightlies weren't yet published; cu132 wheels have been on download.pytorch.org/whl/nightly/cu132/ since 2026-04-20, so the override is now stale and actively wrong. With the override in place, the cuda13.2-cudnn9-{runtime,devel} images installed +cu130 wheels, causing the docker-release validation smoke test to fail: RuntimeError: Wrong CUDA version. Loaded: 13.0 Expected: 13.2 (from smoke_test.py smoke_test_cuda — torch.version.cuda != gpu_arch_ver) Failing run: https://github.com/pytorch/pytorch/actions/runs/24879565337 (jobs validate / cuda13.2-cudnn9-runtime and validate / cuda13.2-cudnn9-devel). ## Test plan - Build Official Docker Images workflow runs green on nightly, including validate / cuda13.2-cudnn9-runtime and validate / cuda13.2-cudnn9-devel. - In the built cuda13.2-cudnn9-runtime image, python -c 'import torch; print(torch.version.cuda)' reports 13.2. Pull Request resolved: pytorch#181513 Approved by: https://github.com/Skylion007, https://github.com/wdvr, https://github.com/malfet
…h#181513) ## Summary Removes the hardcoded cu132 → cu130 wheel-install fallback in Dockerfile. The fallback was added in pytorch#177316 as a temporary workaround when CUDA 13.2 nightlies weren't yet published; cu132 wheels have been on download.pytorch.org/whl/nightly/cu132/ since 2026-04-20, so the override is now stale and actively wrong. With the override in place, the cuda13.2-cudnn9-{runtime,devel} images installed +cu130 wheels, causing the docker-release validation smoke test to fail: RuntimeError: Wrong CUDA version. Loaded: 13.0 Expected: 13.2 (from smoke_test.py smoke_test_cuda — torch.version.cuda != gpu_arch_ver) Failing run: https://github.com/pytorch/pytorch/actions/runs/24879565337 (jobs validate / cuda13.2-cudnn9-runtime and validate / cuda13.2-cudnn9-devel). ## Test plan - Build Official Docker Images workflow runs green on nightly, including validate / cuda13.2-cudnn9-runtime and validate / cuda13.2-cudnn9-devel. - In the built cuda13.2-cudnn9-runtime image, python -c 'import torch; print(torch.version.cuda)' reports 13.2. Pull Request resolved: pytorch#181513 Approved by: https://github.com/Skylion007, https://github.com/wdvr, https://github.com/malfet
…h#181513) ## Summary Removes the hardcoded cu132 → cu130 wheel-install fallback in Dockerfile. The fallback was added in pytorch#177316 as a temporary workaround when CUDA 13.2 nightlies weren't yet published; cu132 wheels have been on download.pytorch.org/whl/nightly/cu132/ since 2026-04-20, so the override is now stale and actively wrong. With the override in place, the cuda13.2-cudnn9-{runtime,devel} images installed +cu130 wheels, causing the docker-release validation smoke test to fail: RuntimeError: Wrong CUDA version. Loaded: 13.0 Expected: 13.2 (from smoke_test.py smoke_test_cuda — torch.version.cuda != gpu_arch_ver) Failing run: https://github.com/pytorch/pytorch/actions/runs/24879565337 (jobs validate / cuda13.2-cudnn9-runtime and validate / cuda13.2-cudnn9-devel). ## Test plan - Build Official Docker Images workflow runs green on nightly, including validate / cuda13.2-cudnn9-runtime and validate / cuda13.2-cudnn9-devel. - In the built cuda13.2-cudnn9-runtime image, python -c 'import torch; print(torch.version.cuda)' reports 13.2. Pull Request resolved: pytorch#181513 Approved by: https://github.com/Skylion007, https://github.com/wdvr, https://github.com/malfet
Summary
Removes the hardcoded cu132 → cu130 wheel-install fallback in Dockerfile. The fallback was added in
#177316 as a temporary workaround when CUDA 13.2 nightlies weren't yet published; cu132 wheels
have been on download.pytorch.org/whl/nightly/cu132/ since 2026-04-20, so the override is now stale
and actively wrong.
With the override in place, the cuda13.2-cudnn9-{runtime,devel} images installed +cu130 wheels,
causing the docker-release validation smoke test to fail:
RuntimeError: Wrong CUDA version. Loaded: 13.0 Expected: 13.2
(from smoke_test.py smoke_test_cuda — torch.version.cuda != gpu_arch_ver)
Failing run: https://github.com/pytorch/pytorch/actions/runs/24879565337 (jobs validate /
cuda13.2-cudnn9-runtime and validate / cuda13.2-cudnn9-devel).
Test plan
cuda13.2-cudnn9-runtime and validate / cuda13.2-cudnn9-devel.
reports 13.2.