Commit 1410e79
Fix torchvision CPU index and Docker venv creation
Add torchvision to [tool.uv.sources] so it also comes from the CPU index
(piq depends on torchvision, which crashes on import with CPU-only torch
when installed from PyPI). Restore python3 -m venv in the Dockerfile so
pip install uv puts the uv binary into the venv's bin directory (which is
on PATH), rather than ~/.local/bin (which is not).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent bb7179c commit 1410e79
2 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
0 commit comments