File tree 1 file changed +4
-2
lines changed
extension/benchmark/android/benchmark 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -116,11 +116,13 @@ phases:
116
116
if [ -n "$BIN_FOUND" ]; then
117
117
adb -s $DEVICEFARM_DEVICE_UDID shell am start -W -n org.pytorch.minibench/.BenchmarkActivity \
118
118
--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
120
121
elif [ -n "$MODEL_FOUND" ]; then
121
122
adb -s $DEVICEFARM_DEVICE_UDID shell am start -W -n org.pytorch.minibench/.BenchmarkActivity \
122
123
--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
124
126
else
125
127
adb -s $DEVICEFARM_DEVICE_UDID shell am start -W -n org.pytorch.minibench/.BenchmarkActivity \
126
128
--es "model_dir" "/data/local/tmp/minibench"
You can’t perform that action at this time.
0 commit comments