File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 13
13
jobs :
14
14
build :
15
15
runs-on : ubuntu-latest
16
+ env :
17
+ UV_SYSTEM_PIP : 1
16
18
timeout-minutes : 85
17
19
strategy :
18
20
max-parallel : 5
@@ -46,16 +48,16 @@ jobs:
46
48
run : |
47
49
# Use appropriate install index
48
50
if [[ "${{ matrix.pytorch-version }}" == 2.* || "${{ matrix.pytorch-version }}" == 1.13* || "${{ matrix.pytorch-version }}" == 1.12* || "${{ matrix.pytorch-version }}" == 1.10* ]]; then
49
- uv pip install --system torch==${{ matrix.pytorch-version }} torchvision --extra-index-url https://download.pytorch.org/whl/cpu
51
+ uv pip install torch==${{ matrix.pytorch-version }} torchvision --extra-index-url https://download.pytorch.org/whl/cpu
50
52
else
51
- uv pip install --system torch==${{ matrix.pytorch-version }} torchvision
53
+ uv pip install torch==${{ matrix.pytorch-version }} torchvision
52
54
fi
53
55
54
56
- name : Install numpy conditionally for PyTorch < 2.3
55
57
run : |
56
58
version=$(python -c "import torch; print(float('.'.join(torch.__version__.split('.')[:2])))")
57
59
if (( $(echo "$version < 2.3" | bc -l) )); then
58
- uv pip install --system "numpy<2.0"
60
+ uv pip install "numpy<2.0"
59
61
fi
60
62
61
63
- name : Install Ignite dependencies
You can’t perform that action at this time.
0 commit comments