pytorch / pytorch/executorch

Support benchmark using prebuilt artifacts

Open
#8,246 7 comments 0 reactions 1 assignee View on GitHub

@huydhn is already working on this.

Since Feb 6, 2025.

module: benchmark module: user experience triaged
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:

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.