From 88786928edeecf647cc1aca29f95eeda4a6eacea Mon Sep 17 00:00:00 2001 From: Tri Dao Date: Thu, 5 Dec 2024 17:41:38 -0800 Subject: [PATCH] [CI] Drop Python 3.8, add Python 3.13, add pytorch 2.6.0.dev20241010 --- .github/workflows/publish.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d9789739a..49b4f5454 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -43,8 +43,8 @@ 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.8', '3.9', '3.10', '3.11', '3.12'] - torch-version: ['2.1.2', '2.2.2', '2.3.1', '2.4.0', '2.5.1'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + torch-version: ['2.1.2', '2.2.2', '2.3.1', '2.4.0', '2.5.1', '2.6.0.dev20241010'] cuda-version: ['11.8.0', '12.4.1'] # We need separate wheels that either uses C++11 ABI (-D_GLIBCXX_USE_CXX11_ABI) or not. # Pytorch wheels currently don't use it, but nvcr images have Pytorch compiled with C++11 ABI. @@ -56,9 +56,15 @@ jobs: # Pytorch < 2.2 does not support Python 3.12 - torch-version: '2.1.2' python-version: '3.12' - # Pytorch >= 2.5 does not support Python 3.8 - - torch-version: '2.5.1' - python-version: '3.8' + # Pytorch < 2.5 does not support Python 3.13 + - torch-version: '2.1.2' + python-version: '3.13' + - torch-version: '2.2.2' + python-version: '3.13' + - torch-version: '2.3.1' + python-version: '3.13' + - torch-version: '2.4.0' + python-version: '3.13' steps: - name: Checkout