when I import tvm, got the same error.

terminate called after throwing an instance of 'dmlc::Error'
  what():  [13:28:06] /data/mmzhu/software/tvm_project/tvm/src/ir/op.cc:45: 
Check failed: reg != nullptr: Operator annotation.stop_fusion is not registered
Stack trace:
  [bt] (0) 
/data/mmzhu/software/tvm_project/tvm/build/libtvm.so(dmlc::LogMessageFatal::~LogMessageFatal()+0x4d)
 [0x7fca2f415eed]
  [bt] (1) 
/data/mmzhu/software/tvm_project/tvm/build/libtvm.so(tvm::Op::Get(tvm::runtime::String
 const&)+0x138) [0x7fca2f529348]
  [bt] (2) /data/mmzhu/software/tvm_project/tvm/build/libtvm.so(+0x8c1d56) 
[0x7fca2f396d56]
  [bt] (3) /data/mmzhu/software/tvm_project/tvm/build/libtvm.so(+0x2b6fee6) 
[0x7fca31644ee6]

**what's the problem? thx.**

------------------------------------------------------------------------------
PS:package installation process:

gcc 5.5.0
LLVM 9.0.0
anoconda python 3.6.8

LLVM:
1.download package
llvm-9.0.0.src.tar.xz   cfe-9.0.0.src.tar.xz。
2.
cd /data/mmzhu/software
mkdir llvm_project
3.
cd llvm_project
tar -xvf llvm-9.0.0.src.tar.xz
trr -xvf cfe-9.0.0.src.tar.xz
4.
rename cfe-9.0.0 to clang,then
mv clang llvm/tools/
5.
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="X86;ARM;AArch64" 
../llvm
make -j4

TVM: installation process as same as 
offical:https://docs.tvm.ai/install/from_source.html 
1.
git clone --recursive https://github.com/apache/incubator-tvm tvm
2.
cd /your/path/to/tvm/
mkdir build
cp cmake/config.cmake build
3.fix config.cmake
set(USE_LLVM /data/mmzhu/software/llvm_project/build/bin/llvm-config)
4.
cd build
cmake ..
make -j4
5.add path
vim .bashrc
export TVM_HOME=/data/mmzhu/software/tvm_project/tvm/build550/
export PYTHONPATH=$TVM_HOME/python:$TVM_HOME/topi/python:${PYTHONPATH}
source .bashrc
--------------------------------------------------------------------





---
[Visit 
Topic](https://discuss.tvm.ai/t/terminate-called-after-throwing-an-instance-of-dmlc-error/3040/8)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/70901668b412c5fd97cd9422da8ebd9c3064f9021dd6f2b0ce6a75d1b6eb2c6a).

Reply via email to