Skip to content

Commit ab4810c

Browse files
authored
Use metal instance for Android emulator for KVM support
Differential Revision: D62299612 Pull Request resolved: #5127
1 parent 26e72e4 commit ab4810c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/android.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ jobs:
8080
# Running Android emulator directly on the runner and not using Docker
8181
run-emulator:
8282
needs: build-llm-demo
83-
runs-on: amz2023.linux.4xlarge
83+
# NB: Use metal install for KVM support to run the emulator faster
84+
runs-on: linux.24xl.spr-metal
8485
env:
8586
ANDROID_NDK_VERSION: r26c
8687
API_LEVEL: 34
@@ -128,9 +129,6 @@ jobs:
128129
uses: reactivecircus/android-emulator-runner@v2
129130
with:
130131
api-level: ${{ env.API_LEVEL }}
131-
# NB: x86_64 emulator is slow because the lack of KVM support on AWS, it
132-
# seems that we can use metal instance for that but it hasn't been tried
133-
# out yet. Also arm64-v8a arch requires an ARM runner
134132
arch: x86_64
135133
script: ./build/run_android_emulator.sh
136134
# NB: This is to boot the emulator faster following the instructions on

0 commit comments

Comments
 (0)