File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 6969 devices : ${{ steps.set-parameters.outputs.devices }}
7070 delegates : ${{ steps.set-parameters.outputs.delegates }}
7171 steps :
72- - uses : actions/checkout@v3
73-
7472 - name : Set parameters
7573 id : set-parameters
7674 shell : bash
@@ -119,6 +117,17 @@ jobs:
119117 echo "devices=$(echo "$MAPPED_ARNS_JSON" | jq -c .)" >> $GITHUB_OUTPUT
120118 echo "delegates=$(echo $DELEGATES | jq -Rc 'split(",")')" >> $GITHUB_OUTPUT
121119
120+ prepare-test-specs :
121+ runs-on : linux.2xlarge
122+ needs : set-parameters
123+ strategy :
124+ matrix :
125+ model : ${{ fromJson(needs.set-parameters.outputs.models) }}
126+ delegate : ${{ fromJson(needs.set-parameters.outputs.delegates) }}
127+ fail-fast : false
128+ steps :
129+ - uses : actions/checkout@v3
130+
122131 - name : Prepare the spec
123132 shell : bash
124133 working-directory : extension/benchmark/android/benchmark
@@ -147,7 +156,7 @@ jobs:
147156
148157 export-models :
149158 name : export-models
150- uses : pytorch/test-infra/.github/workflows/linux_job .yml@main
159+ uses : pytorch/test-infra/.github/workflows/linux_job_v2 .yml@main
151160 needs : set-parameters
152161 strategy :
153162 matrix :
@@ -198,7 +207,7 @@ jobs:
198207
199208 build-benchmark-app :
200209 name : build-benchmark-app
201- uses : pytorch/test-infra/.github/workflows/linux_job .yml@main
210+ uses : pytorch/test-infra/.github/workflows/linux_job_v2 .yml@main
202211 needs : set-parameters
203212 with :
204213 runner : linux.2xlarge
@@ -232,6 +241,7 @@ jobs:
232241 uses : pytorch/test-infra/.github/workflows/mobile_job.yml@main
233242 needs :
234243 - set-parameters
244+ - prepare-test-specs
235245 - build-benchmark-app
236246 - export-models
237247 strategy :
You can’t perform that action at this time.
0 commit comments