Skip to content

Commit 2bdc588

Browse files
committed
bump: testing with future torch 2.6
1 parent f9babd1 commit 2bdc588

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.github/workflows/ci-tests-fabric.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ jobs:
7979
- { os: "macOS-14", pkg-name: "fabric", python-version: "3.9", pytorch-version: "2.1" }
8080
- { os: "ubuntu-20.04", pkg-name: "fabric", python-version: "3.9", pytorch-version: "2.1" }
8181
- { os: "windows-2022", pkg-name: "fabric", python-version: "3.9", pytorch-version: "2.1" }
82+
# adding recently cut Torch 2.6
83+
- { os: "macOS-14", pkg-name: "fabric", python-version: "3.12", pytorch-version: "2.6" }
84+
- { os: "ubuntu-22.04", pkg-name: "fabric", python-version: "3.12", pytorch-version: "2.6" }
85+
- { os: "windows-2022", pkg-name: "fabric", python-version: "3.12", pytorch-version: "2.6" }
8286
timeout-minutes: 25 # because of building grpcio on Mac
8387
env:
8488
PACKAGE_NAME: ${{ matrix.pkg-name }}
@@ -127,7 +131,7 @@ jobs:
127131
- name: Env. variables
128132
run: |
129133
# Switch PyTorch URL
130-
python -c "print('TORCH_URL=' + str('${{env.TORCH_URL_TEST}}' if '${{ matrix.pytorch-version }}' == '2.5' else '${{env.TORCH_URL_STABLE}}'))" >> $GITHUB_ENV
134+
python -c "print('TORCH_URL=' + str('${{env.TORCH_URL_TEST}}' if '${{ matrix.pytorch-version }}' == '2.6' else '${{env.TORCH_URL_STABLE}}'))" >> $GITHUB_ENV
131135
# Switch coverage scope
132136
python -c "print('COVERAGE_SCOPE=' + str('lightning' if '${{matrix.pkg-name}}' == 'lightning' else 'lightning_fabric'))" >> $GITHUB_ENV
133137
# if you install mono-package set dependency only for this subpackage

.github/workflows/ci-tests-pytorch.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ jobs:
8383
- { os: "macOS-14", pkg-name: "pytorch", python-version: "3.9", pytorch-version: "2.1" }
8484
- { os: "ubuntu-20.04", pkg-name: "pytorch", python-version: "3.9", pytorch-version: "2.1" }
8585
- { os: "windows-2022", pkg-name: "pytorch", python-version: "3.9", pytorch-version: "2.1" }
86+
# adding recently cut Torch 2.6
87+
- { os: "macOS-14", pkg-name: "pytorch", python-version: "3.12", pytorch-version: "2.6" }
88+
- { os: "ubuntu-22.04", pkg-name: "pytorch", python-version: "3.12", pytorch-version: "2.6" }
89+
- { os: "windows-2022", pkg-name: "pytorch", python-version: "3.12", pytorch-version: "2.6" }
8690
timeout-minutes: 50
8791
env:
8892
PACKAGE_NAME: ${{ matrix.pkg-name }}
@@ -133,7 +137,7 @@ jobs:
133137
- name: Env. variables
134138
run: |
135139
# Switch PyTorch URL
136-
python -c "print('TORCH_URL=' + str('${{env.TORCH_URL_TEST}}' if '${{ matrix.pytorch-version }}' == '2.5' else '${{env.TORCH_URL_STABLE}}'))" >> $GITHUB_ENV
140+
python -c "print('TORCH_URL=' + str('${{env.TORCH_URL_TEST}}' if '${{ matrix.pytorch-version }}' == '2.6' else '${{env.TORCH_URL_STABLE}}'))" >> $GITHUB_ENV
137141
# Switch coverage scope
138142
python -c "print('COVERAGE_SCOPE=' + str('lightning' if '${{matrix.pkg-name}}' == 'lightning' else 'pytorch_lightning'))" >> $GITHUB_ENV
139143
# if you install mono-package set dependency only for this subpackage

.github/workflows/docker-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ jobs:
109109
- { python_version: "3.11", pytorch_version: "2.3.1", cuda_version: "12.1.0" }
110110
- { python_version: "3.11", pytorch_version: "2.4.1", cuda_version: "12.1.0" }
111111
- { python_version: "3.12", pytorch_version: "2.5.1", cuda_version: "12.1.0" }
112+
- { python_version: "3.12", pytorch_version: "2.6.0", cuda_version: "12.4.1" }
112113
steps:
113114
- uses: actions/checkout@v4
114115
- uses: docker/setup-buildx-action@v3

0 commit comments

Comments
 (0)