Skip to content

Studio: Windows torch 2.11 kernels from our prebuilt wheels - #13564

Merged
danielhanchen merged 6 commits into
mainfrom
win-torch211-prebuilt-wheels
Oct 14, 2026
Merged

danielhanchen merged 6 commits into
mainfrom
win-torch211-prebuilt-wheels

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Studio on Windows x64 with torch 2.11 now installs flash-attn, causal-conv1d and mamba-ssm from our prebuilt wheels.

Stacked on #13563 (the workflow change that builds them). Merge after the torch 2.11 win_amd64 wheels are published on prebuilt-wheels-cu13; before that, these URLs would 404.

What changes

studio/backend/utils/wheel_utils.py: a small table of extra published cells, keyed by (platform, torch minor), with their interpreters. ("win_amd64", "2.11") resolves for cp311, cp312 and cp313 to prebuilt-wheels-cu13, named exactly as the workflow names them, e.g. mamba_ssm-2.3.2.post1+cu13torch2.11cxx11abiTRUE-cp312-cp312-win_amd64.whl.

Unchanged: Linux 2.11 keeps upstream's torch 2.10 wheels; Windows 2.13 / 2.14 stay cp313 only; Windows 2.12, free-threaded builds, other interpreters and win_arm64 2.11 resolve to nothing, as before. Setup, unsloth install-kernels and the model-load install all go through this resolver, so no other code changes.

Tests

The cases that asserted "Windows 2.11 has no wheel" move to 2.12, plus an end-to-end check that the workflow's wheel names and the resolver's URLs agree for every 2.11 cell. The resolver, kernel_install and prebuilt wheel test files pass (308); the new cases fail against main.

Linux torch 2.11 reuses upstream's torch2.10 wheels, which have no Windows build, so a
Windows install that keeps torch 2.11+cu130 gets no flash-attn, causal-conv1d or mamba-ssm.
2.11.0 is accepted from a dispatch and built only on win_amd64 (triton-windows 3.6.0.post26
for the mamba smoke test); a default dispatch is unchanged. Release notes list torch minors
with different interpreter sets separately.
win_amd64 torch 2.11 + cu13 on cp311, cp312 or cp313 now resolves flash-attn, causal-conv1d
and mamba-ssm to prebuilt-wheels-cu13, named exactly as the workflow names them. Linux 2.11
keeps upstream's torch2.10 reuse; Windows 2.12, other interpreters and win_arm64 2.11 still
resolve to nothing.
@danielhanchen danielhanchen self-assigned this Oct 13, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-14T06:34:13.093862Z 2600247 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@unslothai unslothai deleted a comment from chatgpt-codex-connector Bot Oct 13, 2026
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 3f95315aa5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Base automatically changed from win-torch211-wheels-pipeline to main October 13, 2026 11:09
@danielhanchen
danielhanchen merged commit af9d978 into main Oct 14, 2026
@danielhanchen
danielhanchen deleted the win-torch211-prebuilt-wheels branch October 14, 2026 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant