Skip to content

[CD] Remove cu132->cu130 wheel install fallback in Dockerfile - #181577

Merged
atalman merged 1 commit into
release/2.12from
cherry-pick-181513-by-pytorch_bot_bot_
Apr 27, 2026
Merged

atalman merged 1 commit into
release/2.12from
cherry-pick-181513-by-pytorch_bot_bot_

Conversation

@pytorchbot

Copy link
Copy Markdown
Collaborator

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.

  ## 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)
@pytorch-bot

pytorch-bot Bot commented Apr 27, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/181577

Note: Links to docs will display an error until the docs builds have been completed.

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 1 New Failure

As of commit dfe58c0 with merge base 58e3fb0 (image):

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@atalman
atalman merged commit a9560a2 into release/2.12 Apr 27, 2026
145 of 146 checks passed
@github-actions
github-actions Bot deleted the cherry-pick-181513-by-pytorch_bot_bot_ branch May 28, 2026 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants