From c4174471f3a19881ac4aeab1d3fcd54c49a64cf3 Mon Sep 17 00:00:00 2001 From: nbei Date: Tue, 22 Dec 2020 15:17:38 +0800 Subject: [PATCH 1/6] fix pip install bug --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2693e5d58a..ac49d8bd0f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,7 +49,7 @@ jobs: - name: Install PyTorch run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html - name: Install MMCV - run: pip install mmcv-full==latest+torch${{matrix.torch}}+cpu -f https://openmmlab.oss-accelerate.aliyuncs.com/mmcv/dist/index.html + run: pip install --use-deprecated=legacy-resolver mmcv-full==latest+torch${{matrix.torch}}+cpu -f https://openmmlab.oss-accelerate.aliyuncs.com/mmcv/dist/index.html - name: Install unittest dependencies run: pip install -r requirements/tests.txt - name: Build and install @@ -116,7 +116,7 @@ jobs: run: pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html - name: Install mmediting dependencies run: | - pip install mmcv-full==${{matrix.mmcv}} -f https://openmmlab.oss-accelerate.aliyuncs.com/mmcv/dist/index.html + pip install --use-deprecated=legacy-resolver mmcv-full==${{matrix.mmcv}} -f https://openmmlab.oss-accelerate.aliyuncs.com/mmcv/dist/index.html pip install -r requirements.txt - name: Build and install run: | From 0a53c1f340bc48386dff3c7c7a0cd4885962ea87 Mon Sep 17 00:00:00 2001 From: nbei Date: Tue, 22 Dec 2020 15:25:44 +0800 Subject: [PATCH 2/6] fix torch version --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ac49d8bd0f..3b40a828aa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,7 @@ jobs: torchvision: 0.4.2 - torch: 1.4.0 torchvision: 0.5.0 - - torch: 1.5.0 + - torch: 1.5.1 torchvision: 0.6.1 - torch: 1.6.0 torchvision: 0.7.0 From f0b2243f6f28d4073e9b74bffacaf7c1f4e817de Mon Sep 17 00:00:00 2001 From: nbei Date: Tue, 22 Dec 2020 15:35:38 +0800 Subject: [PATCH 3/6] fix torch version --- .github/workflows/build.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3b40a828aa..676972b9a1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,12 +27,10 @@ jobs: strategy: matrix: python-version: [3.7] - torch: [1.3.0, 1.4.0, 1.5.0, 1.6.0] + torch: [1.3.0, 1.5.0, 1.6.0] include: - torch: 1.3.0 torchvision: 0.4.2 - - torch: 1.4.0 - torchvision: 0.5.0 - torch: 1.5.1 torchvision: 0.6.1 - torch: 1.6.0 From c340ba8c53f383080a01b7c46b4d6271d93133a9 Mon Sep 17 00:00:00 2001 From: nbei Date: Tue, 22 Dec 2020 15:49:57 +0800 Subject: [PATCH 4/6] fix torch version --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 676972b9a1..1004e59106 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,11 +27,11 @@ jobs: strategy: matrix: python-version: [3.7] - torch: [1.3.0, 1.5.0, 1.6.0] + torch: [1.3.1, 1.5.0, 1.6.0] include: - - torch: 1.3.0 + - torch: 1.3.1 torchvision: 0.4.2 - - torch: 1.5.1 + - torch: 1.5.0 torchvision: 0.6.1 - torch: 1.6.0 torchvision: 0.7.0 From ab61973571b7bb859d30eb6ee8bf0f9654aa28fe Mon Sep 17 00:00:00 2001 From: nbei Date: Tue, 22 Dec 2020 16:12:25 +0800 Subject: [PATCH 5/6] fix torch version --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1004e59106..21aa9ba495 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,11 +27,11 @@ jobs: strategy: matrix: python-version: [3.7] - torch: [1.3.1, 1.5.0, 1.6.0] + torch: [1.3.1, 1.5.1, 1.6.0] include: - torch: 1.3.1 torchvision: 0.4.2 - - torch: 1.5.0 + - torch: 1.5.1 torchvision: 0.6.1 - torch: 1.6.0 torchvision: 0.7.0 From 247429f49173c1bc12de5c82c40df484c588c633 Mon Sep 17 00:00:00 2001 From: nbei Date: Tue, 22 Dec 2020 16:19:20 +0800 Subject: [PATCH 6/6] fix mmcv version --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 21aa9ba495..76643d65af 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,10 +31,13 @@ jobs: include: - torch: 1.3.1 torchvision: 0.4.2 + mmcv: "latest+torch1.3.0+cpu" - torch: 1.5.1 torchvision: 0.6.1 + mmcv: "latest+torch1.5.0+cpu" - torch: 1.6.0 torchvision: 0.7.0 + mmcv: "latest+torch1.6.0+cpu" steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} @@ -47,7 +50,7 @@ jobs: - name: Install PyTorch run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html - name: Install MMCV - run: pip install --use-deprecated=legacy-resolver mmcv-full==latest+torch${{matrix.torch}}+cpu -f https://openmmlab.oss-accelerate.aliyuncs.com/mmcv/dist/index.html + run: pip install --use-deprecated=legacy-resolver mmcv-full==${{matrix.mmcv}} -f https://openmmlab.oss-accelerate.aliyuncs.com/mmcv/dist/index.html - name: Install unittest dependencies run: pip install -r requirements/tests.txt - name: Build and install