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 6363
6464 # Running Android emulator directly on the runner and not using Docker
6565 run-emulator :
66+ needs : build-llm-demo
6667 # NB: Use metal install for KVM support to run the emulator faster
6768 runs-on : linux.24xl.spr-metal
68- # needs: build-llm-demo
6969 env :
7070 ANDROID_NDK_VERSION : r27b
7171 API_LEVEL : 34
@@ -103,10 +103,10 @@ jobs:
103103 shell : bash
104104 run : |
105105 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
110110 unzip model.zip
111111 mv *.pte model.pte
112112
Original file line number Diff line number Diff line change 2525
2626adb logcat -c
2727adb 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 \
2929 org.pytorch.executorch.test/androidx.test.runner.AndroidJUnitRunner > result.txt 2>&1
3030adb logcat -d > logcat.txt
3131adb shell dumpsys meminfo
You can’t perform that action at this time.
0 commit comments