mirror of
https://github.com/pytorch/pytorch.git
synced 2026-10-25 18:53:39 +08:00
Windows CUDA wheels built on main depend on the cuda-toolkit pip package and no longer bundle the CUDA or cuDNN DLLs (#194056), so cmake/PostBuildSteps.cmake never copies zlibwapi.dll into them. Drop that block and the install_zlib step in cuda_install.bat that downloads the 1.2.3 DLL into System32 for it. Related to #201626. Please open this PR as a draft and mark it ready for review once the description and code are ready to be looked at. Before submitting, please review: - [PR lifecycle](https://github.com/pytorch/pytorch/blob/main/CONTRIBUTING.md#pr-lifecycle) in the contributing guide - [AI-Assisted Development](https://github.com/pytorch/pytorch/blob/main/AI_POLICY.md) policy Go through the following checklist - [ ] Passes lint (`spin fixlint`) - [ ] Added/updated tests - [ ] Updated documentation (if applicable) - [ ] Included benchmark results (for PRs impacting perf) Created with Claude Pull Request resolved: https://github.com/pytorch/pytorch/pull/201873 Approved by: https://github.com/Skylion007, https://github.com/huydhn