8000 Use py3.10 for ONNX CI jobs (#160852) · pytorch/pytorch@1f19003 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1f19003

Browse files
cyyeverpytorchmergebot
authored andcommitted
Use py3.10 for ONNX CI jobs (#160852)
Use Python 3.10 for ONNX jobs because Python 3.9 is near EOL and futher ONNX versions drop 3.9 support. Pull Request resolved: #160852 Approved by: https://github.com/justinchuby, https://github.com/malfet
1 parent 4e90441 commit 1f19003

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.ci/docker/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ case "$tag" in
168168
TRITON=yes
169169
;;
170170
pytorch-linux-jammy-py3-clang12-onnx)
171-
ANACONDA_PYTHON_VERSION=3.9
171+
ANACONDA_PYTHON_VERSION=3.10
172172
CLANG_VERSION=12
173173
VISION=yes
174174
ONNX=yes

.github/workflows/pull.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,13 @@ jobs:
156156
sync-tag: asan-test
157157
secrets: inherit
158158

159-
linux-jammy-py3_9-clang12-onnx-build:
160-
name: linux-jammy-py3.9-clang12-onnx
159+
linux-jammy-py3_10-clang12-onnx-build:
160+
name: linux-jammy-py3.10-clang12-onnx
161161
uses: ./.github/workflows/_linux-build.yml
162162
needs: get-label-type
163163
with:
164164
runner_prefix: "${{ needs.get-label-type.outputs.label-type }}"
165-
build-environment: linux-jammy-py3.9-clang12-onnx
165+
build-environment: linux-jammy-py3.10-clang12-onnx
166166
docker-image-name: ci-image:pytorch-linux-jammy-py3-clang12-onnx
167167
test-matrix: |
168168
{ include: [
@@ -171,16 +171,16 @@ jobs:
171171
]}
172172
secrets: inherit
173173

174-
linux-jammy-py3_9-clang12-onnx-test:
175-
name: linux-jammy-py3.9-clang12-onnx
174+
linux-jammy-py3_10-clang12-onnx-test:
175+
name: linux-jammy-py3.10-clang12-onnx
176176
uses: ./.github/workflows/_linux-test.yml
177177
needs:
178-
- linux-jammy-py3_9-clang12-onnx-build
178+
- linux-jammy-py3_10-clang12-onnx-build
179179
- target-determination
180180
with:
181-
build-environment: linux-jammy-py3.9-clang12-onnx
182-
docker-image: ${{ needs.linux-jammy-py3_9-clang12-onnx-build.outputs.docker-image }}
183-
test-matrix: ${{ needs.linux-jammy-py3_9-clang12-onnx-build.outputs.test-matrix }}
181+
build-environment: linux-jammy-py3.10-clang12-onnx
182+
docker-image: ${{ needs.linux-jammy-py3_10-clang12-onnx-build.outputs.docker-image }}
183+
test-matrix: ${{ needs.linux-jammy-py3_10-clang12-onnx-build.outputs.test-matrix }}
184184
secrets: inherit
185185

186186
linux-jammy-py3_9-clang12-build:

0 commit comments

Comments
 (0)
0