@@ -136,6 +136,7 @@ jobs:
136
136
PYTHON_EXECUTABLE=python bash .ci/scripts/test_model.sh "${MODEL_NAME}" "${BUILD_TOOL}" "${BACKEND}"
137
137
138
138
test-llama-runner-linux :
139
+ # Test Both linux x86 and linux aarch64
139
140
name : test-llama-runner-linux
140
141
uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
141
142
permissions :
@@ -145,15 +146,37 @@ jobs:
145
146
matrix :
146
147
dtype : [fp32]
147
148
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]
148
151
include :
149
152
- dtype : bf16
150
153
mode : portable
154
+ runner : linux.2xlarge
155
+ docker-image : executorch-ubuntu-22.04-clang12
151
156
- dtype : bf16
152
157
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
153
176
fail-fast : false
154
177
with :
155
- runner : linux.2xlarge
156
- docker-image : executorch-ubuntu-22.04-clang12
178
+ runner : ${{ matrix.runner }}
179
+ docker-image : ${{ matrix.docker-image }}
157
180
submodules : ' true'
158
181
ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
159
182
timeout : 900
0 commit comments