Skip to content

Commit e7bf342

Browse files
Pin pytorch version
1 parent 351f97b commit e7bf342

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/tests.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip
25-
pip install torch numpy scikit-learn flake8 setuptools
25+
pip install numpy scikit-learn flake8 setuptools
26+
pip install torch==1.5.0+cpu torchvision==0.6.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
2627
- name: Build package
2728
run: |
2829
python setup.py build_ext --inplace

0 commit comments

Comments
 (0)