We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 946b9d8 commit 08afd31Copy full SHA for 08afd31
extension/benchmark/android/benchmark/android-llm-device-farm-test-spec.yml.j2
@@ -125,6 +125,7 @@ phases:
125
adb -s $DEVICEFARM_DEVICE_UDID shell am start -W -n org.pytorch.minibench/.BenchmarkActivity \
126
--es "model_dir" "/data/local/tmp/minibench"
127
fi
128
+ adb -s $DEVICEFARM_DEVICE_UDID shell "echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor"
129
adb -s $DEVICEFARM_DEVICE_UDID shell /data/local/tmp/minibench/xnn_executor_runner --model_path /data/local/tmp/minibench/*.pte --prof_result_path /data/local/tmp/prof_result.bin --num_warmup_iters 10
130
adb -s $DEVICEFARM_DEVICE_UDID pull /data/local/tmp/prof_result.bin
131
pip install prettytable
0 commit comments