Skip to content

Commit f95ea36

Browse files
committed
Trim macos jobs and do as much as possible in aarch64 instances
1 parent 9b2cb87 commit f95ea36

File tree

2 files changed

+22
-11
lines changed

2 files changed

+22
-11
lines changed

.github/workflows/pull.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,20 @@ jobs:
4949
model: [mv3, vit]
5050
backend: [portable, xnnpack-quantization-delegation]
5151
build-tool: [cmake, buck2]
52-
runner: [linux.2xlarge]
52+
runner: [linux.2xlarge, linux.arm64.2xlarge]
53+
docker-image: [executorch-ubuntu-22.04-clang12, executorch-ubuntu-22.04-gcc11-aarch64]
54+
# Excluding specific runner + docker image combinations that don't make sense:
55+
# - Excluding the ARM64 gcc image on the x86 runner (linux.2xlarge)
56+
# - Excluding the x86 clang image on the ARM64 runner (linux.arm64.2xlarge)
57+
exclude:
58+
- runner: linux.2xlarge
59+
docker-image: executorch-ubuntu-22.04-gcc11-aarch64
60+
- runner: linux.arm64.2xlarge
61+
docker-image: executorch-ubuntu-22.04-clang12
5362
fail-fast: false
5463
with:
5564
runner: ${{ matrix.runner }}
56-
docker-image: executorch-ubuntu-22.04-clang12
65+
docker-image: ${{ matrix.docker-image }}
5766
submodules: 'true'
5867
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
5968
timeout: ${{ matrix.timeout }}

.github/workflows/trunk.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,21 @@ jobs:
2323
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
2424
strategy:
2525
matrix:
26-
model: [add, add_mul, emformer_join, emformer_transcribe, ic3, ic4, linear, llama2, mobilebert, mv2, mv3, resnet18, resnet50, vit, w2l]
27-
backend: [portable, xnnpack-quantization-delegation]
26+
model: [emformer_join, ic4, llama2, mobilebert, mv3, resnet50, vit, w2l]
27+
backend: [xnnpack-quantization-delegation]
2828
include:
2929
- model: efficient_sam
3030
backend: portable
3131
- model: llama
3232
backend: portable
3333
- model: llama3_2_vision_encoder
3434
backend: portable
35-
- model: lstm
36-
backend: portable
37-
- model: mul
35+
- model: mv3
3836
backend: portable
3937
- model: phi-4-mini
4038
backend: portable
4139
- model: qwen2_5
4240
backend: portable
43-
- model: softmax
44-
backend: portable
4541
fail-fast: false
4642
with:
4743
runner: macos-m1-stable
@@ -71,10 +67,16 @@ jobs:
7167
matrix:
7268
model: [linear, add, add_mul, ic3, ic4, mv2, mv3, resnet18, resnet50, vit, w2l, mobilebert, emformer_join, emformer_transcribe]
7369
backend: [portable, xnnpack-quantization-delegation]
74-
runner: [linux.arm64.2xlarge]
70+
include:
71+
- model: lstm
72+
backend: portable
73+
- model: mul
74+
backend: portable
75+
- model: softmax
76+
backend: portable
7577
fail-fast: false
7678
with:
77-
runner: ${{ matrix.runner }}
79+
runner: linux.arm64.2xlarge
7880
docker-image: executorch-ubuntu-22.04-gcc11-aarch64
7981
submodules: 'true'
8082
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}

0 commit comments

Comments
 (0)