Skip to content

Commit 03477b3

Browse files
committed
Use CPU-only PyTorch wheel
1 parent ad070c3 commit 03477b3

File tree

2 files changed

+73
-197
lines changed

2 files changed

+73
-197
lines changed

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,16 @@ include = ["optuna_mcp*"]
5757
"py.typed",
5858
]
5959

60+
[[tool.uv.index]]
61+
name = "pytorch-cpu"
62+
url = "https://download.pytorch.org/whl/cpu"
63+
explicit = true
64+
65+
[tool.uv.sources]
66+
torch = [
67+
{ index = "pytorch-cpu" },
68+
]
69+
6070
[tool.ruff]
6171
line-length = 99
6272
target-version = "py312"

0 commit comments

Comments
 (0)