File tree Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 23
23
"samsung_galaxy_s22" : "arn:aws:devicefarm:us-west-2:308535385114:devicepool:02a2cf0f-6d9b-45ee-ba1a-a086587469e6/e59f866a-30aa-4aa1-87b7-4510e5820dfa" ,
24
24
"samsung_galaxy_s24" : "arn:aws:devicefarm:us-west-2:308535385114:devicepool:02a2cf0f-6d9b-45ee-ba1a-a086587469e6/98f8788c-2e25-4a3c-8bb2-0d1e8897c0db" ,
25
25
"google_pixel_8_pro" : "arn:aws:devicefarm:us-west-2:308535385114:devicepool:02a2cf0f-6d9b-45ee-ba1a-a086587469e6/d65096ab-900b-4521-be8b-a3619b69236a" ,
26
+ "google_pixel_3_private_rooted" : "arn:aws:devicefarm:us-west-2:308535385114:devicepool:02a2cf0f-6d9b-45ee-ba1a-a086587469e6/98d23ca8-ea9e-4fb7-b725-d402017b198d" ,
26
27
}
27
28
28
29
# Predefined benchmark configurations
Original file line number Diff line number Diff line change
1
+ name : android-perf (private devices)
2
+
3
+ on :
4
+ schedule :
5
+ - cron : 0 0,8,16 * * *
6
+ # Note: GitHub has an upper limit of 10 inputs
7
+ workflow_dispatch :
8
+ inputs :
9
+ models :
10
+ description : Models to be benchmarked
11
+ required : false
12
+ type : string
13
+ default : llama
14
+ devices :
15
+ description : Target devices to run benchmark
16
+ required : false
17
+ type : string
18
+ default : google_pixel_3_private_rooted
19
+ benchmark_configs :
20
+ description : The list of configs used the benchmark
21
+ required : false
22
+ type : string
23
+ workflow_call :
24
+ inputs :
25
+ models :
26
+ description : Models to be benchmarked
27
+ required : false
28
+ type : string
29
+ default : llama
30
+ devices :
31
+ description : Target devices to run benchmark
32
+ required : false
33
+ type : string
34
+ default : google_pixel_3_private_rooted
35
+ benchmark_configs :
36
+ description : The list of configs used the benchmark
37
+ required : false
38
+ type : string
39
+
40
+ concurrency :
41
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }}
42
+ cancel-in-progress : true
43
+
44
+ jobs :
45
+ android :
46
+ uses : ./.github/workflows/android-perf.yml
47
+ permissions :
48
+ id-token : write
49
+ contents : read
50
+ with :
51
+ models : ${{ inputs.models }}
52
+ devices : google_pixel_3_private_rooted
53
+ benchmark_configs : ${{ inputs.benchmark_configs }}
You can’t perform that action at this time.
0 commit comments