Skip to content

Commit 934bc83

Browse files
committed
Tweak the spec
1 parent 7c8e272 commit 934bc83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
android-app-archive: https://gha-artifacts.s3.amazonaws.com/${{ github.repository }}/${{ github.run_id }}/artifact/app-debug.apk
103103
android-test-archive: https://gha-artifacts.s3.amazonaws.com/${{ github.repository }}/${{ github.run_id }}/artifact/app-debug-androidTest.apk
104104
# The test spec can be downloaded from https://ossci-assets.s3.amazonaws.com/android-llama2-device-farm-test-spec.yml
105-
test-spec: arn:aws:devicefarm:us-west-2:308535385114:upload:02a2cf0f-6d9b-45ee-ba1a-a086587469e6/e0e7318a-e3a2-4604-996c-f2762569c46b
105+
test-spec: https://ossci-assets.s3.amazonaws.com/android-llama2-device-farm-test-spec.yml
106106
# The exported llama2 model and its tokenizer, can be downloaded from https://ossci-assets.s3.amazonaws.com/executorch-android-llama2-7b.zip.
107107
# Among the input, this is the biggest file and uploading it to AWS beforehand makes the test run much faster
108108
extra-data: arn:aws:devicefarm:us-west-2:308535385114:upload:02a2cf0f-6d9b-45ee-ba1a-a086587469e6/bd15825b-ddab-4e47-9fef-a9c8935778dd

examples/demo-apps/android/LlamaDemo/android-llama2-device-farm-test-spec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ phases:
5252
then
5353
OBSERVED_TPS=$(grep "The observed TPS " $INSTRUMENT_LOG | tail -n 1)
5454
55-
if [ -n $OBSERVED_TPS ];
55+
if [ -n "${OBSERVED_TPS}" ];
5656
then
5757
echo "[PyTorch] ${OBSERVED_TPS}";
5858
else

0 commit comments

Comments
 (0)