-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[ci] Re-balance shards #12473
[ci] Re-balance shards #12473
Conversation
This re-uses some code from the `monitoring/` dir with random modifications (maybe in the future we could de-duplicate these) but for now the code is fairly spaghetti-esque. `determine_shards.py` helps generate content for PRs like apache/tvm#12473
This re-uses some code from the `monitoring/` dir with random modifications (maybe in the future we could de-duplicate these) but for now the code is fairly spaghetti-esque. `determine_shards.py` helps generate content for PRs like apache/tvm#12473
This re-uses some code from the `monitoring/` dir with random modifications (maybe in the future we could de-duplicate these) but for now the code is fairly spaghetti-esque. `determine_shards.py` helps generate content for PRs like apache/tvm#12473
85ee606
to
d480602
Compare
6f85cab
to
088b48a
Compare
The problem with greedy lexing of >> as an operator was solved in C++11, and now templates no longer require spaces between >'s.
if [[ "${TEST_STEP_NAME:-default}" == "frontend: GPU"* ]] || [[ "${TEST_STEP_NAME:-default}" == "test: Hexagon"* ]]; then | ||
DEFAULT_PARALLELISM=1 | ||
fi | ||
DEFAULT_PARALLELISM=1 |
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.
The n=2 wasn't actually being used (the if
below was always failing) and caused some CI issues that should be resolved in a follow up
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.
neat! should we add rebalance instructions to monitoring rotation runbook?
good idea, done in: https://github.com/apache/tvm/wiki/CI-Monitoring-Runbook#test-sharding |
Replace '> >' in templates with >>, NFC (apache#12615) The problem with greedy lexing of >> as an operator was solved in C++11, and now templates no longer require spaces between >'s. Co-authored-by: Krzysztof Parzyszek <[email protected]>
This uses numbers from this script: tlc-pack/ci#51 that determines the number of shards to use given a goal runtime (in this case 60 minutes for tests)
cc @Mousius @areusch @gigiblender