From 294074ed860e23df178d5e58e334b5de2b7e4de3 Mon Sep 17 00:00:00 2001 From: JC Louis Date: Mon, 8 Apr 2024 17:51:06 +0200 Subject: [PATCH 1/2] add python3.12 build --- .github/workflows/publish.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2413d3e96..312343448 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -43,7 +43,7 @@ jobs: # Using ubuntu-20.04 instead of 22.04 for more compatibility (glibc). Ideally we'd use the # manylinux docker image, but I haven't figured out how to install CUDA on manylinux. os: [ubuntu-20.04] - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] torch-version: ['1.12.1', '1.13.1', '2.0.1', '2.1.2', '2.2.0', '2.3.0.dev20240207'] cuda-version: ['11.8.0', '12.2.2'] # We need separate wheels that either uses C++11 ABI (-D_GLIBCXX_USE_CXX11_ABI) or not. @@ -53,6 +53,15 @@ jobs: cxx11_abi: ['FALSE', 'TRUE'] exclude: # see https://github.com/pytorch/pytorch/blob/main/RELEASE.md#release-compatibility-matrix + # Pytorch <= 2.2 does not support Python 3.12 + - torch-version: '1.12.1' + python-version: '3.12' + - torch-version: '1.13.1' + python-version: '3.12' + - torch-version: '2.0.1' + python-version: '3.12' + - torch-version: '2.1.2' + python-version: '3.12' # Pytorch <= 1.12 does not support Python 3.11 - torch-version: '1.12.1' python-version: '3.11' From abd92a2ec2e387c6ca3ae0692973c9017a5bb461 Mon Sep 17 00:00:00 2001 From: JC Louis Date: Mon, 8 Apr 2024 17:53:03 +0200 Subject: [PATCH 2/2] Update .github/workflows/publish.yml --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 312343448..ef8d4c961 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -53,7 +53,7 @@ jobs: cxx11_abi: ['FALSE', 'TRUE'] exclude: # see https://github.com/pytorch/pytorch/blob/main/RELEASE.md#release-compatibility-matrix - # Pytorch <= 2.2 does not support Python 3.12 + # Pytorch <= 2.1 does not support Python 3.12 - torch-version: '1.12.1' python-version: '3.12' - torch-version: '1.13.1'