mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
chore: add macpytorch index for macOS wheel source
This commit is contained in:
parent
a5d6ae9fbc
commit
bbd901e580
|
|
@ -68,11 +68,16 @@ name = "pytorch"
|
|||
url = "https://download.pytorch.org/whl/cpu"
|
||||
explicit = true
|
||||
|
||||
[[tool.uv.index]]
|
||||
name = "macpytorch"
|
||||
url = "https://download.pytorch.org/whl"
|
||||
explicit = true
|
||||
|
||||
[tool.uv.sources]
|
||||
torch = [
|
||||
{ index = "pytorch", marker = "sys_platform == 'linux'" },
|
||||
{ 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]
|
||||
|
|
|
|||
Loading…
Reference in New Issue