mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Adding core, dynamo and inductor unit tests for aarch64 linux CI runs. Pull Request resolved: https://github.com/pytorch/pytorch/pull/125255 Approved by: https://github.com/malfet, https://github.com/atalman
39 lines
1.6 KiB
YAML
39 lines
1.6 KiB
YAML
name: linux-aarch64
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- ciflow/linux-aarch64/*
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }} but found ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
linux-jammy-aarch64-py3_10-build:
|
|
name: linux-jammy-aarch64-py3.10
|
|
uses: ./.github/workflows/_linux-build.yml
|
|
with:
|
|
build-environment: linux-jammy-aarch64-py3.10
|
|
docker-image-name: pytorch-linux-jammy-aarch64-py3.10-gcc11
|
|
runner: linux.arm64.2xlarge
|
|
test-matrix: |
|
|
{ include: [
|
|
{ config: "default", shard: 1, num_shards: 4, runner: "linux.arm64.2xlarge" },
|
|
{ config: "default", shard: 2, num_shards: 4, runner: "linux.arm64.2xlarge" },
|
|
{ config: "default", shard: 3, num_shards: 4, runner: "linux.arm64.2xlarge" },
|
|
{ config: "default", shard: 4, num_shards: 4, runner: "linux.arm64.2xlarge" },
|
|
]}
|
|
|
|
linux-jammy-aarch64-py3_10-test:
|
|
name: linux-jammy-aarch64-py3.10
|
|
uses: ./.github/workflows/_linux-test.yml
|
|
needs: linux-jammy-aarch64-py3_10-build
|
|
permissions:
|
|
id-token: write
|
|
contents: read
|
|
with:
|
|
build-environment: linux-jammy-aarch64-py3.10
|
|
docker-image: ${{ needs.linux-jammy-aarch64-py3_10-build.outputs.docker-image }}
|
|
test-matrix: ${{ needs.linux-jammy-aarch64-py3_10-build.outputs.test-matrix }}
|