mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
[CI] Add xpu linux build into pull workflow (#145084)
To mitigate the XPU build failure risk introduced by non-XPU specific PRs. Refer #144967 & #143803 Pull Request resolved: https://github.com/pytorch/pytorch/pull/145084 Approved by: https://github.com/huydhn, https://github.com/atalman
This commit is contained in:
parent
d0100050dd
commit
225a10febe
2 changed files with 19 additions and 0 deletions
18
.github/workflows/pull.yml
vendored
18
.github/workflows/pull.yml
vendored
|
|
@ -541,3 +541,21 @@ jobs:
|
|||
docker-image: ${{ needs.linux-focal-cuda12_4-py3_10-gcc9-inductor-build.outputs.docker-image }}
|
||||
test-matrix: ${{ needs.linux-focal-cuda12_4-py3_10-gcc9-inductor-build.outputs.test-matrix }}
|
||||
secrets: inherit
|
||||
|
||||
linux-jammy-xpu-2025_0-py3_9-build:
|
||||
name: linux-jammy-xpu-2025.0-py3.9
|
||||
uses: ./.github/workflows/_linux-build.yml
|
||||
needs: get-label-type
|
||||
with:
|
||||
sync-tag: linux-xpu-2025-0-build
|
||||
runner_prefix: ${{ needs.get-label-type.outputs.label-type }}
|
||||
build-environment: linux-jammy-xpu-2025.0-py3.9
|
||||
docker-image-name: pytorch-linux-jammy-xpu-2025.0-py3
|
||||
test-matrix: |
|
||||
{ include: [
|
||||
{ config: "default", shard: 1, num_shards: 4, runner: "linux.idc.xpu" },
|
||||
{ config: "default", shard: 2, num_shards: 4, runner: "linux.idc.xpu" },
|
||||
{ config: "default", shard: 3, num_shards: 4, runner: "linux.idc.xpu" },
|
||||
{ config: "default", shard: 4, num_shards: 4, runner: "linux.idc.xpu" },
|
||||
]}
|
||||
secrets: inherit
|
||||
|
|
|
|||
1
.github/workflows/xpu.yml
vendored
1
.github/workflows/xpu.yml
vendored
|
|
@ -27,6 +27,7 @@ jobs:
|
|||
uses: ./.github/workflows/_linux-build.yml
|
||||
needs: get-label-type
|
||||
with:
|
||||
sync-tag: linux-xpu-2025-0-build
|
||||
runner_prefix: ${{ needs.get-label-type.outputs.label-type }}
|
||||
build-environment: linux-jammy-xpu-2025.0-py3.9
|
||||
docker-image-name: pytorch-linux-jammy-xpu-2025.0-py3
|
||||
|
|
|
|||
Loading…
Reference in a new issue