Skip to content

Commit bfcac42

Browse files
committed
Updated pyproject.toml
Replaced default torch installation with cpu version only
1 parent 7710c30 commit bfcac42

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,3 +237,11 @@ quote-style = "single"
237237
[tool.uv]
238238
# Ignore uv.lock and always upgrade the package to the latest
239239
upgrade-package = ["jax", "jaxlib", "orbax-checkpoint"]
240+
241+
[tool.uv.sources]
242+
torch = { index = "pytorch" }
243+
244+
[[tool.uv.index]]
245+
name = "pytorch"
246+
url = "https://download.pytorch.org/whl/cpu"
247+
explicit = true

0 commit comments

Comments
 (0)