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

[AutoTVM][Ansor] Enable random fill and CPU cache flush for AutoTVM and Ansor #6391

Merged
merged 6 commits into from Sep 8, 2020

Conversation

FrozenGene
Copy link
Member

Follow up #5913 and #5914 , enable AutoTVM / Ansor support random fill and CPU cache flush to get preciser measurement.

@merrymercy @jcf94

python/tvm/auto_scheduler/measure.py Outdated Show resolved Hide resolved
Copy link
Contributor

@comaniac comaniac left a comment

Choose a reason for hiding this comment

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

LGTM. Just some missed places from @merrymercy's comment.

python/tvm/auto_scheduler/measure.py Outdated Show resolved Hide resolved
python/tvm/autotvm/measure/measure_methods.py Outdated Show resolved Hide resolved
Copy link
Contributor

@jcf94 jcf94 left a comment

Choose a reason for hiding this comment

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

Fine to me.

@merrymercy merrymercy merged commit 84fa626 into apache:master Sep 8, 2020
@FrozenGene FrozenGene deleted the ansor_pr branch September 9, 2020 03:16
kevinthesun pushed a commit to kevinthesun/tvm that referenced this pull request Sep 17, 2020
…nd Ansor (apache#6391)

* [AutoTVM][Ansor] Enable random fill and CPU cache flush for AutoTVM and Ansor

* Trigger CI

* add assert check of random fill function

* remove duplicate tvm.get_global_func

* Add check random_fill exists on remote devices

* solve pylint
kevinthesun pushed a commit to kevinthesun/tvm that referenced this pull request Sep 18, 2020
…nd Ansor (apache#6391)

* [AutoTVM][Ansor] Enable random fill and CPU cache flush for AutoTVM and Ansor

* Trigger CI

* add assert check of random fill function

* remove duplicate tvm.get_global_func

* Add check random_fill exists on remote devices

* solve pylint
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Sep 18, 2020
…nd Ansor (apache#6391)

* [AutoTVM][Ansor] Enable random fill and CPU cache flush for AutoTVM and Ansor

* Trigger CI

* add assert check of random fill function

* remove duplicate tvm.get_global_func

* Add check random_fill exists on remote devices

* solve pylint
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.

None yet

4 participants