-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
fix the parallel number of CI nodes when it is smaller than number of tests #33276
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
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.
Thanks! Is it possible to document what's happening here somewhere? (ideally in the inline comments).
This looks like it could rapidly grow into something hard to understand
… tests (huggingface#33276) * fix the parallel number * this? * keep it simple * woups * nit * style * fix param name * fix * fix dtype * yups * ??? * ?? * this? * ???? * no default flow style * ?? * print config * ???? * there we go! * documentation * update * remove unwanted file
What does this PR do?
This fixes a bug where the
self.parallel
which defines the number of nodes to run the tests on circle-ci was bigger than the actual number of tests.This caused the
split tests
step to only give 1 test to 1 node, and all tests to other parallel nodes, thus failing them!This is related to the recent #30674.