add check for linux on cpu

This commit is contained in:
burtenshaw
2025-10-20 06:51:52 +02:00
parent cf2baf9933
commit c7ae920a77

View File

@@ -43,3 +43,14 @@ testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
# target torch to cuda 12.8
[tool.uv.sources]
torch = [
{ index = "pytorch-cu128", marker = "platform_system == 'linux'"},
]
[[tool.uv.index]]
name = "pytorch-cu128"
url = "https://download.pytorch.org/whl/cu128"
explicit = true