Skip to content

Experiment with private rooted Pixel 3 devices #4

Experiment with private rooted Pixel 3 devices

Experiment with private rooted Pixel 3 devices #4

name: android-perf (private devices)
on:
schedule:
- cron: 0 0,8,16 * * *
pull_request:
paths:
- .github/workflows/android-perf-private-device-experiment.yml
push:
branches:
- main
paths:
- .github/workflows/android-perf-private-device-experiment.yml
# Note: GitHub has an upper limit of 10 inputs
workflow_dispatch:
inputs:
models:
description: Models to be benchmarked
required: false
type: string
default: llama
devices:
description: Target devices to run benchmark
required: false
type: string
default: google_pixel_3_private_rooted
benchmark_configs:
description: The list of configs used the benchmark
required: false
type: string
workflow_call:
inputs:
models:
description: Models to be benchmarked
required: false
type: string
default: llama
devices:
description: Target devices to run benchmark
required: false
type: string
default: google_pixel_3_private_rooted
benchmark_configs:
description: The list of configs used the benchmark
required: false
type: string
concurrency:
group: android-perf-private-devices-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }}
cancel-in-progress: true
jobs:
android:
uses: ./.github/workflows/android-perf.yml
secrets: inherit
permissions:
id-token: write
contents: read
with:
models: ${{ inputs.models }}
devices: google_pixel_3_private_rooted
benchmark_configs: ${{ inputs.benchmark_configs }}