Skip to content

Conversation

@zxybazh
Copy link
Member

@zxybazh zxybazh commented Nov 1, 2022

This PR introduces a new argument for EvolutionarySearch that limites the failures (defined as rounds of no new generated candidate) in the SampleInitPopulation stage. In this way we can avoid the task to be hanging forever in special cases, e.g., some postproc always fails. This should fix #12330.

@tvm-bot
Copy link
Collaborator

tvm-bot commented Nov 1, 2022

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

@zxybazh zxybazh marked this pull request as ready for review November 1, 2022 03:23
@zxybazh zxybazh force-pushed the bugfix/2022-10-31/avoid-init-population-hanging branch from c4a8af3 to 2225339 Compare November 1, 2022 03:25
@zxybazh zxybazh force-pushed the bugfix/2022-10-31/avoid-init-population-hanging branch from 2225339 to b8f8a8b Compare November 1, 2022 03:28
@zxybazh
Copy link
Member Author

zxybazh commented Nov 1, 2022

CC @junrushao @vinx13

@junrushao junrushao merged commit 1d1db35 into apache:main Nov 3, 2022
xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 10, 2022
This PR introduces a new argument for EvolutionarySearch that limits the failures (defined as rounds of no new generated candidate) in the `SampleInitPopulation` stage. In this way we can avoid the task to be hanging forever in special cases, e.g., some postproc always fails. This should fix apache#12330.
xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
This PR introduces a new argument for EvolutionarySearch that limits the failures (defined as rounds of no new generated candidate) in the `SampleInitPopulation` stage. In this way we can avoid the task to be hanging forever in special cases, e.g., some postproc always fails. This should fix apache#12330.
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.

[Bug][Metaschedule] Tuning trial hanging after one task

4 participants