Skip to content

Commit d38d716

Browse files
Yanghan Wangfacebook-github-bot
authored andcommitted
fix ci
Summary: X-link: fairinternal/detectron2#605 Pull Request resolved: #5483 Reviewed By: vbourgin Differential Revision: D80125449 fbshipit-source-id: a7e8b8cc42e063b35b0d2ba64ad26bc99b674d61
1 parent 18f6958 commit d38d716

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/actions/install_linux_gpu_dep/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ runs:
1414
# Installing the keyring seems to be unnecessary
1515
1616
sudo apt-get update
17+
apt-cache search cuda-toolkit
1718
sudo apt-get --yes install cuda-toolkit-${{inputs.cuda-version}}
1819
sudo apt-get --yes install nvidia-gds-${{inputs.cuda-version}}

.github/workflows/workflow.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
# install from github to get latest; install iopath first since fvcore depends on it
7373
python -m pip install -U 'git+https://github.com/facebookresearch/iopath'
7474
python -m pip install -U 'git+https://github.com/facebookresearch/fvcore'
75-
wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
75+
wget https://raw.githubusercontent.com/pytorch/pytorch/v${{matrix.torch}}/torch/utils/collect_env.py
7676
python collect_env.py
7777
7878
- name: Build and install
@@ -90,16 +90,13 @@ jobs:
9090
strategy:
9191
fail-fast: false
9292
matrix:
93-
torch: ["1.13.1", "2.2.2"]
93+
torch: ["2.4.1"]
9494
include:
95-
- torch: "1.13.1"
96-
torchvision: "0.14.1"
97-
cuda: "11-7"
98-
- torch: "2.2.2"
99-
torchvision: "0.17.2"
100-
cuda: "12-5"
95+
- torch: "2.4.1"
96+
torchvision: "0.19.1"
97+
cuda: "12-8"
10198
env:
102-
PYTORCH_INDEX: "https://download.pytorch.org/whl/cu118"
99+
PYTORCH_INDEX: "https://download.pytorch.org/whl/cu128"
103100
DETECTRON2_DATASETS: ~/.torch/datasets
104101
steps:
105102
- name: Checkout

0 commit comments

Comments
 (0)