Skip to content

build: support PyTorch 2.12 and 2.13 - #64

Merged
guru-desh merged 5 commits into
apple:mainfrom
guru-desh:u/g_deshpande/support-torch-2-12-and-torch-2-13
Aug 25, 2026
Merged

build: support PyTorch 2.12 and 2.13#64
guru-desh merged 5 commits into
apple:mainfrom
guru-desh:u/g_deshpande/support-torch-2-12-and-torch-2-13

Conversation

@guru-desh

@guru-desh guru-desh commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Support PyTorch 2.12 + 2.13

Comment thread pyproject.toml Outdated
@guru-desh
guru-desh force-pushed the u/g_deshpande/support-torch-2-12-and-torch-2-13 branch from f2c5b1e to 2f9c9c9 Compare August 25, 2026 00:59
@guru-desh guru-desh changed the title [DO NOT MERGE] build: support PyTorch 2.12 and 2.13 build: support PyTorch 2.12 and 2.13 Aug 25, 2026
@guru-desh
guru-desh requested review from aseemw and dengqiaoyu and removed request for aseemw August 25, 2026 01:03
@guru-desh
guru-desh marked this pull request as ready for review August 25, 2026 01:17
@guru-desh
guru-desh force-pushed the u/g_deshpande/support-torch-2-12-and-torch-2-13 branch from 1df5c1a to 2f9c9c9 Compare August 25, 2026 01:27
@dengqiaoyu

Copy link
Copy Markdown
Contributor

PS: After the PR merges, remember to set these as required status checks.

image

@guru-desh
guru-desh force-pushed the u/g_deshpande/support-torch-2-12-and-torch-2-13 branch 2 times, most recently from c26c306 to 41e80dd Compare August 25, 2026 02:16
Add torch_2_12/torch_2_13 dependency groups, raise the project's torch
ceiling to 2.13.0, and move the linux CUDA wheel index from cu128
(tops out at torch 2.11.0) to cu129, which covers the full supported
range (2.8.0-2.13.0).

coreai-torch's only PyPI release (0.4.1) still caps torch<=2.11.0, but
that ceiling was already removed on its main branch (apple/coreai-torch#38,
until a new release picks it up.
Lets CI run on pushes to this fork's working branch without opening a
PR first, so the new torch 2.12/2.13 legs can be checked before
opening the real PR into apple/coreai-optimization. Must not reach
upstream.
@guru-desh
guru-desh force-pushed the u/g_deshpande/support-torch-2-12-and-torch-2-13 branch from 41e80dd to 3ebc459 Compare August 25, 2026 03:24
@guru-desh
guru-desh merged commit 9d9b969 into apple:main Aug 25, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants