From 3e9e71ad2905d581a478fff526764268381a30b9 Mon Sep 17 00:00:00 2001 From: Jan Boelts Date: Mon, 26 Aug 2024 09:24:15 +0200 Subject: [PATCH] automatically infer torch version for ci --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 158892f2a..3f09f499f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,6 @@ jobs: fail-fast: false matrix: python-version: ['3.9', '3.12'] - torch-version: ['1.13'] steps: - name: Checkout @@ -40,7 +39,7 @@ jobs: uses: actions/cache@v4 with: path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ matrix.torch-version }}$ + key: ${{ runner.os }}-pip-${{ matrix.python-version }} restore-keys: | ${{ runner.os }}-pip-${{ matrix.python-version }}- ${{ runner.os }}-pip- @@ -48,7 +47,6 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install torch==${{ matrix.torch-version }} --extra-index-url https://download.pytorch.org/whl/cpu pip install -e .[dev] - name: Run the fast CPU tests with coverage