[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 Mar 13, 2026
Conversation
…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)
This was referenced 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. |
This PR needs a
|
atalman
approved these changes
Mar 13, 2026
70 tasks
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.
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
Please note: The cuda/cudnn version will not be updated if the right version is already installed.
Test Plan: In CI via ciflow/binaries