Skip to content

Conversation

@junrushao
Copy link
Member

This PR introduces some cleanups on the stacktraces in TVM's error message by removing the meaningless frames, for example, C++ template dispatch with std::enable_if.

@tvm-bot
Copy link
Collaborator

tvm-bot commented Jun 27, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

@junrushao junrushao marked this pull request as ready for review June 27, 2023 05:04
}
[[noreturn]] TVM_NO_INLINE dmlc::Error Finalize() {
InternalError error(file_, lineno_, stream_.str());
#if DMLC_LOG_BEFORE_THROW
Copy link
Member

Choose a reason for hiding this comment

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

keep LOG_BEFORE_THROW guard as it is useful for windows

@tqchen
Copy link
Member

tqchen commented Jun 27, 2023

one minor nit

This PR introduces some cleanups on the stacktraces in TVM's error message by removing the meaningless frames, for example, C++ template dispatch with `std::enable_if`.
@junrushao junrushao force-pushed the feature/2023-06-26/clean-stacktrace branch from cbfb8b1 to ff2c059 Compare June 27, 2023 14:29
@vinx13 vinx13 merged commit b9c76f5 into apache:main Jun 27, 2023
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.

4 participants