tkonolige commented on a change in pull request #9901:
URL: https://github.com/apache/tvm/pull/9901#discussion_r785242355
##########
File path: python/tvm/autotvm/measure/measure_methods.py
##########
@@ -150,33 +151,51 @@ def build(self, measure_inputs):
)
else:
- if "InstantiationError" in str(res.error):
- msg = str(res.error)
+ tb, exception = res.error
Review comment:
For `BuildResult` we need to maintain the backtrace separately so that
we can check for it here. And I think we should make `MeasureResult` and
`BuildResult` have the same structure for errors because it is less confusing.
Now tuner.py concatenates the error with the traceback.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]