Add correct index markers and newer setuptools

This commit is contained in:
mbsantiago 2026-03-25 13:50:48 +00:00
parent 20295d0457
commit 13acd18050
2 changed files with 494 additions and 645 deletions

View File

@ -17,6 +17,7 @@ dependencies = [
"torch>=1.13.1",
"torchaudio>=1.13.1",
"torchvision>=0.14.0",
"setuptools>=70.1.0; python_version == '3.14'",
]
requires-python = ">=3.9,<3.15"
readme = "README.md"
@ -75,15 +76,15 @@ explicit = true
[tool.uv.sources]
torch = [
{ index = "pytorch-cu118", marker = "python_version == '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
{ index = "pytorch-cu126", marker = "sys_platform == 'linux' or sys_platform == 'win32'" },
{ index = "pytorch-cu126", marker = "python_version != '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
]
torchvision = [
{ index = "pytorch-cu118", marker = "python_version == '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
{ index = "pytorch-cu126", marker = "sys_platform == 'linux' or sys_platform == 'win32'" },
{ index = "pytorch-cu126", marker = "python_version != '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
]
torchaudio = [
{ index = "pytorch-cu118", marker = "python_version == '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
{ index = "pytorch-cu126", marker = "sys_platform == 'linux' or sys_platform == 'win32'" },
{ index = "pytorch-cu126", marker = "python_version != '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
]
[tool.ruff]

1132
uv.lock generated

File diff suppressed because it is too large Load Diff