Skip to content

Commit 28f0fcb

Browse files
authored
ci: bump next torch 2.7 (#20656)
* ci: bump next `torch` 2.7 * cuda_version: "12.6.3"
1 parent 08266a9 commit 28f0fcb

File tree

5 files changed

+14
-7
lines changed

5 files changed

+14
-7
lines changed

.azure/gpu-tests-fabric.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ jobs:
6262
"Fabric | latest":
6363
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.6-cuda12.4.1"
6464
PACKAGE_NAME: "fabric"
65+
"Fabric | future":
66+
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.7-cuda12.6.3"
67+
PACKAGE_NAME: "fabric"
6568
"Lightning | latest":
6669
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.6-cuda12.4.1"
6770
PACKAGE_NAME: "lightning"

.azure/gpu-tests-pytorch.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ jobs:
5555
"PyTorch | latest":
5656
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.6-cuda12.4.1"
5757
PACKAGE_NAME: "pytorch"
58+
"PyTorch | future":
59+
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.7-cuda12.6.3"
60+
PACKAGE_NAME: "pytorch"
5861
"Lightning | latest":
5962
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.6-cuda12.4.1"
6063
PACKAGE_NAME: "lightning"

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ jobs:
6868
- { os: "ubuntu-20.04", pkg-name: "fabric", python-version: "3.10", pytorch-version: "2.5" }
6969
- { os: "windows-2022", pkg-name: "fabric", python-version: "3.10", pytorch-version: "2.5" }
7070
# adding recently cut Torch 2.7 - FUTURE
71-
# - { os: "macOS-14", pkg-name: "fabric", python-version: "3.12", pytorch-version: "2.7" }
72-
# - { os: "ubuntu-22.04", pkg-name: "fabric", python-version: "3.12", pytorch-version: "2.7" }
73-
# - { os: "windows-2022", pkg-name: "fabric", python-version: "3.12", pytorch-version: "2.7" }
71+
- { os: "macOS-14", pkg-name: "fabric", python-version: "3.12", pytorch-version: "2.7" }
72+
- { os: "ubuntu-22.04", pkg-name: "fabric", python-version: "3.12", pytorch-version: "2.7" }
73+
- { os: "windows-2022", pkg-name: "fabric", python-version: "3.12", pytorch-version: "2.7" }
7474
timeout-minutes: 25 # because of building grpcio on Mac
7575
env:
7676
PACKAGE_NAME: ${{ matrix.pkg-name }}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ jobs:
7272
- { os: "ubuntu-20.04", pkg-name: "pytorch", python-version: "3.10", pytorch-version: "2.5" }
7373
- { os: "windows-2022", pkg-name: "pytorch", python-version: "3.10", pytorch-version: "2.5" }
7474
# adding recently cut Torch 2.7 - FUTURE
75-
# - { os: "macOS-14", pkg-name: "pytorch", python-version: "3.12", pytorch-version: "2.7" }
76-
# - { os: "ubuntu-22.04", pkg-name: "pytorch", python-version: "3.12", pytorch-version: "2.7" }
77-
# - { os: "windows-2022", pkg-name: "pytorch", python-version: "3.12", pytorch-version: "2.7" }
75+
- { os: "macOS-14", pkg-name: "pytorch", python-version: "3.12", pytorch-version: "2.7" }
76+
- { os: "ubuntu-22.04", pkg-name: "pytorch", python-version: "3.12", pytorch-version: "2.7" }
77+
- { os: "windows-2022", pkg-name: "pytorch", python-version: "3.12", pytorch-version: "2.7" }
7878
timeout-minutes: 50
7979
env:
8080
PACKAGE_NAME: ${{ matrix.pkg-name }}

.github/workflows/docker-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ jobs:
101101
- { python_version: "3.11", pytorch_version: "2.4.1", cuda_version: "12.1.1" }
102102
- { python_version: "3.12", pytorch_version: "2.5.1", cuda_version: "12.1.1" }
103103
- { python_version: "3.12", pytorch_version: "2.6.0", cuda_version: "12.4.1" }
104+
- { python_version: "3.12", pytorch_version: "2.7.0", cuda_version: "12.6.3" }
104105
steps:
105106
- uses: actions/checkout@v4
106107
- uses: docker/setup-buildx-action@v3
@@ -131,7 +132,7 @@ jobs:
131132
status: ${{ job.status }}
132133
token: ${{ secrets.GITHUB_TOKEN }}
133134
notification_title: ${{ format('CUDA; {0} py{1} for *{2}*', runner.os, matrix.python_version, matrix.pytorch_version) }}
134-
message_format: "{emoji} *{workflow}* {status_message}, see <{run_url}|detail>, cc: <@U01A5T7EY9M>" # akihironitta
135+
message_format: "{emoji} *{workflow}* {status_message}, see <{run_url}|detail>, cc: <@U01A5T7EY9M>"
135136
env:
136137
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
137138

0 commit comments

Comments
 (0)