Hi all, I saw some error types marked as “TVMError” and others labeled as “InternalError”. I’m very curious about the difference between them.
It largely indicates whether the error was thrown from one of TVM’s assertion/logging macros (e.g. CHECK
, ICHECK
, and LOG(FATAL)
), or whether it is an explicit error type representing a known failure mode. The former use InternalError
, while the latter will typically make some other subclass of TVMError
.