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

Add fallback for ApplyGraphBest #2485

Merged
merged 1 commit into from
Feb 1, 2019

Conversation

kevinthesun
Copy link
Contributor

Add fallback for ApplyGraphBest to allow using default schedule for dense.

@merrymercy @icemelon9

@kevinthesun kevinthesun force-pushed the FixApplyGraphBestForDense branch from 86c5ad1 to 271ecb3 Compare January 23, 2019 21:44
"A fallback configuration is used, which may bring great performance " \
"regression." % (target, workload)
logger.warning(msg)
cfg = FallbackConfigEntity()
Copy link
Member

Choose a reason for hiding this comment

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

We can store this config in self._global_cfg_dict as we do in https://github.com/dmlc/tvm/blob/271ecb31a01e2b05d87e0c759bec42032d2d10d0/python/tvm/autotvm/task/dispatcher.py#L367-L369. So all latter changes and querys will be directed to this config.

Then we don't need the changes in the topi/python/topi/x86/nn.py

@kevinthesun kevinthesun force-pushed the FixApplyGraphBestForDense branch from 271ecb3 to 0641f55 Compare January 28, 2019 20:50
@kevinthesun
Copy link
Contributor Author

@merrymercy Modified.

@tqchen
Copy link
Member

tqchen commented Jan 31, 2019

@merrymercy please feel free to use your committer permission to merge the code as per https://docs.tvm.ai/contribute/committer_guide.html

@merrymercy merrymercy merged commit b63182e into apache:master Feb 1, 2019
libing4752 pushed a commit to libing4752/tvm that referenced this pull request Feb 18, 2019
merrymercy pushed a commit to merrymercy/tvm that referenced this pull request Feb 18, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Feb 20, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Feb 20, 2019
@yzhliu yzhliu mentioned this pull request Mar 2, 2019
28 tasks
@kevinthesun kevinthesun deleted the FixApplyGraphBestForDense branch May 28, 2019 23:19
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.

3 participants