Skip to content

Commit d04e587

Browse files
committed
Route adb push output to /dev/null
1 parent c35ed76 commit d04e587

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

extension/benchmark/android/benchmark/android-llm-device-farm-test-spec.yml.j2

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ phases:
1212
- curl -s --fail '{{ model_path }}' -o model.zip
1313
- unzip model.zip && ls -la
1414

15-
# Copy the model to sdcard
16-
- adb -s $DEVICEFARM_DEVICE_UDID push -q *.bin /sdcard
17-
- adb -s $DEVICEFARM_DEVICE_UDID push -q *.pte /sdcard
15+
# Copy the model to sdcard. This prints too much progress info when the files
16+
# are large, so it's better to just silent them
17+
- adb -s $DEVICEFARM_DEVICE_UDID push *.bin /sdcard > /dev/null && echo OK
18+
- adb -s $DEVICEFARM_DEVICE_UDID push *.pte /sdcard > /dev/null && echo OK
1819

1920
# Prepare the model and the tokenizer
2021
- adb -s $DEVICEFARM_DEVICE_UDID shell "ls -la /sdcard/"

0 commit comments

Comments
 (0)