Skip to content

Commit 5fc997b

Browse files
Yanghan Wangfacebook-github-bot
Yanghan Wang
authored andcommitted
fix Github actions
Summary: Pull Request resolved: facebookresearch#5274 Differential Revision: D56911192
1 parent bce6d72 commit 5fc997b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/workflow.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ jobs:
3737
strategy:
3838
fail-fast: false
3939
matrix:
40-
torch: ["1.8", "1.9", "1.10"]
40+
torch: ["1.9", "1.10", "1.13.1"]
4141
include:
42-
- torch: "1.8"
43-
torchvision: 0.9
4442
- torch: "1.9"
4543
torchvision: "0.10"
4644
- torch: "1.10"
47-
torchvision: "0.11.1"
45+
torchvision: "0.11.2"
46+
- torch: "1.13.1"
47+
torchvision: "0.14.1"
4848
env:
4949
# point datasets to ~/.torch so it's cached by CI
5050
DETECTRON2_DATASETS: ~/.torch/datasets
@@ -66,11 +66,13 @@ jobs:
6666
- name: Install dependencies
6767
run: |
6868
python -m pip install -U pip
69-
python -m pip install ninja opencv-python-headless onnx pytest-xdist
69+
python -m pip install wheel ninja opencv-python-headless onnx pytest-xdist
7070
python -m pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html
7171
# install from github to get latest; install iopath first since fvcore depends on it
7272
python -m pip install -U 'git+https://github.com/facebookresearch/iopath'
7373
python -m pip install -U 'git+https://github.com/facebookresearch/fvcore'
74+
wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
75+
python collect_env.py
7476
7577
- name: Build and install
7678
run: |

0 commit comments

Comments
 (0)