From 94ddcdd6383785bba92e87496da0582e7a4373b6 Mon Sep 17 00:00:00 2001 From: liuwenran <448073814@qq.com> Date: Mon, 13 Nov 2023 14:07:31 +0800 Subject: [PATCH] downgrade on windows --- .github/workflows/pr_stage_test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr_stage_test.yml b/.github/workflows/pr_stage_test.yml index 6c3c72d58..9ca0be8e5 100644 --- a/.github/workflows/pr_stage_test.yml +++ b/.github/workflows/pr_stage_test.yml @@ -25,8 +25,8 @@ jobs: matrix: python-version: [3.8] include: - - torch: 1.13.0 - torchvision: 0.14.0 + - torch: 2.1.0 + torchvision: 0.16.0 steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} @@ -121,7 +121,7 @@ jobs: - name: Install lmdb run: python -m pip install lmdb - name: Install PyTorch - run: python -m pip install torch==2.1.0+${{matrix.platform}} torchvision==0.16.0+${{matrix.platform}} -f https://download.pytorch.org/whl/torch_stable.html + run: python -m pip install torch==2.0.1+${{matrix.platform}} torchvision==0.15.2+${{matrix.platform}} -f https://download.pytorch.org/whl/torch_stable.html - name: Install mmagic dependencies run: | python -m pip install git+https://github.com/open-mmlab/mmengine.git@main