Skip to content

Commit

Permalink
update CI for pip 20.3 (#307)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
xvjiarui authored Dec 18, 2020
1 parent 061a295 commit 5c6e657
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
torch: [1.3.0+cpu, 1.5.0+cpu]
include:
- torch: 1.3.0+cpu
torchvision: 0.4.2+cpu
torchvision: 0.4.1+cpu
- torch: 1.5.0+cpu
torchvision: 0.6.0+cpu
- torch: 1.5.0+cpu
Expand Down Expand Up @@ -71,13 +71,13 @@ jobs:
export PATH=${CUDA_HOME}/bin:${PATH}
sudo apt-get install -y ninja-build
- name: Install Pillow
if: ${{matrix.torchvision == '0.4.2+cpu'}}
if: ${{matrix.torchvision == '0.4.1+cpu'}}
run: pip install Pillow==6.2.2
- name: Install PyTorch
run: pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html
- name: Install mmseg dependencies
run: |
pip install mmcv-full==latest+torch${{matrix.torch}} -f https://download.openmmlab.com/mmcv/dist/index.html
pip install mmcv-full==latest+torch${{matrix.torch}} -f https://download.openmmlab.com/mmcv/dist/index.html --use-deprecated=legacy-resolver
pip install -r requirements.txt
- name: Build and install
run: rm -rf .eggs && pip install -e .
Expand Down

0 comments on commit 5c6e657

Please sign in to comment.