Shpionus opened a new issue #8510:
URL: https://github.com/apache/tvm/issues/8510


   I tested ` Golang Frontend for TVM Runtime` tutorial (tvm/golang/README.md)
   Running of ```./complex``` raise and error:
   
   ```
   $ ./complex 
   TVM Version   : v0.8.dev0
   DLPACK Version: v40
   
   Global Functions:[tvm.graph_executor.create runtime.SystemLib 
runtime.config_threadpool runtime.DumpTypeTable runtime.ObjectPtrHash 
runtime.TVMArrayAllocWithScope runtime.module.loadfile_so 
runtime.ModuleLoadFromFile runtime.GetFFIString runtime.String 
runtime.ModuleGetImport runtime.MapItems runtime.Tuple runtime.Array 
runtime.MapCount runtime.ArraySize runtime.GetShapeTupleSize device_api.cpu 
runtime.GetADTSize runtime.ArrayGetItem runtime.MapSize runtime.ADT 
runtime.GetADTFields runtime.TVMSetStream runtime.GetDeviceAttr 
__tvm_set_device runtime.GetADTTag runtime.MapGetItem runtime.Map 
runtime.LoadParams runtime.ShapeTuple runtime.ModuleSaveToFile 
runtime.GetShapeTupleElem runtime.RuntimeEnabled runtime.SaveParams 
runtime.ModuleGetSource runtime.ModuleImportsSize runtime.ModuleGetTypeKey]
   Module Imported:0xc000018140
   Calling tvm.graph_executor.create
   Graph executor Created
   Input and Output Arrays allocated
   Func load_params:0xc000018138
   Module params loaded
   Module input is set
   Module Executed 
   TVMError: 
   ---------------------------------------------------------------
   An error occurred during the execution of TVM.
   For more information, please see: https://tvm.apache.org/docs/errors.html
   ---------------------------------------------------------------
   
     Check failed: data->shape[j] == data_out->shape[j] (1001 vs. 1000) : 
   Stack trace:
     File 
"/mnt/store/Projects/tools/tvm/golang/..//src/runtime/graph_executor/graph_executor.cc",
 line 189
     [bt] (0) ./complex(tvm::runtime::Backtrace[abi:cxx11]()+0x31) [0x58e688]
     [bt] (1) ./complex(tvm::runtime::detail::LogFatal::Entry::Finalize()+0x46) 
[0x5b0834]
     [bt] (2) ./complex(tvm::runtime::detail::LogFatal::~LogFatal()+0x32) 
[0x5b06d4]
     [bt] (3) ./complex(tvm::runtime::GraphExecutor::CopyOutputTo(int, 
DLTensor*)+0x404) [0x5952c0]
     [bt] (4) ./complex() [0x598c80]
     [bt] (5) ./complex() [0x5a06c1]
     [bt] (6) ./complex(std::function<void (tvm::runtime::TVMArgs, 
tvm::runtime::TVMRetValue*)>::operator()(tvm::runtime::TVMArgs, 
tvm::runtime::TVMRetValue*) const+0x5a) [0x5cb6a6]
     [bt] (7) 
./complex(tvm::runtime::PackedFunc::CallPacked(tvm::runtime::TVMArgs, 
tvm::runtime::TVMRetValue*) const+0x30) [0x5ba9c6]
     [bt] (8) ./complex(TVMFuncCall+0x95) [0x586f3f]
   ```
   
   


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


Reply via email to