diff --git a/pyproject.toml b/pyproject.toml index e264e2f..5b26bdd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,11 +52,17 @@ build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["client", "gui"] -[tool.uv] -dev-dependencies = [ +[dependency-groups] +dev = [ "pyinstaller>=6.17.0", ] +# Use PyTorch CUDA index by default +# CUDA builds work on both GPU and CPU systems (fallback to CPU if no GPU) +[[tool.uv.index]] +url = "https://download.pytorch.org/whl/cu121" +default = true + [tool.ruff] line-length = 100 target-version = "py39"