@@ -28,7 +28,7 @@ concurrency:
28
28
cancel-in-progress : ${{ github.event_name == 'pull_request' }}
29
29
30
30
env :
31
- PUSH_NIGHTLY : ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
31
+ PUSH_NIGHTLY : true # fixme: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
32
32
PUSH_RELEASE : ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'release' }}
33
33
34
34
jobs :
@@ -43,11 +43,11 @@ jobs:
43
43
include :
44
44
# We only release one docker image per PyTorch version.
45
45
# Make sure the matrix here matches the one below.
46
- - { python_version: "3.10", pytorch_version: "2.1", cuda_version: "12.1.0" }
47
- - { python_version: "3.11", pytorch_version: "2.2", cuda_version: "12.1.0" }
48
- - { python_version: "3.11", pytorch_version: "2.3", cuda_version: "12.1.0" }
49
- - { python_version: "3.11", pytorch_version: "2.4", cuda_version: "12.1.0" }
50
- - { python_version: "3.12", pytorch_version: "2.5", cuda_version: "12.1.0" }
46
+ - { python_version: "3.10", pytorch_version: "2.1.0 ", cuda_version: "12.1.0" }
47
+ - { python_version: "3.11", pytorch_version: "2.2.2 ", cuda_version: "12.1.0" }
48
+ - { python_version: "3.11", pytorch_version: "2.3.1 ", cuda_version: "12.1.0" }
49
+ - { python_version: "3.11", pytorch_version: "2.4.1 ", cuda_version: "12.1.0" }
50
+ - { python_version: "3.12", pytorch_version: "2.5.0 ", cuda_version: "12.1.0" }
51
51
steps :
52
52
- uses : actions/checkout@v4
53
53
with :
@@ -104,11 +104,11 @@ jobs:
104
104
include :
105
105
# These are the base images for PL release docker images.
106
106
# Make sure the matrix here matches the one above.
107
- - { python_version: "3.10", pytorch_version: "2.1", cuda_version: "12.1.0" }
108
- - { python_version: "3.11", pytorch_version: "2.2", cuda_version: "12.1.0" }
109
- - { python_version: "3.11", pytorch_version: "2.3", cuda_version: "12.1.0" }
110
- - { python_version: "3.11", pytorch_version: "2.4", cuda_version: "12.1.0" }
111
- - { python_version: "3.12", pytorch_version: "2.5", cuda_version: "12.1.0" }
107
+ - { python_version: "3.10", pytorch_version: "2.1.0 ", cuda_version: "12.1.0" }
108
+ - { python_version: "3.11", pytorch_version: "2.2.2 ", cuda_version: "12.1.0" }
109
+ - { python_version: "3.11", pytorch_version: "2.3.1 ", cuda_version: "12.1.0" }
110
+ - { python_version: "3.11", pytorch_version: "2.4.1 ", cuda_version: "12.1.0" }
111
+ - { python_version: "3.12", pytorch_version: "2.5.0 ", cuda_version: "12.1.0" }
112
112
steps :
113
113
- uses : actions/checkout@v4
114
114
- uses : docker/setup-buildx-action@v3
@@ -121,7 +121,7 @@ jobs:
121
121
- name : shorten Torch version
122
122
run : |
123
123
# convert 1.10.2 to 1.10
124
- pt_version=$(echo ${{ matrix.pytorch }} | cut -d. -f1,2)
124
+ pt_version=$(echo ${{ matrix.pytorch_version }} | cut -d. -f1,2)
125
125
echo "PT_VERSION=$pt_version" >> $GITHUB_ENV
126
126
- uses : docker/build-push-action@v6
127
127
with :
@@ -131,7 +131,7 @@ jobs:
131
131
CUDA_VERSION=${{ matrix.cuda_version }}
132
132
file : dockers/base-cuda/Dockerfile
133
133
push : ${{ env.PUSH_NIGHTLY }}
134
- tags : " pytorchlightning/pytorch_lightning:base-cuda-py${{ matrix.python_version }}-torch${{ matrix.pytorch_version }}-cuda${{ matrix.cuda_version }}"
134
+ tags : " pytorchlightning/pytorch_lightning:base-cuda-py${{ matrix.python_version }}-torch${{ env.PT_VERSION }}-cuda${{ matrix.cuda_version }}"
135
135
timeout-minutes : 95
136
136
- uses : ravsamhq/notify-slack-action@v2
137
137
if : failure() && env.PUSH_NIGHTLY == 'true'
0 commit comments