chore: add macpytorch index for macOS wheel source
parent
a5d6ae9fbc
commit
bbd901e580
|
|
@ -68,11 +68,16 @@ name = "pytorch"
|
||||||
url = "https://download.pytorch.org/whl/cpu"
|
url = "https://download.pytorch.org/whl/cpu"
|
||||||
explicit = true
|
explicit = true
|
||||||
|
|
||||||
|
[[tool.uv.index]]
|
||||||
|
name = "macpytorch"
|
||||||
|
url = "https://download.pytorch.org/whl"
|
||||||
|
explicit = true
|
||||||
|
|
||||||
[tool.uv.sources]
|
[tool.uv.sources]
|
||||||
torch = [
|
torch = [
|
||||||
{ index = "pytorch", marker = "sys_platform == 'linux'" },
|
{ index = "pytorch", marker = "sys_platform == 'linux'" },
|
||||||
{ index = "pytorch", marker = "sys_platform == 'win'" },
|
{ index = "pytorch", marker = "sys_platform == 'win'" },
|
||||||
{ url = "https://download.pytorch.org/whl/cpu/torch-2.8.0-cp311-none-macosx_11_0_arm64.whl", marker = "sys_platform == 'darwin'" },
|
{ index = "macpytorch", marker = "sys_platform == 'darwin'" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue