Skip to content

Conversation

@tkonolige
Copy link
Contributor

Autotvm was implicitly ignoring opt_level when extracting tasks because pass opt_level is a thread local variable and extraction happens in a new thread. Not having opt_level 3 causes alter op layout to not fire, which in turn prevents tuning from finding all possible kernels.

@masahi @junrushao1994 @merrymercy

Autotvm was implicitly ignoring opt_level when extracting tasks because
pass opt_level is a thread local variable and extraction happens in a
new thread. Not having opt_level 3 causes alter op layout to not
fire, which in turn prevents tuning from finding all possible kernels.
@masahi masahi merged commit 187aeb5 into apache:main Feb 1, 2022
anwang2009 added a commit to anwang2009/incubator-tvm that referenced this pull request Feb 4, 2022
ylc pushed a commit to ylc/tvm that referenced this pull request Feb 16, 2022
* [AUTOTVM] Use opt level 3 when extracting tasks

Autotvm was implicitly ignoring opt_level when extracting tasks because
pass opt_level is a thread local variable and extraction happens in a
new thread. Not having opt_level 3 causes alter op layout to not
fire, which in turn prevents tuning from finding all possible kernels.

* disable alter op layout
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