Skip to content

Fail the benchmark job if the export step fails #8786

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 28, 2025

Conversation

huydhn
Copy link
Contributor

@huydhn huydhn commented Feb 27, 2025

In this example, https://github.com./pytorch/executorch/actions/runs/13511586696/job/37752729714, mv3 with mps backend failed to export, but its corresponding benchmark job was green. The benchmark app didn't consider this as a failure when it didn't run any benchmark. IMO, if there was no model, it would be clearer to fail the job instead.

(also fix the default model from stories110M to llama as the former isn't a valid name anymore)

cc @yangw-dev

Testing

https://github.com./pytorch/executorch/actions/runs/13577012355/job/37956751928#step:16:1126 where the corresponding benchmark jobs failed when there was no exported model

Copy link

pytorch-bot bot commented Feb 27, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/8786

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure

As of commit 5cb328d with merge base 88a06ef (image):

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 27, 2025
@huydhn huydhn had a problem deploying to upload-benchmark-results February 27, 2025 21:12 — with GitHub Actions Failure
@huydhn huydhn had a problem deploying to upload-benchmark-results February 27, 2025 23:22 — with GitHub Actions Failure
@huydhn huydhn had a problem deploying to upload-benchmark-results February 28, 2025 02:36 — with GitHub Actions Failure
@huydhn huydhn requested a review from guangy10 February 28, 2025 02:41
@huydhn huydhn marked this pull request as ready for review February 28, 2025 02:41
@huydhn huydhn requested a review from tarun292 as a code owner February 28, 2025 02:41
@huydhn huydhn temporarily deployed to upload-benchmark-results February 28, 2025 03:33 — with GitHub Actions Inactive
@huydhn huydhn temporarily deployed to upload-benchmark-results February 28, 2025 07:02 — with GitHub Actions Inactive
@mergennachin mergennachin self-requested a review February 28, 2025 15:57
@huydhn huydhn merged commit 21aa6ee into main Feb 28, 2025
74 of 75 checks passed
@huydhn huydhn deleted the fail-benchmark-job-when-export-fails branch February 28, 2025 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants