Commit 45b2244
Add Python 3.12 support with torch 2.5.x
- Update Python version constraint from <3.12 to <3.13
- Upgrade torch from ^2.1.0 to ^2.5.0 (required for py3.12 + triton)
- Upgrade torchvision from ^0.16.0 to ^0.20.0
- Update CI workflows to test both Python 3.10 and 3.12
The triton package bundled with torch 2.1.x only had wheels for
Python 3.10/3.11. Torch 2.5.x includes triton 3.x which supports
Python 3.12.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent da630f2 commit 45b2244
File tree
4 files changed
+157
-122
lines changed- .github/workflows
4 files changed
+157
-122
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
21 | | - | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | | - | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
20 | | - | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | | - | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| |||
0 commit comments