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

TVMC: Don't divide trials by zero tasks #10164

Merged
merged 1 commit into from Feb 6, 2022

Conversation

mkroening
Copy link
Contributor

Fixes #9657.

If there are no tasks to tune, the number of trails are meaningless.

@mkroening
Copy link
Contributor Author

@leandron @comaniac @junrushao1994, could you review this? :)

Copy link
Contributor

@leandron leandron left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @mkroening! Happy yo have this merged once CI is green.

@leandron
Copy link
Contributor

leandron commented Feb 4, 2022

@mkroening you'll need to trigger CI again, as it crashed with something that is not related to your PR, AFAIK.

If there are no tasks to tune, the number of trails is meaningless.
@mkroening
Copy link
Contributor Author

@leandron, after two more tries, CI is green now.

@leandron leandron merged commit 774df1d into apache:main Feb 6, 2022
@leandron
Copy link
Contributor

leandron commented Feb 6, 2022

Thanks @mkroening, this is merged now!

@mkroening mkroening deleted the tvmc-no-tasks branch February 6, 2022 16:19
ylc pushed a commit to ylc/tvm that referenced this pull request Feb 16, 2022
If there are no tasks to tune, the number of trails is meaningless.

Co-authored-by: Martin Kröning <martin.kroening@neclab.eu>
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] [TVMC] tune: ZeroDivisionError on Add
2 participants