christopherbate opened a new issue, #217:
URL: https://github.com/apache/tvm-ffi/issues/217
From C, I was invoking a TVM FFI safe_call. One of the TVMFFIAny arguments
had type kDLTensorPtr, but the function expected "Optional<ffi.Tensor>". I got
this error:
```
File "<unknown>", line 0, in __tvm_ffi_run
File "<unknown>", line 0, in TVMFFIGetTypeInfo
File "src/ffi/object.cc", line 192, in tvm::ffi::TypeTable::Entry*
tvm::ffi::TypeTable::GetTypeEntry(int32_t)
InternalError: Check failed: (entry != nullptr) is false: Cannot find type
info for type_index=7
```
It looks like the builtin type `kDLTensorPtr` is missing from registration
here: https://github.com/apache/tvm-ffi/blob/main/src/ffi/object.cc#L333.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]