Repository navigation
Prebuilt CUDA wheels: torch 2.12 for Windows x64 - #13807
Merged
Merged
Conversation
Add 2.12.0 to win_amd64's extra_torches (Python 3.11-3.13, flash-attn, causal-conv1d, mamba-ssm). Linux reuses upstream's torch2.10 wheels on 2.12, which have no Windows build. torch 2.12.0 pins triton 3.7.0, so the smoke test uses triton-windows 3.7.0.post26. A default dispatch still builds only 2.13.0 and 2.14.0.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
danielhanchen
added a commit
that referenced
this pull request
Oct 15, 2026
Studio on Windows x64 with torch 2.12 now installs flash-attn, causal-conv1d and mamba-ssm from our prebuilt wheels, as it does for 2.10 and 2.11. Follows #13807 (the workflow change that builds them). Merge after the torch 2.12 `win_amd64` wheels are published on `prebuilt-wheels-cu13`; before that, these URLs would 404. ## What changes `studio/backend/utils/wheel_utils.py`: `("win_amd64", "2.12")` joins the extra published cells, for cp311, cp312 and cp313, e.g. `flash_attn-2.8.4+cu13torch2.12cxx11abiTRUE-cp312-cp312-win_amd64.whl`. Unchanged: Linux 2.12 keeps reusing upstream's torch 2.10 wheels; Windows 2.10 / 2.11 / 2.13 / 2.14 as before; Windows 2.9, CUDA 12 builds, free-threaded builds, other interpreters and `win_arm64` resolve to nothing. ## Tests The cases that used Windows 2.12 as "no wheel" move to 2.9; Windows 2.12 resolution for each interpreter and kernel, plus `kernel_install`; the workflow/resolver agreement check covers all 27 extra cells. The resolver, kernel_install and prebuilt wheel test files pass (388).
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.
Lets
prebuilt-cuda-wheels.ymlbuild flash-attn, causal-conv1d and mamba-ssm for torch 2.12 on Windows x64, next to the torch 2.10 and 2.11 cells (#13740, #13563).Why
On Linux, torch 2.12 reuses upstream's torch 2.10 wheels (
_PREBUILT_WHEEL_TORCH_MM). Upstream never published those for Windows, so a Windows install on torch 2.12.x+cu130 gets none of the three. Existing cu130 installs keep their torch release up to 2.14, so 2.12 installs stay on 2.12.What changes
.github/scripts/prebuilt_wheels.py:win_amd64'sextra_torchesbecomes("2.10.0", "2.11.0", "2.12.0"). Onlywin_amd64builds 2.12.0; a default dispatch still builds only 2.13.0 and 2.14.0.TRITON_WINDOWS["2.12"] = "3.7.0.post26", matching torch 2.12.0'striton==3.7.0pin, for the mamba-ssm smoke import.Nothing resolves to these wheels yet; the Studio side follows once they are published.
Build
An artifact-only run of this workflow from this branch on a staging repo (
platforms=win_amd64,torch_versions=2.12.0,python_versions=3.11,3.12,3.13, all three packages,publish=false) is in progress. The publish job only runs when every cell builds and signs.