Skip to content

[windows][smoke test] Add an option to install cuda if required cuda/cudnn on windows AMI do not match#177369

Merged
atalman merged 1 commit intorelease/2.11from
cherry-pick-177273-by-pytorch_bot_bot_
Mar 13, 2026
Merged

[windows][smoke test] Add an option to install cuda if required cuda/cudnn on windows AMI do not match#177369
atalman merged 1 commit intorelease/2.11from
cherry-pick-177273-by-pytorch_bot_bot_

Conversation

@pytorchbot
Copy link
Copy Markdown
Collaborator

Followup fix for #167242
After #175547 Windows AMI and intendent version of CUDNN do not match. Hence followup fixes required. With this approach we are flexible to update windows CUDNN without actually updating the Windows AMI. Windows AMI update can be done later.

Fixes failure during test: https://github.com/pytorch/pytorch/actions/runs/22979336872/job/66724249070

RuntimeError: cuDNN version incompatibility: PyTorch was compiled  against (9, 19, 0) but found runtime version (9, 10, 2). PyTorch already comes bundled with cuDNN. One option to resolving this error is to ensure PyTorch can find the bundled cuDNN. 

Please note: The cuda/cudnn version will not be updated if the right version is already installed.

Test Plan: In CI via ciflow/binaries

…cudnn on windows AMI do not match (#177273)

Followup fix for #167242
After #175547 Windows AMI and intendent version of CUDNN do not match. Hence followup fixes required. With this approach we are flexible to update windows CUDNN without actually updating the Windows AMI. Windows AMI update can be done later.

Fixes failure during test: https://github.com/pytorch/pytorch/actions/runs/22979336872/job/66724249070

```
RuntimeError: cuDNN version incompatibility: PyTorch was compiled  against (9, 19, 0) but found runtime version (9, 10, 2). PyTorch already comes bundled with cuDNN. One option to resolving this error is to ensure PyTorch can find the bundled cuDNN.
```

Please note: The cuda/cudnn version will not be updated if the right version is already installed.

Test Plan: In CI via ciflow/binaries
Pull Request resolved: #177273
Approved by: https://github.com/malfet, https://github.com/albanD

(cherry picked from commit e55da9f)
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot bot commented Mar 13, 2026

🔗 Helpful Links

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

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

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

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot bot commented Mar 13, 2026

This PR needs a release notes: label

If your changes are user facing and intended to be a part of release notes, please use a label starting with release notes:.

If not, please add the topic: not user facing label.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "topic: not user facing"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@atalman atalman merged commit 7f2cdeb into release/2.11 Mar 13, 2026
17 of 46 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