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

[ci] Re-balance shards #12473

Merged
merged 1 commit into from
Sep 7, 2022
Merged

[ci] Re-balance shards #12473

merged 1 commit into from
Sep 7, 2022

Conversation

driazati
Copy link
Member

@driazati driazati commented Aug 17, 2022

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

@github-actions
Copy link
Contributor

Built docs for commit 08eada1 can be found here.

driazati added a commit to tlc-pack/ci that referenced this pull request Aug 23, 2022
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
driazati added a commit to tlc-pack/ci that referenced this pull request Aug 23, 2022
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
driazati added a commit to tlc-pack/ci that referenced this pull request Aug 23, 2022
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
@driazati driazati force-pushed the reblance2 branch 2 times, most recently from 85ee606 to d480602 Compare August 26, 2022 21:20
@driazati driazati marked this pull request as ready for review August 26, 2022 21:22
@driazati driazati marked this pull request as draft August 27, 2022 06:23
@github-actions github-actions bot requested review from Mousius and areusch August 29, 2022 22:22
@driazati driazati force-pushed the reblance2 branch 4 times, most recently from 6f85cab to 088b48a Compare September 6, 2022 18:36
The problem with greedy lexing of >> as an operator was solved in
C++11, and now templates no longer require spaces between >'s.
@driazati driazati marked this pull request as ready for review September 6, 2022 20:37
if [[ "${TEST_STEP_NAME:-default}" == "frontend: GPU"* ]] || [[ "${TEST_STEP_NAME:-default}" == "test: Hexagon"* ]]; then
DEFAULT_PARALLELISM=1
fi
DEFAULT_PARALLELISM=1
Copy link
Member Author

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

Copy link
Contributor

@areusch areusch left a 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?

@areusch areusch merged commit 546a7da into apache:main Sep 7, 2022
@driazati
Copy link
Member Author

driazati commented Sep 7, 2022

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

xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants