File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 63
63
64
64
# Running Android emulator directly on the runner and not using Docker
65
65
run-emulator :
66
+ needs : build-llm-demo
66
67
# NB: Use metal install for KVM support to run the emulator faster
67
68
runs-on : linux.24xl.spr-metal
68
- # needs: build-llm-demo
69
69
env :
70
70
ANDROID_NDK_VERSION : r27b
71
71
API_LEVEL : 34
@@ -103,10 +103,10 @@ jobs:
103
103
shell : bash
104
104
run : |
105
105
set -eux
106
- curl -O https://gha-artifacts.s3.amazonaws.com/${{ github.repository }}/14523127093 /artifacts/llm_demo/app-debug.apk
107
- curl -O https://gha-artifacts.s3.amazonaws.com/${{ github.repository }}/14523127093 /artifacts/llm_demo/app-debug-androidTest.apk
108
- curl -O https://gha-artifacts.s3.amazonaws.com/${{ github.repository }}/14523127093 /artifacts/fp32-xnnpack-custom/model.zip
109
- curl -o android-test-debug-androidTest.apk https://gha-artifacts.s3.amazonaws.com/${{ github.repository }}/14523127093 /artifacts/library_test_dir/executorch_android-debug-androidTest.apk
106
+ curl -O https://gha-artifacts.s3.amazonaws.com/${{ github.repository }}/${{ github.run_id }} /artifacts/llm_demo/app-debug.apk
107
+ curl -O https://gha-artifacts.s3.amazonaws.com/${{ github.repository }}/${{ github.run_id }} /artifacts/llm_demo/app-debug-androidTest.apk
108
+ curl -O https://gha-artifacts.s3.amazonaws.com/${{ github.repository }}/${{ github.run_id }} /artifacts/fp32-xnnpack-custom/model.zip
109
+ curl -o android-test-debug-androidTest.apk https://gha-artifacts.s3.amazonaws.com/${{ github.repository }}/${{ github.run_id }} /artifacts/library_test_dir/executorch_android-debug-androidTest.apk
110
110
unzip model.zip
111
111
mv *.pte model.pte
112
112
Original file line number Diff line number Diff line change 25
25
26
26
adb logcat -c
27
27
adb shell am instrument -w -r -e \
28
- class org.pytorch.executorch.ModuleInstrumentationTest ,org.pytorch.executorch.ModuleE2ETest \
28
+ class org.pytorch.executorch.LlmModuleInstrumentationTest ,org.pytorch.executorch.ModuleE2ETest \
29
29
org.pytorch.executorch.test/androidx.test.runner.AndroidJUnitRunner > result.txt 2>&1
30
30
adb logcat -d > logcat.txt
31
31
adb shell dumpsys meminfo
You can’t perform that action at this time.
0 commit comments