Skip to content

Handle existing directory when extracting benchmark result #7171

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 1 commit into from
Dec 4, 2024

Conversation

huydhn
Copy link
Contributor

@huydhn huydhn commented Dec 4, 2024

I made a mistake in #7117 and didn't handle the case where the output directory already exists. This happens when there are multiple models to test and the upload job handles all of them in one go, for example https://github.com/pytorch/executorch/actions/runs/12151259880/job/33888145249#step:7:55

Testing

https://github.com/pytorch/executorch/actions/runs/12155146995 with 2 models running in parallel to confirm that an existing output directory is handled correctly.

Copy link

pytorch-bot bot commented Dec 4, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 11b562e with merge base ac8bf78 (image):
💚 Looks good so far! There are no failures yet. 💚

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 Dec 4, 2024
@huydhn huydhn temporarily deployed to upload-benchmark-results December 4, 2024 08:18 — with GitHub Actions Inactive
@huydhn huydhn merged commit 37d8267 into main Dec 4, 2024
50 of 52 checks passed
@huydhn huydhn deleted the fix-existing-dir-error-handle branch December 4, 2024 20:00
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.

4 participants