From b8ef64f539330f0b05a6bedca79ba0c380b97c50 Mon Sep 17 00:00:00 2001 From: bhimrazy Date: Mon, 10 Nov 2025 12:29:34 +0545 Subject: [PATCH] ci: update test configurations for "lightning" and "pytorch" packages with new PyTorch versions --- .github/workflows/ci-tests-fabric.yml | 13 +++++-------- .github/workflows/ci-tests-pytorch.yml | 13 +++++-------- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci-tests-fabric.yml b/.github/workflows/ci-tests-fabric.yml index adf6ae5af1d80..e21468015d91c 100644 --- a/.github/workflows/ci-tests-fabric.yml +++ b/.github/workflows/ci-tests-fabric.yml @@ -40,23 +40,20 @@ jobs: matrix: os: [macOS-14, ubuntu-22.04, windows-2022] config: - # only run PyTorch latest + # Test unified "lightning" package with PyTorch 2.1-2.5 - { pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.1" } - { pkg-name: "lightning", python-version: "3.11", pytorch-version: "2.2.2" } - { pkg-name: "lightning", python-version: "3.11", pytorch-version: "2.3" } - { pkg-name: "lightning", python-version: "3.12.7", pytorch-version: "2.4.1" } - { pkg-name: "lightning", python-version: "3.12.7", pytorch-version: "2.5.1" } - # only run PyTorch latest with Python latest, use Fabric scope to limit dependency issues + # Test standalone "fabric" package with PyTorch 2.6-2.9 - { pkg-name: "fabric", python-version: "3.12.7", pytorch-version: "2.6" } - - # "fabric" installs the standalone package - - { pkg-name: "fabric", python-version: "3.10", pytorch-version: "2.7" } - - # adding recently cut Torch 2.7 - FUTURE + - { pkg-name: "fabric", python-version: "3.12", pytorch-version: "2.7" } - { pkg-name: "fabric", python-version: "3.12", pytorch-version: "2.8" } + - { pkg-name: "fabric", python-version: "3.12", pytorch-version: "2.9" } - # "oldest" versions tests, only on minimum Python + # Test minimum supported versions (oldest) - { pkg-name: "fabric", pytorch-version: "2.1", requires: "oldest" } timeout-minutes: 25 # because of building grpcio on Mac env: diff --git a/.github/workflows/ci-tests-pytorch.yml b/.github/workflows/ci-tests-pytorch.yml index 49071f32757ec..395a0ff26f45a 100644 --- a/.github/workflows/ci-tests-pytorch.yml +++ b/.github/workflows/ci-tests-pytorch.yml @@ -44,23 +44,20 @@ jobs: matrix: os: [macOS-14, ubuntu-22.04, windows-2022] config: - # only run PyTorch latest + # Test unified "lightning" package with PyTorch 2.1-2.5 - { pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.1" } - { pkg-name: "lightning", python-version: "3.11", pytorch-version: "2.2.2" } - { pkg-name: "lightning", python-version: "3.11", pytorch-version: "2.3" } - { pkg-name: "lightning", python-version: "3.12.7", pytorch-version: "2.4.1" } - { pkg-name: "lightning", python-version: "3.12.7", pytorch-version: "2.5.1" } - # only run PyTorch latest with Python latest, use PyTorch scope to limit dependency issues + # Test standalone "pytorch" package with PyTorch 2.6-2.9 - { pkg-name: "pytorch", python-version: "3.12.7", pytorch-version: "2.6" } - - # "pytorch" installs the standalone package - - { pkg-name: "pytorch", python-version: "3.10", pytorch-version: "2.7" } - - # adding recently cut Torch 2.7 - FUTURE + - { pkg-name: "pytorch", python-version: "3.12", pytorch-version: "2.7" } - { pkg-name: "pytorch", python-version: "3.12", pytorch-version: "2.8" } + - { pkg-name: "pytorch", python-version: "3.12", pytorch-version: "2.9" } - # "oldest" versions tests, only on minimum Python + # Test minimum supported versions (oldest) - { pkg-name: "pytorch", pytorch-version: "2.1", requires: "oldest" } timeout-minutes: 50 env: