Skip to content

Add timestamps for pte generation in CI #10761

@lucylq

Description

@lucylq

🚀 The feature, motivation and pitch

Regression tracking for aot export times: add some timestamps to indicate how long the llama export took:

$PYTHON_EXECUTABLE -m examples.models.llama.export_llama ${EXPORT_ARGS}

And fail if the export time is over some threshold. For now, we can set the threshold to be the time it takes to export the longest-running configuration.

The breakdown can look something like this:

  1. Add timestamps for the export command in CI.
  2. Observe the time it takes for each llama test in CI runs. Expect different export commands to show different export times.
  3. Add a fail, if the export time exceeds the largest time observed in (2), with some buffer; I guess we expect some variability with each run.
  4. Optional add-on: make (3) more fine-grained, and targeted per-command.

Alternatives

No response

Additional context

No response

RFC (Optional)

No response

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomersmodule: ciIssues related to continuous integrationtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

Status

To triage

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions