Skip to content

[DO NOT MERGE] build: support PyTorch 2.12 and 2.13 - #64

Draft
guru-desh wants to merge 5 commits into
apple:mainfrom
guru-desh:u/g_deshpande/support-torch-2-12-and-torch-2-13
Draft

[DO NOT MERGE] build: support PyTorch 2.12 and 2.13#64
guru-desh wants to merge 5 commits into
apple:mainfrom
guru-desh:u/g_deshpande/support-torch-2-12-and-torch-2-13

Conversation

@guru-desh

Copy link
Copy Markdown
Contributor

Support PyTorch 2.12 + 2.13

Do not merge reason - requires new release from coreai-torch

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,
apple#39) two weeks after that release; pin to that commit via a git source
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.
Comment thread pyproject.toml
],
]
[tool.uv.sources]
# TODO: Remove once coreai-torch cuts a release past 0.4.1 that includes the

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove git+ssh installation of coreai-torch once new release comes out

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.

1 participant