Repository navigation
Fix Windows CUDA wheel conda bootstrap - #24099
Merged
Merged
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/24099
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 7bf8122 with merge base 71a713c ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
Gasoonjia
marked this pull request as ready for review
October 23, 2026 00:35
Gasoonjia
force-pushed
the
gasoonjia/fix-windows-cuda-wheel-conda
branch
from
October 23, 2026 00:37
6523679 to
7bf8122
Compare
shoumikhin
approved these changes
Oct 23, 2026
This branch was successfully deployed
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.
Summary
Use the merged conda bootstrap repair from pytorch/test-infra#9179 by pinning only the Windows CUDA wheel build helper checkout to
e3d344d886a7281f6a919115d332df2a080da8ad. It avoids installingconda=25.3.0into the old Windows runner base environment and uses the runner's existing conda to create the isolated build environment. The reusable workflow, CUDA matrix generation, and ExecuTorch checkout remain unchanged. No failures are ignored and no tests are disabled.Keep the immutable helper pin while validating this repair on ExecuTorch. Evaluate returning the helper ref to
mainafter real CI validates the merged repair.Failure And Iteration
On October 22, every Windows CUDA wheel build in https://github.com/pytorch/executorch/actions/runs/39755980076 failed before compilation during
conda install -y conda=25.3.0. Upload, bundle, and Windows E2E failures followed because no wheel artifact was produced. The October 21 nightly was green: https://github.com/pytorch/executorch/actions/runs/39593845176.The first version of this PR pinned the proposed Python 3.11 bootstrap repair from upstream #9177. Real CI https://github.com/pytorch/executorch/actions/runs/39860577061 proved that
conda install -y python=3.11 conda=25.3.0still fails withUnsatisfiableError, including historical base-environment package constraints such asmenuinst. The CUDA 13.2 program export succeeded, but the wheel build failed in shared bootstrap before compilation. This revision adopts the merged #9179 repair, which removes that base-environment installation entirely.Validation
Actionlint 1.7.12 passes. YAML parses and structural equality assertions verify that only the build helper ref changes; matrix generation, ExecuTorch checkout, and all test jobs are unchanged.
Real Windows CUDA wheel validation is pending for head
65236798ff45d18e0c22e88e7268b31d51a47fd9. First require the PR's Python 3.11/CUDA 13.2 build, smoke, upload, bundle, and Windows GPU E2E to execute and succeed. Then dispatch the full Python 3.11-3.15/CUDA 13.2 and 13.4 matrix and require all ten wheel builds/uploads and both GPU E2E paths to execute and succeed.This PR remains draft until validation completes. Authored with AI assistance using Devmate.