Skip to content
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

[OSS CI] Introduce periodic.yml #4348

Closed
wants to merge 7 commits into from

Conversation

kirklandsign
Copy link
Contributor

Move model tests to periodic. Takes too much resources for each PR. Keep MV3 (CNN) and VIT only.

Later, we can migrate Android on-device related tests to periodic.

Move model tests to periodic. Takes too much resources for each PR. Keep MV3 (CNN) and VIT only.
Copy link

pytorch-bot bot commented Jul 22, 2024

🔗 Helpful Links

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

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

⏳ No Failures, 1 Pending

As of commit 29da380 with merge base fd2dccf (image):
💚 Looks good so far! There are no failures yet. 💚

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

@kirklandsign kirklandsign requested a review from huydhn July 22, 2024 22:58
@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 Jul 22, 2024
- cron: 29 8 * * * # about 1:29am PDT, for mem leak check and rerun disabled tests
push:
tags:
- ciflow/periodic/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need to add this into https://github.com/pytorch/executorch/blob/main/.github/pytorch-probot.yml so that the bot can recognize this new tag


on:
schedule:
# We have several schedules so jobs can check github.event.schedule to activate only for a fraction of the runs.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess you copy this schedule from PyTorch periodic. That workflow has several parts that need to be run with different schedules. ET doesn't need that here, so let's keep only one schedule. PyTorch periodic workflow originally started with every 4 hours, maybe that's a good start or it could be a longer period depending on how frequent a new commit lands in ET trunk https://hud.pytorch.org/hud/pytorch/executorch/main

@@ -0,0 +1,67 @@
name: periodic

on:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might want to add

on:
  pull_request:

here just to test the workflow once, then remove the pull_request trigger after before landing. ciflow/periodic won't work on this PR till it's land (chicken and egg issue)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Triggering it one-off

@kirklandsign
Copy link
Contributor Author

@facebook-github-bot
Copy link
Contributor

@kirklandsign has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@@ -4,3 +4,5 @@ ciflow_push_tags:
- ciflow/trunk
- ciflow/binaries
- ciflow/binaries/all
- ciflow/periodic
- ciflow/periodic/all
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: you don't need ciflow/periodic/all, just ciflow/periodic is enough. ciflow/binaries/all is just an outlier, not the norm

@facebook-github-bot
Copy link
Contributor

@kirklandsign has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@kirklandsign has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@kirklandsign has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@kirklandsign merged this pull request in 47d309a.

@guangy10
Copy link
Contributor

@kirklandsign Why moved to periodic directly? Instead of to trunk first. It's hard to notice any failure in a timely manner on those models once moved to periodic.

@kirklandsign
Copy link
Contributor Author

kirklandsign commented Jul 25, 2024

@kirklandsign Why moved to periodic directly? Instead of to trunk first. It's hard to notice any failure in a timely manner on those models once moved to periodic.

They are still in trunk. Just want to try the periodic workflow.

@kirklandsign kirklandsign deleted the add-cronjob branch September 5, 2024 19:05
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. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants