intheworld opened a new issue #6528:
URL: https://github.com/apache/incubator-tvm/issues/6528


   rust/tvm/examples/resnet
   
   when executing "cargo run", I got an error.
   
   thread 'main' panicked at 'TVMError: Check failed: type_code_ == kDLInt (1 
vs. 0) : expected int but get uint
   Stack trace:
     File "/Users/liushuwei/github/tvm/include/tvm/runtime/packed_func.h", line 
384
     [bt] (0) 1   libtvm.dylib                        0x0000000112b172cf 
dmlc::LogMessageFatal::~LogMessageFatal() + 111
     [bt] (1) 2   libtvm.dylib                        0x0000000112b1ae0f 
tvm::runtime::TVMPODValue_::operator int() const + 287
     [bt] (2) 3   libtvm.dylib                        0x0000000113877f1b 
tvm::runtime::GetAllContext(tvm::runtime::TVMArgs const&) + 155
     [bt] (3) 4   libtvm.dylib                        0x00000001138805fc 
std::__1::__function::__func<tvm::runtime::$_13, 
std::__1::allocator<tvm::runtime::$_13>, void (tvm::runtime::TVMArgs, 
tvm::runtime::TVMRetValue*)>::operator()(tvm::runtime::TVMArgs&&, 
tvm::runtime::TVMRetValue*&&) + 332
     [bt] (4) 5   libtvm.dylib                        0x00000001138198c8 
TVMFuncCall + 72
     [bt] (5) 6   resnet                              0x000000010e9dc464 
tvm_rt::function::Function::invoke::hfe69e632b2f0df87 + 404
     [bt] (6) 7   resnet                              0x000000010e9a5a73 
resnet::main::h68ac0a124ef9f959 + 2483
     [bt] (7) 8   resnet                              0x000000010e9ad9ee 
std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hb6692d05e2d399ab + 14
     [bt] (8) 9   resnet                              0x000000010ec298fd 
std::rt::lang_start_internal::hebefdaa8fd585aef + 461
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to