Support benchmark using prebuilt artifacts
@huydhn is already working on this.
Since Feb 6, 2025.
- Dominant language
- Python
- Stars
- 5k
- Forks
- 1.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 581
Description
🚀 The feature, motivation and pitch
Enable this for on-demand workflow only, to offer developers additional flexibility and efficiency.
Scenarios where benchmarking w/ prebuilt artifacts are needed:
- Sometimes the pte model may come from outside, for example the model may come from external partners. Or the model is downloaded from the executorch community from Hugging Face, https://huggingface.co/executorch-community/DeepSeek-R1-Distill-Llama-8B/tree/main.
- Developers who work on the runtime may not necessarily to re-export the same model all the time.
- Developers who work on exporting may not need to build the banchmark app all the time
UX:
- via GitHub UI
- via script
Source of the artifacts to be used in the benchmark workflow:
- pte models from Hugging Face, e.g. https://huggingface.co/executorch-community/Llama-3.2-1B-Instruct-ET/tree/main
- From S3 (uploaded by developers/users)
We will need to define the UX to support this feature. For example, allow users to upload prebuilt artifacts via script. The script will return with links to the artifacts. Then users can schedule an on-demand workflow via UI, or users can do everything via the script.
Policy and TTL to keep the uploaded artifacts.
CC: @digantdesai @kimishpatel @cccclai
Alternatives
No response
Additional context
No response
RFC (Optional)
No response
cc @huydhn @kirklandsign @shoumikhin @mergennachin @byjlw
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.