From 36444d6e3747928c43ee71f2d8a0c7bc2f57e88e Mon Sep 17 00:00:00 2001 From: gasoonjia Date: Mon, 22 Jun 2026 23:26:34 -0700 Subject: [PATCH 1/2] Add CUDA 13.2 support and drop unsupported 12.8/12.9 Add (13, 2) to SUPPORTED_CUDA_VERSIONS in install_utils.py and to the cuda.yml build matrix. Remove 12.8 and 12.9, which are no longer supported. --- .github/workflows/cuda.yml | 6 +++--- install_utils.py | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cuda.yml b/.github/workflows/cuda.yml index 948e58d389e..9f5e29ce185 100644 --- a/.github/workflows/cuda.yml +++ b/.github/workflows/cuda.yml @@ -1,6 +1,6 @@ # Test ExecuTorch CUDA Build Compatibility # This workflow tests whether ExecuTorch can be successfully built with CUDA support -# across different CUDA versions (12.6, 13.0) using the command: +# across different CUDA versions (12.6, 13.0, 13.2) using the command: # ./install_executorch.sh # # Note: ExecuTorch automatically detects the system CUDA version using nvcc and @@ -59,7 +59,7 @@ jobs: strategy: fail-fast: false matrix: - cuda-version: ["12.6", "13.0"] + cuda-version: ["12.6", "13.0", "13.2"] name: test-executorch-cuda-build-${{ matrix.cuda-version }} uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main @@ -107,7 +107,7 @@ jobs: echo "CUDA build results: ${{ needs.test-cuda-builds.result }}" exit 1 else - echo "SUCCESS: All ExecuTorch CUDA builds (12.6, 13.0) completed successfully!" + echo "SUCCESS: All ExecuTorch CUDA builds (12.6, 13.0, 13.2) completed successfully!" fi test-models-cuda: diff --git a/install_utils.py b/install_utils.py index 9ffaf8c33ff..6f333412765 100644 --- a/install_utils.py +++ b/install_utils.py @@ -16,9 +16,8 @@ # Format: tuple of (major, minor) version numbers SUPPORTED_CUDA_VERSIONS = ( (12, 6), - (12, 8), - (12, 9), (13, 0), + (13, 2), ) From 26315a20e7668d3f2e40419367b2c1c9663ddf6e Mon Sep 17 00:00:00 2001 From: Gasoonjia Date: Thu, 25 Jun 2026 15:27:10 -0700 Subject: [PATCH 2/2] Update cuda.yml --- .github/workflows/cuda.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cuda.yml b/.github/workflows/cuda.yml index 9f5e29ce185..40f4195744b 100644 --- a/.github/workflows/cuda.yml +++ b/.github/workflows/cuda.yml @@ -1,7 +1,9 @@ # Test ExecuTorch CUDA Build Compatibility # This workflow tests whether ExecuTorch can be successfully built with CUDA support -# across different CUDA versions (12.6, 13.0, 13.2) using the command: +# across different CUDA versions (12.6, 13.0) using the command: # ./install_executorch.sh +# +# Intentionally skipped CUDA version 13.2 check due to ci image unsupported. # # Note: ExecuTorch automatically detects the system CUDA version using nvcc and # installs the appropriate PyTorch wheel. No manual CUDA/PyTorch installation needed. @@ -59,7 +61,7 @@ jobs: strategy: fail-fast: false matrix: - cuda-version: ["12.6", "13.0", "13.2"] + cuda-version: ["12.6", "13.0"] name: test-executorch-cuda-build-${{ matrix.cuda-version }} uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main @@ -107,7 +109,7 @@ jobs: echo "CUDA build results: ${{ needs.test-cuda-builds.result }}" exit 1 else - echo "SUCCESS: All ExecuTorch CUDA builds (12.6, 13.0, 13.2) completed successfully!" + echo "SUCCESS: All ExecuTorch CUDA builds (12.6, 13.0) completed successfully!" fi test-models-cuda: