Skip to content

Commit 8b8ff11

Browse files
committed
cpu-only pytorch
1 parent a994672 commit 8b8ff11

2 files changed

Lines changed: 68 additions & 178 deletions

File tree

pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,14 @@ dependencies = [
2222

2323
[tool.uv.sources]
2424
clip = { git = "https://github.com/openai/CLIP.git" }
25+
torch = [
26+
{ index = "pytorch-cpu" },
27+
]
28+
torchvision = [
29+
{ index = "pytorch-cpu" },
30+
]
31+
32+
[[tool.uv.index]]
33+
name = "pytorch-cpu"
34+
url = "https://download.pytorch.org/whl/cpu"
35+
explicit = true

uv.lock

Lines changed: 57 additions & 178 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)