Skip to content

[Hexagon] Reduce the number of tests run for VTCM testing in order to…#12783

Merged
driazati merged 2 commits intoapache:mainfrom
nverke:faster_hexagon_tests
Sep 16, 2022
Merged

[Hexagon] Reduce the number of tests run for VTCM testing in order to…#12783
driazati merged 2 commits intoapache:mainfrom
nverke:faster_hexagon_tests

Conversation

@nverke
Copy link
Contributor

@nverke nverke commented Sep 14, 2022

… speedup CI.

Thanks for contributing to TVM! Please refer to guideline https://tvm.apache.org/docs/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers by @ them in the pull request thread.

cc @mehrdadh @driazati

@nverke nverke marked this pull request as ready for review September 14, 2022 21:03
timer = module.time_evaluator("__tvm_main__", hexagon_session.device, number=100, repeat=10)

# These are reduced for CI but number=100 and repeat=10 does a good job of removing noise.
number = 1
Copy link
Member

Choose a reason for hiding this comment

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

you could also condition these so they're reduced only in CI (tvm.testing.utils.IS_IN_CI is a flag thats only True when CI runs the tests)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ooooh I will use this from now on thats super useful!

Copy link
Member

@driazati driazati left a comment

Choose a reason for hiding this comment

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

runtime is back around 2 hours so looks good for the goal of reducing runtime

@driazati driazati merged commit 43d9a3b into apache:main Sep 16, 2022
xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
apache#12783)

[Hexagon] Reduce the number of tests run for VTCM testing in order to speedup CI.
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