Support devices and delegates parameters in android-perf workflow (#4484)
Summary:
The workflow can support parameters `models`, `devices`, `delegates`.
The workflow is able to translate `devices` to `device-pool-arn` and pass to the `mobile_job` for scheduling
The model is packed and uploaded to `artifacts/{model}_{backend}/model.zip`
Note: We should only expect the scheduling is working correctly by passing models, devices and delegates. The actual job may not finish successfully because the underlying model/delegate/device are not supported yet.
Pull Request resolved: https://github.com/pytorch/executorch/pull/4484
Test Plan: The workflow scheduling is working as expected: https://github.com/pytorch/executorch/actions/runs/10187260307
Reviewed By: huydhn
Differential Revision: D60540343
Pulled By: guangy10
fbshipit-source-id: 14815b508707822a5720ad2fdb2ba430712779ad G
Guang Yang committed
0caaf3f3851053be5cc2e8273e7f7c4fdd5ae7c6
Parent: 448c7d3
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 8/2/2024, 6:28:09 PM