From cc1f103e1c7fbcf3bf6ce5e4ebbaf0375b169077 Mon Sep 17 00:00:00 2001 From: lizz Date: Mon, 5 Apr 2021 20:47:26 +0800 Subject: [PATCH] Remove pytorch 1.3 Signed-off-by: lizz --- .github/workflows/build.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7a60d49a..9bd750f5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,10 +32,8 @@ jobs: strategy: matrix: python-version: [3.7] - torch: [1.3.0, 1.5.0, 1.6.0, 1.7.0] + torch: [1.5.0, 1.6.0, 1.7.0] include: - - torch: 1.3.0 - torchvision: 0.4.1 - torch: 1.5.0 torchvision: 0.6.0 - torch: 1.6.0 @@ -79,10 +77,8 @@ jobs: strategy: matrix: python-version: [3.7] - torch: [1.3.0, 1.5.0, 1.6.0, 1.7.0] + torch: [1.5.0, 1.6.0, 1.7.0] include: - - torch: 1.3.0 - torchvision: 0.4.1 - torch: 1.5.0 torchvision: 0.6.0 - torch: 1.6.0 @@ -122,12 +118,7 @@ jobs: if: ${{matrix.torchvision < 0.5}} - name: Install PyTorch run: | - if [ ${{matrix.torch}} == '1.3.0' ] - then - pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html - else - pip install torch==${{matrix.torch}}+cu101 torchvision==${{matrix.torchvision}}+cu101 -f https://download.pytorch.org/whl/torch_stable.html - fi + pip install torch==${{matrix.torch}}+cu101 torchvision==${{matrix.torchvision}}+cu101 -f https://download.pytorch.org/whl/torch_stable.html - name: Install MMCV run: pip install mmcv-full==1.3.0 -f https://download.openmmlab.com/mmcv/dist/cu101/torch${{matrix.torch}}/index.html - name: Install MMDet