Skip to content

Commit bbd901e

Browse files
committed
chore: add macpytorch index for macOS wheel source
1 parent a5d6ae9 commit bbd901e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,16 @@ name = "pytorch"
6868
url = "https://download.pytorch.org/whl/cpu"
6969
explicit = true
7070

71+
[[tool.uv.index]]
72+
name = "macpytorch"
73+
url = "https://download.pytorch.org/whl"
74+
explicit = true
75+
7176
[tool.uv.sources]
7277
torch = [
7378
{ index = "pytorch", marker = "sys_platform == 'linux'" },
7479
{ index = "pytorch", marker = "sys_platform == 'win'" },
75-
{ url = "https://download.pytorch.org/whl/cpu/torch-2.8.0-cp311-none-macosx_11_0_arm64.whl", marker = "sys_platform == 'darwin'" },
80+
{ index = "macpytorch", marker = "sys_platform == 'darwin'" },
7681
]
7782

7883
[build-system]

0 commit comments

Comments
 (0)