diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 8a99e68..89ee0d1 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -19,7 +19,7 @@ jobs: os: [ubuntu-22.04] # [ubuntu-22.04, ubuntu-20.04, ubuntu-18.04] arch: [x64] # [x64, x86] ubuntu-version: [22.04, 20.04] # [18.04, 20.04, 22.04] - torch-version: [2.1.2] # [1.12.0, 1.13.0, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1] + torch-version: [2.3.1] # [1.12.0, 1.13.0, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1] cuda-version: [11.8.0] # [12.3.1, 12.1.1, 11.8.0, 11.7.1, 11.6.2, 11.5.2,11.4.4, 11.3.1, 11.2.2, 11.1.1, 11.0.3, cpu] cmake-build-type: [Release] # [Debug, ClangTidy] steps: diff --git a/.github/workflows/hip.yml b/.github/workflows/hip.yml index 6b2de65..b142393 100644 --- a/.github/workflows/hip.yml +++ b/.github/workflows/hip.yml @@ -18,7 +18,7 @@ jobs: matrix: os: [ubuntu-22.04] # [ubuntu-22.04, ubuntu-20.04, ubuntu-18.04] arch: [x64] # [x64, x86] - torch-version: [2.2.1] # [1.12.0, 1.13.0, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1] + torch-version: [2.3.1] # [1.12.0, 1.13.0, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1] cuda-version: [11.8.0] # [12.3.2, 12.3.1, 12.1.1, 11.8.0, 11.7.1, 11.6.2, 11.5.2,11.4.4, 11.3.1, 11.2.2, 11.1.1, 11.0.3, cpu] rocm-version: [5.7.1] # [5.4.2, 5.6.1, 5.7.1, 6.0.1, 6.0.2] llvm-version: [16] # [12, 13, 14, 15, 16, 17] diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 573434e..c14668d 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -18,7 +18,7 @@ jobs: matrix: os: [macos-14, macos-13] # [macos-14, macos-13, macos-12, macos-11] arch: [arm64, x86_64] # [arm64, x86_64] - torch-version: [2.2.1, 2.1.2] # [2.2.1, 2.2.0, 2.1.2, 2.1.1, 2.1.0, 2.0.0, 1.13.0, 1.12.0] + torch-version: [2.3.1, 2.2.1, 2.1.2] # [2.2.1, 2.2.0, 2.1.2, 2.1.1, 2.1.0, 2.0.0, 1.13.0, 1.12.0] cmake-build-type: [Release] # [Debug, ClangTidy] exclude: - os: macos-14 @@ -26,6 +26,9 @@ jobs: - os: macos-14 arch: arm64 torch-version: 2.1.2 + - os: macos-13 + arch: x86_64 + torch-version: 2.3.1 - os: macos-13 arch: arm64 env: @@ -73,8 +76,10 @@ jobs: run: | TORCH_VER_FULL=${{ matrix.torch-version }} TORCH_VER_ARR=($(echo ${TORCH_VER_FULL} | tr "." " ")) - TORCH_VER="${TORCH_VER_ARR[0]}.${TORCH_VER_ARR[1]}" - if [[ "${TORCH_VER}" == "2.2" ]]; then + TORCH_MAJOR_VER="${TORCH_VER_ARR[0]}" + TORCH_MINOR_VER="${TORCH_VER_ARR[1]}" + TORCH_VER="${TORCH_MAJOR_VER}.${TORCH_MINOR_VER}" + if [[ $TORCH_MAJOR_VER -gt 2 ]] || { [[ $TORCH_MAJOR_VER -eq 2 ]] && [[ $TORCH_MINOR_VER -gt 1 ]]; }; then wget --no-check-certificate -nv https://download.pytorch.org/libtorch/cpu/libtorch-macos-${{ matrix.arch }}-${{ matrix.torch-version }}.zip -O libtorch.zip else wget --no-check-certificate -nv https://download.pytorch.org/libtorch/cpu/libtorch-macos-${{ matrix.torch-version }}.zip -O libtorch.zip diff --git a/.github/workflows/ubuntu-cpu.yml b/.github/workflows/ubuntu-cpu.yml index 98cba0c..b21b005 100644 --- a/.github/workflows/ubuntu-cpu.yml +++ b/.github/workflows/ubuntu-cpu.yml @@ -18,7 +18,7 @@ jobs: matrix: os: [ubuntu-22.04, ubuntu-20.04] # [ubuntu-22.04, ubuntu-20.04, ubuntu-18.04] arch: [x64] # [x64, x86] - torch-version: [2.1.2, 2.2.1] # [1.12.0, 1.13.0, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1] + torch-version: [2.3.1, 2.2.1, 2.1.2] # [1.12.0, 1.13.0, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1] cmake-build-type: [Release] # [Debug, ClangTidy] env: CCACHE_DIR: ${{ github.workspace }}/ccache diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index eab0329..b29287b 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -18,7 +18,7 @@ jobs: matrix: os: [ubuntu-22.04, ubuntu-20.04] # [ubuntu-22.04, ubuntu-20.04, ubuntu-18.04] arch: [x64] # [x64, x86] - torch-version: [2.1.2, 2.2.1] # [1.12.0, 1.13.0, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1] + torch-version: [2.3.1, 2.2.1, 2.1.2] # [1.12.0, 1.13.0, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1] cuda-version: [11.8.0, 12.1.1] # [12.3.1, 12.1.1, 11.8.0, 11.7.1, 11.6.2, 11.5.2,11.4.4, 11.3.1, 11.2.2, 11.1.1, 11.0.3, cpu] cmake-build-type: [Release] # [Debug, ClangTidy] env: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 481df1f..fa56837 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -18,7 +18,7 @@ jobs: matrix: os: [windows-2019, windows-2022] # [windows-2019, windows-2022] arch: [x64] # [x64, x86] - torch-version: [2.1.2, 2.2.1] # [1.12.0, 1.13.0, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1] + torch-version: [2.3.1, 2.2.1, 2.1.2] # [1.12.0, 1.13.0, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1] cuda-version: [11.8.0, 12.1.1] # [12.3.1, 12.1.1, 11.8.0, 11.7.1, 11.6.2, 11.5.2,11.4.4, 11.3.1, 11.2.2, 11.1.1, 11.0.3, cpu] opencv-version: [4.9.0] # [4.7.0, 4.8.1, 4.9.0] cmake-build-type: [ Release ] # [Debug, ClangTidy]