This is one of the errors from the code produced by compiling TVM’s LLVM output. It looks like you are most likely corrupting the DLTensor pointer in some way.
int32(arg0.shape[0]) == 33554432, this part is complaining that the first dimension of the first argument’s shape is wrong.
What are the dimensions of the tensor before you pass it in? and what is the expected shape of the operator?
Those are the expected dimensions, a flat vector of that size 2**25. How can I print out the value stored at int32(arg0.shape[0])?
As a debug point the deleters are not being called before the exception is raised, so the corruption might be happening from a misuse of NDArray::FromDLPack