Skip to content

Commit dcc1ad6

Browse files
committed
Add llama jobs on Arm64 and reduce llama jobs on MacOS
1 parent 718aa6f commit dcc1ad6

File tree

2 files changed

+26
-8
lines changed

2 files changed

+26
-8
lines changed

.github/workflows/pull.yml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ jobs:
136136
PYTHON_EXECUTABLE=python bash .ci/scripts/test_model.sh "${MODEL_NAME}" "${BUILD_TOOL}" "${BACKEND}"
137137
138138
test-llama-runner-linux:
139+
# Test Both linux x86 and linux aarch64
139140
name: test-llama-runner-linux
140141
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
141142
permissions:
@@ -145,15 +146,37 @@ jobs:
145146
matrix:
146147
dtype: [fp32]
147148
mode: [portable, xnnpack+custom, xnnpack+custom+qe,xnnpack+custom+quantize_kv,xnnpack+quantize_kv]
149+
runner: [linux.2xlarge, linux.arm64.2xlarge]
150+
docker-image: [executorch-ubuntu-22.04-clang12, executorch-ubuntu-22.04-gcc11-aarch64]
148151
include:
149152
- dtype: bf16
150153
mode: portable
154+
runner: linux.2xlarge
155+
docker-image: executorch-ubuntu-22.04-clang12
151156
- dtype: bf16
152157
mode: custom
158+
runner: linux.2xlarge
159+
docker-image: executorch-ubuntu-22.04-clang12
160+
- dtype: bf16
161+
mode: portable
162+
runner: linux.arm64.2xlarge
163+
docker-image: executorch-ubuntu-22.04-gcc11-aarch64
164+
- dtype: bf16
165+
mode: custom
166+
runner: linux.arm64.2xlarge
167+
docker-image: executorch-ubuntu-22.04-gcc11-aarch64
168+
# Excluding specific runner + docker image combinations that don't make sense:
169+
# - Excluding the ARM64 gcc image on the x86 runner (linux.2xlarge)
170+
# - Excluding the x86 clang image on the ARM64 runner (linux.arm64.2xlarge)
171+
exclude:
172+
- runner: linux.2xlarge
173+
docker-image: executorch-ubuntu-22.04-gcc11-aarch64
174+
- runner: linux.arm64.2xlarge
175+
docker-image: executorch-ubuntu-22.04-clang12
153176
fail-fast: false
154177
with:
155-
runner: linux.2xlarge
156-
docker-image: executorch-ubuntu-22.04-clang12
178+
runner: ${{ matrix.runner }}
179+
docker-image: ${{ matrix.docker-image }}
157180
submodules: 'true'
158181
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
159182
timeout: 900

.github/workflows/trunk.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -289,12 +289,7 @@ jobs:
289289
strategy:
290290
matrix:
291291
dtype: [fp32]
292-
mode: [portable, xnnpack+kv+custom, mps, coreml, xnnpack+custom+quantize_kv]
293-
include:
294-
- dtype: bf16
295-
mode: portable
296-
- dtype: bf16
297-
mode: custom
292+
mode: [mps, coreml, xnnpack+custom+quantize_kv]
298293
fail-fast: false
299294
with:
300295
runner: macos-m1-stable

0 commit comments

Comments
 (0)