-
Notifications
You must be signed in to change notification settings - Fork 27.7k
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
Make (TF) CI faster (test only a random subset of model classes) #24592
Conversation
The documentation is not available anymore as the PR was closed or merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not take a random subset but the first two then. To test the base model and a model with head.
Some of the very slow tests (like |
Would it be ok to take the first one (base model) + a random other one with head? |
Also, I looked a bit closer at this PR and I'm actually a bit scared of some of the changes - in particular, |
But that test is not changed, i.e. it doesn't use |
I don't like randomness in tests as it makes them flaky. |
Well, in this situation, I do prefer to keep a random head model.
WDYT if I make changes only to slow tests? |
I very much doubt we will have a failure on a model with head and not the others. With the randomness in the test, you won't be able to reproduce easily (and I don't see the test even printing the model class that failed) so I'd keep things reproducible. This is also on TensorFlow which has very low usage, so I don't think it's worth spending too much time over-engineering something. |
OKOK |
@Rocketknight1 OK for you? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'm happy with this!
What does this PR do?
Daily CI is currently running in 22h30m. @Rocketknight1 might have a way to bring it back to 19-20 hours.
For some tests, let's test only a (random) subset of the model classes 🙏 .
Here is the timing of some very slow tests currently:
and