Skip to content

Commit b9033c8

Browse files
committed
args
1 parent 9439372 commit b9033c8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,13 @@ phases:
116116
if [ -n "$BIN_FOUND" ]; then
117117
adb -s $DEVICEFARM_DEVICE_UDID shell am start -W -n org.pytorch.minibench/.BenchmarkActivity \
118118
--es "model_dir" "/data/local/tmp/minibench" \
119-
--es "tokenizer_path" "/data/local/tmp/minibench/tokenizer.bin"
119+
--es "tokenizer_path" "/data/local/tmp/minibench/tokenizer.bin" \
120+
--ei "num_iter" 5 --ei "num_warm_up_iter" 2
120121
elif [ -n "$MODEL_FOUND" ]; then
121122
adb -s $DEVICEFARM_DEVICE_UDID shell am start -W -n org.pytorch.minibench/.BenchmarkActivity \
122123
--es "model_dir" "/data/local/tmp/minibench" \
123-
--es "tokenizer_path" "/data/local/tmp/minibench/tokenizer.model"
124+
--es "tokenizer_path" "/data/local/tmp/minibench/tokenizer.model" \
125+
--ei "num_iter" 5 --ei "num_warm_up_iter" 2
124126
else
125127
adb -s $DEVICEFARM_DEVICE_UDID shell am start -W -n org.pytorch.minibench/.BenchmarkActivity \
126128
--es "model_dir" "/data/local/tmp/minibench"

0 commit comments

Comments
 (0)