Skip to content

Commit e20f6d7

Browse files
atalmanpytorchmergebot
authored andcommitted
Move non inductor workflows to Python 3.9 -> 3.10 (pytorch#161182)
Related to: pytorch#161167 Pull Request resolved: pytorch#161182 Approved by: https://github.com/malfet, https://github.com/huydhn
1 parent c239008 commit e20f6d7

File tree

5 files changed

+60
-60
lines changed

5 files changed

+60
-60
lines changed

.ci/docker/build.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ case "$tag" in
173173
VISION=yes
174174
ONNX=yes
175175
;;
176-
pytorch-linux-jammy-py3.9-clang12)
177-
ANACONDA_PYTHON_VERSION=3.9
176+
pytorch-linux-jammy-py3.10-clang12)
177+
ANACONDA_PYTHON_VERSION=3.10
178178
CLANG_VERSION=12
179179
VISION=yes
180180
TRITON=yes
@@ -234,8 +234,8 @@ case "$tag" in
234234
DOCS=yes
235235
INDUCTOR_BENCHMARKS=yes
236236
;;
237-
pytorch-linux-jammy-cuda12.8-cudnn9-py3.9-clang12)
238-
ANACONDA_PYTHON_VERSION=3.9
237+
pytorch-linux-jammy-cuda12.8-cudnn9-py3.10-clang12)
238+
ANACONDA_PYTHON_VERSION=3.10
239239
CUDA_VERSION=12.8.1
240240
CLANG_VERSION=12
241241
VISION=yes
@@ -246,8 +246,8 @@ case "$tag" in
246246
CLANG_VERSION=18
247247
VISION=yes
248248
;;
249-
pytorch-linux-jammy-py3.9-gcc11)
250-
ANACONDA_PYTHON_VERSION=3.9
249+
pytorch-linux-jammy-py3.10-gcc11)
250+
ANACONDA_PYTHON_VERSION=3.10
251251
GCC_VERSION=11
252252
VISION=yes
253253
KATEX=yes

.github/workflows/docker-builds.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ jobs:
5656
pytorch-linux-jammy-cuda12.8-cudnn9-py3.13-gcc9-inductor-benchmarks,
5757
pytorch-linux-jammy-cuda12.8-cudnn9-py3-gcc9,
5858
pytorch-linux-jammy-cuda12.4-cudnn9-py3-gcc11,
59-
pytorch-linux-jammy-py3.9-clang12,
59+
pytorch-linux-jammy-py3.10-clang12,
6060
pytorch-linux-jammy-py3.13-clang12,
6161
pytorch-linux-jammy-rocm-n-py3,
6262
pytorch-linux-noble-rocm-n-py3,
6363
pytorch-linux-noble-rocm-alpha-py3,
6464
pytorch-linux-jammy-rocm-n-py3-benchmarks,
65-
pytorch-linux-jammy-cuda12.8-cudnn9-py3.9-clang12,
66-
pytorch-linux-jammy-py3.9-gcc11,
65+
pytorch-linux-jammy-cuda12.8-cudnn9-py3.10-clang12,
66+
pytorch-linux-jammy-py3.10-gcc11,
6767
pytorch-linux-jammy-py3.9-gcc11-inductor-benchmarks,
6868
pytorch-linux-jammy-py3.12-halide,
6969
pytorch-linux-jammy-xpu-2025.0-py3,

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
needs: get-label-type
4343
with:
4444
runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge"
45-
build-environment: linux-jammy-py3.9-gcc11
46-
docker-image-name: ci-image:pytorch-linux-jammy-py3.9-gcc11
45+
build-environment: linux-jammy-py3.10-gcc11
46+
docker-image-name: ci-image:pytorch-linux-jammy-py3.10-gcc11
4747
secrets: inherit
4848

4949
docs-push:

.github/workflows/pull.yml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ jobs:
4949
issue_owner: ${{ github.event.pull_request.user.login || github.event.issue.user.login }}
5050
curr_branch: ${{ github.head_ref || github.ref_name }}
5151

52-
linux-jammy-py3_9-gcc11-build:
53-
name: linux-jammy-py3.9-gcc11
52+
linux-jammy-py3_10-gcc11-build:
53+
name: linux-jammy-py3.10-gcc11
5454
uses: ./.github/workflows/_linux-build.yml
5555
needs: get-label-type
5656
with:
5757
runner_prefix: "${{ needs.get-label-type.outputs.label-type }}"
58-
build-environment: linux-jammy-py3.9-gcc11
59-
docker-image-name: ci-image:pytorch-linux-jammy-py3.9-gcc11
58+
build-environment: linux-jammy-py3.10-gcc11
59+
docker-image-name: ci-image:pytorch-linux-jammy-py3.10-gcc11
6060
test-matrix: |
6161
{ include: [
6262
{ config: "default", shard: 1, num_shards: 5, runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" },
@@ -73,49 +73,49 @@ jobs:
7373
]}
7474
secrets: inherit
7575

76-
linux-jammy-py3_9-gcc11-test:
77-
name: linux-jammy-py3.9-gcc11
76+
linux-jammy-py3_10-gcc11-test:
77+
name: linux-jammy-py3.10-gcc11
7878
uses: ./.github/workflows/_linux-test.yml
7979
needs:
80-
- linux-jammy-py3_9-gcc11-build
80+
- linux-jammy-py3_10-gcc11-build
8181
- target-determination
8282
with:
83-
build-environment: linux-jammy-py3.9-gcc11
84-
docker-image: ${{ needs.linux-jammy-py3_9-gcc11-build.outputs.docker-image }}
85-
test-matrix: ${{ needs.linux-jammy-py3_9-gcc11-build.outputs.test-matrix }}
83+
build-environment: linux-jammy-py3.10-gcc11
84+
docker-image: ${{ needs.linux-jammy-py3_10-gcc11-build.outputs.docker-image }}
85+
test-matrix: ${{ needs.linux-jammy-py3_10-gcc11-build.outputs.test-matrix }}
8686
secrets: inherit
8787

8888
linux-docs:
8989
name: linux-docs
9090
uses: ./.github/workflows/_docs.yml
91-
needs: linux-jammy-py3_9-gcc11-build
91+
needs: linux-jammy-py3_10-gcc11-build
9292
with:
93-
build-environment: linux-jammy-py3.9-gcc11
94-
docker-image: ${{ needs.linux-jammy-py3_9-gcc11-build.outputs.docker-image }}
93+
build-environment: linux-jammy-py3.10-gcc11
94+
docker-image: ${{ needs.linux-jammy-py3_10-gcc11-build.outputs.docker-image }}
9595
secrets: inherit
9696

97-
linux-jammy-py3_9-gcc11-no-ops:
98-
name: linux-jammy-py3.9-gcc11-no-ops
97+
linux-jammy-py3_10-gcc11-no-ops:
98+
name: linux-jammy-py3.10-gcc11-no-ops
9999
uses: ./.github/workflows/_linux-build.yml
100100
needs: get-label-type
101101
with:
102102
runner_prefix: "${{ needs.get-label-type.outputs.label-type }}"
103-
build-environment: linux-jammy-py3.9-gcc11-no-ops
104-
docker-image-name: ci-image:pytorch-linux-jammy-py3.9-gcc11
103+
build-environment: linux-jammy-py3.10-gcc11-no-ops
104+
docker-image-name: ci-image:pytorch-linux-jammy-py3.10-gcc11
105105
test-matrix: |
106106
{ include: [
107107
{ config: "default", shard: 1, num_shards: 1 },
108108
]}
109109
secrets: inherit
110110

111-
linux-jammy-py3_9-gcc11-pch:
112-
name: linux-jammy-py3.9-gcc11-pch
111+
linux-jammy-py3_10-gcc11-pch:
112+
name: linux-jammy-py3.10-gcc11-pch
113113
uses: ./.github/workflows/_linux-build.yml
114114
needs: get-label-type
115115
with:
116116
runner_prefix: "${{ needs.get-label-type.outputs.label-type }}"
117-
build-environment: linux-jammy-py3.9-gcc11-pch
118-
docker-image-name: ci-image:pytorch-linux-jammy-py3.9-gcc11
117+
build-environment: linux-jammy-py3.10-gcc11-pch
118+
docker-image-name: ci-image:pytorch-linux-jammy-py3.10-gcc11
119119
test-matrix: |
120120
{ include: [
121121
{ config: "default", shard: 1, num_shards: 1 },
@@ -183,14 +183,14 @@ jobs:
183183
test-matrix: ${{ needs.linux-jammy-py3_10-clang12-onnx-build.outputs.test-matrix }}
184184
secrets: inherit
185185

186-
linux-jammy-py3_9-clang12-build:
187-
name: linux-jammy-py3.9-clang12
186+
linux-jammy-py3_10-clang12-build:
187+
name: linux-jammy-py3.10-clang12
188188
uses: ./.github/workflows/_linux-build.yml
189189
needs: get-label-type
190190
with:
191191
runner_prefix: "${{ needs.get-label-type.outputs.label-type }}"
192-
build-environment: linux-jammy-py3.9-clang12
193-
docker-image-name: ci-image:pytorch-linux-jammy-py3.9-clang12
192+
build-environment: linux-jammy-py3.10-clang12
193+
docker-image-name: ci-image:pytorch-linux-jammy-py3.10-clang12
194194
test-matrix: |
195195
{ include: [
196196
{ config: "default", shard: 1, num_shards: 5, runner: "${{ needs.get-label-type.outputs.label-type }}linux.4xlarge" },
@@ -207,16 +207,16 @@ jobs:
207207
]}
208208
secrets: inherit
209209

210-
linux-jammy-py3_9-clang12-test:
211-
name: linux-jammy-py3.9-clang12
210+
linux-jammy-py3_10-clang12-test:
211+
name: linux-jammy-py3.10-clang12
212212
uses: ./.github/workflows/_linux-test.yml
213213
needs:
214-
- linux-jammy-py3_9-clang12-build
214+
- linux-jammy-py3_10-clang12-build
215215
- target-determination
216216
with:
217-
build-environment: linux-jammy-py3.9-clang12
218-
docker-image: ${{ needs.linux-jammy-py3_9-clang12-build.outputs.docker-image }}
219-
test-matrix: ${{ needs.linux-jammy-py3_9-clang12-build.outputs.test-matrix }}
217+
build-environment: linux-jammy-py3.10-clang12
218+
docker-image: ${{ needs.linux-jammy-py3_10-clang12-build.outputs.docker-image }}
219+
test-matrix: ${{ needs.linux-jammy-py3_10-clang12-build.outputs.test-matrix }}
220220
secrets: inherit
221221

222222
linux-jammy-py3_13-clang12-build:
@@ -253,14 +253,14 @@ jobs:
253253
test-matrix: ${{ needs.linux-jammy-py3_13-clang12-build.outputs.test-matrix }}
254254
secrets: inherit
255255

256-
linux-jammy-cuda12_8-cudnn9-py3_9-clang12-build:
257-
name: linux-jammy-cuda12.8-cudnn9-py3.9-clang12
256+
linux-jammy-cuda12_8-cudnn9-py3_10-clang12-build:
257+
name: linux-jammy-cuda12.8-cudnn9-py3.10-clang12
258258
uses: ./.github/workflows/_linux-build.yml
259259
needs: get-label-type
260260
with:
261261
runner_prefix: "${{ needs.get-label-type.outputs.label-type }}"
262-
build-environment: linux-jammy-cuda12.8-cudnn9-py3.9-clang12
263-
docker-image-name: ci-image:pytorch-linux-jammy-cuda12.8-cudnn9-py3.9-clang12
262+
build-environment: linux-jammy-cuda12.8-cudnn9-py3.10-clang12
263+
docker-image-name: ci-image:pytorch-linux-jammy-cuda12.8-cudnn9-py3.10-clang12
264264
test-matrix: |
265265
{ include: [
266266
{ config: "default", shard: 1, num_shards: 1 },
@@ -282,14 +282,14 @@ jobs:
282282
]}
283283
secrets: inherit
284284

285-
linux-jammy-py3_9-gcc11-mobile-lightweight-dispatch-build:
286-
name: linux-jammy-py3.9-gcc11-mobile-lightweight-dispatch-build
285+
linux-jammy-py3_10-gcc11-mobile-lightweight-dispatch-build:
286+
name: linux-jammy-py3.10-gcc11-mobile-lightweight-dispatch-build
287287
uses: ./.github/workflows/_linux-build.yml
288288
needs: get-label-type
289289
with:
290290
runner_prefix: "${{ needs.get-label-type.outputs.label-type }}"
291-
build-environment: linux-jammy-py3.9-gcc11-mobile-lightweight-dispatch-build
292-
docker-image-name: ci-image:pytorch-linux-jammy-py3.9-gcc11
291+
build-environment: linux-jammy-py3.10-gcc11-mobile-lightweight-dispatch-build
292+
docker-image-name: ci-image:pytorch-linux-jammy-py3.10-gcc11
293293
build-generates-artifacts: false
294294
test-matrix: |
295295
{ include: [

.github/workflows/slow.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,31 +78,31 @@ jobs:
7878
test-matrix: ${{ needs.linux-jammy-cuda12_8-py3_10-gcc11-sm86-build.outputs.test-matrix }}
7979
secrets: inherit
8080

81-
linux-jammy-py3_9-clang12-build:
82-
name: linux-jammy-py3.9-clang12
81+
linux-jammy-py3_10-clang12-build:
82+
name: linux-jammy-py3.10-clang12
8383
uses: ./.github/workflows/_linux-build.yml
8484
needs: get-label-type
8585
with:
8686
runner_prefix: "${{ needs.get-label-type.outputs.label-type }}"
87-
build-environment: linux-jammy-py3.9-clang12
88-
docker-image-name: ci-image:pytorch-linux-jammy-py3.9-clang12
87+
build-environment: linux-jammy-py3.10-clang12
88+
docker-image-name: ci-image:pytorch-linux-jammy-py3.10-clang12
8989
test-matrix: |
9090
{ include: [
9191
{ config: "slow", shard: 1, num_shards: 2, runner: "linux.2xlarge" },
9292
{ config: "slow", shard: 2, num_shards: 2, runner: "linux.2xlarge" },
9393
]}
9494
secrets: inherit
9595

96-
linux-jammy-py3_9-clang12-test:
97-
name: linux-jammy-py3.9-clang12
96+
linux-jammy-py3_10-clang12-test:
97+
name: linux-jammy-py3.10-clang12
9898
uses: ./.github/workflows/_linux-test.yml
9999
needs:
100-
- linux-jammy-py3_9-clang12-build
100+
- linux-jammy-py3_10-clang12-build
101101
- target-determination
102102
with:
103-
build-environment: linux-jammy-py3.9-clang12
104-
docker-image: ${{ needs.linux-jammy-py3_9-clang12-build.outputs.docker-image }}
105-
test-matrix: ${{ needs.linux-jammy-py3_9-clang12-build.outputs.test-matrix }}
103+
build-environment: linux-jammy-py3.10-clang12
104+
docker-image: ${{ needs.linux-jammy-py3_10-clang12-build.outputs.docker-image }}
105+
test-matrix: ${{ needs.linux-jammy-py3_10-clang12-build.outputs.test-matrix }}
106106
secrets: inherit
107107

108108
linux-jammy-rocm-py3_10-build:

0 commit comments

Comments
 (0)