Revert "[CI] Migrate XPU build and test to python 3.10 (#161708)"

This reverts commit 2a70d98abf.

Reverted https://github.com/pytorch/pytorch/pull/161708 on behalf of https://github.com/ZainRizvi due to Sorry but this is causing rocm jobs to fail. See: test/inductor/test_max_autotune.py::TestMaxAutotuneSubproc::test_max_autotune_addmm_search_space_EXHAUSTIVE_dynamic_True [GH job link](https://github.com/pytorch/pytorch/actions/runs/17303310877/job/49125664617) [HUD commit link](2a70d98abf) ([comment](https://github.com/pytorch/pytorch/pull/161708#issuecomment-3238359944))
This commit is contained in:
PyTorch MergeBot 2025-08-29 21:49:14 +00:00
parent eb78757708
commit 6e548c1a87
2 changed files with 14 additions and 14 deletions

View File

@ -220,7 +220,7 @@ case "$tag" in
PYTORCH_ROCM_ARCH="gfx90a;gfx942;gfx950" PYTORCH_ROCM_ARCH="gfx90a;gfx942;gfx950"
;; ;;
pytorch-linux-jammy-xpu-n-1-py3) pytorch-linux-jammy-xpu-n-1-py3)
ANACONDA_PYTHON_VERSION=3.10 ANACONDA_PYTHON_VERSION=3.9
GCC_VERSION=11 GCC_VERSION=11
VISION=yes VISION=yes
XPU_VERSION=2025.1 XPU_VERSION=2025.1
@ -228,7 +228,7 @@ case "$tag" in
TRITON=yes TRITON=yes
;; ;;
pytorch-linux-jammy-xpu-n-py3) pytorch-linux-jammy-xpu-n-py3)
ANACONDA_PYTHON_VERSION=3.10 ANACONDA_PYTHON_VERSION=3.9
GCC_VERSION=11 GCC_VERSION=11
VISION=yes VISION=yes
XPU_VERSION=2025.2 XPU_VERSION=2025.2

View File

@ -26,14 +26,14 @@ jobs:
curr_branch: ${{ github.head_ref || github.ref_name }} curr_branch: ${{ github.head_ref || github.ref_name }}
curr_ref_type: ${{ github.ref_type }} curr_ref_type: ${{ github.ref_type }}
linux-jammy-xpu-n-1-py3_10-build: linux-jammy-xpu-n-1-py3_9-build:
name: linux-jammy-xpu-n-1-py3.10 name: linux-jammy-xpu-n-1-py3.9
uses: ./.github/workflows/_linux-build.yml uses: ./.github/workflows/_linux-build.yml
needs: get-label-type needs: get-label-type
with: with:
sync-tag: linux-xpu-n-1-build sync-tag: linux-xpu-n-1-build
runner_prefix: ${{ needs.get-label-type.outputs.label-type }} runner_prefix: ${{ needs.get-label-type.outputs.label-type }}
build-environment: linux-jammy-xpu-n-1-py3.10 build-environment: linux-jammy-xpu-n-1-py3.9
docker-image-name: ci-image:pytorch-linux-jammy-xpu-n-1-py3 docker-image-name: ci-image:pytorch-linux-jammy-xpu-n-1-py3
runner: linux.12xlarge runner: linux.12xlarge
test-matrix: | test-matrix: |
@ -47,14 +47,14 @@ jobs:
]} ]}
secrets: inherit secrets: inherit
linux-jammy-xpu-n-py3_10-build: linux-jammy-xpu-n-py3_9-build:
name: linux-jammy-xpu-n-py3.10 name: linux-jammy-xpu-n-py3.9
uses: ./.github/workflows/_linux-build.yml uses: ./.github/workflows/_linux-build.yml
needs: get-label-type needs: get-label-type
with: with:
sync-tag: linux-xpu-n-build sync-tag: linux-xpu-n-build
runner_prefix: ${{ needs.get-label-type.outputs.label-type }} runner_prefix: ${{ needs.get-label-type.outputs.label-type }}
build-environment: linux-jammy-xpu-n-py3.10 build-environment: linux-jammy-xpu-n-py3.9
docker-image-name: ci-image:pytorch-linux-jammy-xpu-n-py3 docker-image-name: ci-image:pytorch-linux-jammy-xpu-n-py3
runner: linux.12xlarge runner: linux.12xlarge
test-matrix: | test-matrix: |
@ -70,17 +70,17 @@ jobs:
]} ]}
secrets: inherit secrets: inherit
linux-jammy-xpu-n-py3_10-test: linux-jammy-xpu-n-py3_9-test:
name: linux-jammy-xpu-n-py3.10 name: linux-jammy-xpu-n-py3.9
uses: ./.github/workflows/_xpu-test.yml uses: ./.github/workflows/_xpu-test.yml
needs: linux-jammy-xpu-n-py3_10-build needs: linux-jammy-xpu-n-py3_9-build
permissions: permissions:
id-token: write id-token: write
contents: read contents: read
with: with:
build-environment: linux-jammy-xpu-n-py3.10 build-environment: linux-jammy-xpu-n-py3.9
docker-image: ${{ needs.linux-jammy-xpu-n-py3_10-build.outputs.docker-image }} docker-image: ${{ needs.linux-jammy-xpu-n-py3_9-build.outputs.docker-image }}
test-matrix: ${{ needs.linux-jammy-xpu-n-py3_10-build.outputs.test-matrix }} test-matrix: ${{ needs.linux-jammy-xpu-n-py3_9-build.outputs.test-matrix }}
secrets: inherit secrets: inherit
windows-xpu-n-1-build: windows-xpu-n-1-build: