Skip to content

Commit 87dbb98

Browse files
committed
again
1 parent 1d4e864 commit 87dbb98

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/_android.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ jobs:
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

scripts/run_android_emulator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ done &
2525

2626
adb logcat -c
2727
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 \
2929
org.pytorch.executorch.test/androidx.test.runner.AndroidJUnitRunner >result.txt 2>&1
3030
adb logcat -d > logcat.txt
3131
adb shell dumpsys meminfo

0 commit comments

Comments
 (0)