diff --git a/.github/workflows/run-tests-cpu.yml b/.github/workflows/run-tests-cpu.yml index 52af6fe78..384ab9505 100644 --- a/.github/workflows/run-tests-cpu.yml +++ b/.github/workflows/run-tests-cpu.yml @@ -46,14 +46,13 @@ concurrency: jobs: run-tests-cpu: - if: github.event.label.name == 'ready' || github.event.label.name == 'cpp-test' || github.event_name == 'push' runs-on: ${{ matrix.os }} name: ${{ matrix.python-version }} ${{ matrix.build_type }} strategy: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] - torch: ["2.1.1"] + torch: ["2.1.2"] python-version: ["3.8", "3.9", "3.10", "3.11"] build_type: ["Release", "Debug"] diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index a768b9b39..5ed1c8be4 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -46,7 +46,6 @@ concurrency: jobs: run-tests: - if: github.event.label.name == 'ready' || github.event_name == 'push' runs-on: ${{ matrix.os }} name: ${{ matrix.build_type }} strategy: @@ -54,7 +53,7 @@ jobs: matrix: os: [ubuntu-latest] cuda: ["12.1"] - torch: ["2.1.1"] + torch: ["2.1.2"] python-version: ["3.11"] steps: diff --git a/.github/workflows/ubuntu-cuda-wheels.yml b/.github/workflows/ubuntu-cuda-wheels.yml index 06166ab8a..6671d1a49 100644 --- a/.github/workflows/ubuntu-cuda-wheels.yml +++ b/.github/workflows/ubuntu-cuda-wheels.yml @@ -25,8 +25,12 @@ jobs: id: set-matrix run: | # outputting for debugging purposes - python ./scripts/github_actions/generate_build_matrix.py --enable-cuda - MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py --enable-cuda) + python ./scripts/github_actions/generate_build_matrix.py --enable-cuda --test-only-latest-torch + MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py --enable-cuda --test-only-latest-torch) + + # python ./scripts/github_actions/generate_build_matrix.py --enable-cuda + # MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py --enable-cuda) + echo "::set-output name=matrix::${MATRIX}" build-manylinux-wheels: diff --git a/scripts/github_actions/generate_build_matrix.py b/scripts/github_actions/generate_build_matrix.py index a3c8f99bb..180a49c47 100755 --- a/scripts/github_actions/generate_build_matrix.py +++ b/scripts/github_actions/generate_build_matrix.py @@ -172,10 +172,16 @@ def generate_build_matrix( if not for_windows else ["11.8.0", "12.1.0"], }, + "2.1.2": { + "python-version": ["3.8", "3.9", "3.10", "3.11"], + "cuda": ["11.8", "12.1"] # default 12.1 + if not for_windows + else ["11.8.0", "12.1.0"], + }, # https://github.com/Jimver/cuda-toolkit/blob/master/src/links/windows-links.ts } if test_only_latest_torch: - latest = "2.1.1" + latest = "2.1.2" matrix = {latest: matrix[latest]} if for_windows or for_macos: