File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 9292 - name : Install dependencies
9393 run : |
9494 flag=$(python -c "print('--pre' if '${{matrix.release}}' == 'pre' else '')" 2>&1)
95- pip install --requirement requirements.txt --upgrade $flag --find-links https://download.pytorch.org/whl/cpu/torch_stable.html --find-links https://download.pytorch.org/whl/test/cpu/torch_test.html
95+ url=$(python -c "print('test/cpu/torch_test.html' if '${{matrix.release}}' == 'pre' else 'cpu/torch_stable.html')" 2>&1)
96+ pip install --requirement requirements.txt --upgrade $flag --find-links "https://download.pytorch.org/whl/${url}"
9697 # adjust versions according installed Torch version
9798 python ./requirements/adjust_versions.py requirements/examples.txt
9899 pip install --requirement requirements/examples.txt --find-links https://download.pytorch.org/whl/cpu/torch_stable.html --upgrade
You can’t perform that action at this time.
0 commit comments