-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Add fallback for ApplyGraphBest #2485
Conversation
86c5ad1
to
271ecb3
Compare
"A fallback configuration is used, which may bring great performance " \ | ||
"regression." % (target, workload) | ||
logger.warning(msg) | ||
cfg = FallbackConfigEntity() |
There was a problem hiding this comment.
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
271ecb3
to
0641f55
Compare
@merrymercy Modified. |
@merrymercy please feel free to use your committer permission to merge the code as per https://docs.tvm.ai/contribute/committer_guide.html |
Add fallback for ApplyGraphBest to allow using default schedule for dense.
@merrymercy @icemelon9