Skip to content

Commit 5c6e657

Browse files
authored
update CI for pip 20.3 (open-mmlab#307)
* update CI for pip 20.3 * fixed 1.6 torchvision * delete python 3.8 * fixed mmcv * add cuda home * change to 1.2.2 * add pip upgrade * install cuda for all * add missing mmcv * switch to deprecate
1 parent 061a295 commit 5c6e657

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
torch: [1.3.0+cpu, 1.5.0+cpu]
3737
include:
3838
- torch: 1.3.0+cpu
39-
torchvision: 0.4.2+cpu
39+
torchvision: 0.4.1+cpu
4040
- torch: 1.5.0+cpu
4141
torchvision: 0.6.0+cpu
4242
- torch: 1.5.0+cpu
@@ -71,13 +71,13 @@ jobs:
7171
export PATH=${CUDA_HOME}/bin:${PATH}
7272
sudo apt-get install -y ninja-build
7373
- name: Install Pillow
74-
if: ${{matrix.torchvision == '0.4.2+cpu'}}
74+
if: ${{matrix.torchvision == '0.4.1+cpu'}}
7575
run: pip install Pillow==6.2.2
7676
- name: Install PyTorch
7777
run: pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html
7878
- name: Install mmseg dependencies
7979
run: |
80-
pip install mmcv-full==latest+torch${{matrix.torch}} -f https://download.openmmlab.com/mmcv/dist/index.html
80+
pip install mmcv-full==latest+torch${{matrix.torch}} -f https://download.openmmlab.com/mmcv/dist/index.html --use-deprecated=legacy-resolver
8181
pip install -r requirements.txt
8282
- name: Build and install
8383
run: rm -rf .eggs && pip install -e .

0 commit comments

Comments
 (0)