From ed1be5304b4bb0b026a598bebc1f71b6a736aab0 Mon Sep 17 00:00:00 2001 From: Vladimir Iglovikov Date: Thu, 15 Feb 2024 14:43:25 -0800 Subject: [PATCH] Added python 3.12 and upgraded pytorch version for tests (#1517) --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e15eb042c..15b6c9269 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: operating-system: [ubuntu-latest, windows-latest, macos-latest] - python-version: [3.8, 3.9, "3.10", "3.11"] + python-version: [3.8, 3.9, "3.10", "3.11", "3.12"] fail-fast: false steps: - name: Checkout @@ -30,11 +30,11 @@ jobs: matrix.operating-system == 'ubuntu-latest' || matrix.operating-system == 'windows-latest' run: > - pip install torch==2.0.1 torchvision==0.15.2 + pip install torch==2.2.0 torchvision==0.17.0 --extra-index-url https://download.pytorch.org/whl/cpu - name: Install PyTorch on MacOS if: matrix.operating-system == 'macos-latest' - run: pip install torch==2.0.1 torchvision==0.15.2 + run: pip install torch==2.2.0 torchvision==0.17.0 - name: Install dependencies run: | pip install .[tests] @@ -51,7 +51,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.11"] + python-version: ["3.8"] steps: - name: Checkout uses: actions/checkout@v4