I'm using tvm on Mac OSX.
It builds successfully with the latest tvm source code for libtvm_runtime.dylib.
But when running with the executable binary, the binary aborted abnormally, which says
tvm/src/runtime/registry.cc:57: Check failed: override Global PackedFunc __tvm_set_device is already registered
Stack trace returned 10 entries:
[bt] (0) 0 libtvm.dylib 0x00000001162da176 dmlc::StackTrace() + 246
[bt] (1) 1 libtvm.dylib 0x00000001162d9ffe dmlc::LogMessageFatal::~LogMessageFatal() + 46
[bt] (2) 2 libtvm.dylib 0x00000001167e6bca tvm::runtime::Registry::Register(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, bool) + 250
[bt] (3) 3 libtvm.dylib 0x00000001167daf09 _GLOBAL__sub_I_c_runtime_api.cc + 89
[bt] (4) 4 ??? 0x0000000100164cc8 0x0 + 4296428744
[bt] (5) 5 ??? 0x0000000100164ec6 0x0 + 4296429254
[bt] (6) 6 ??? 0x00000001001600da 0x0 + 4296409306
[bt] (7) 7 ??? 0x000000010016006d 0x0 + 4296409197
[bt] (8) 8 ??? 0x000000010016006d 0x0 + 4296409197
[bt] (9) 9 ??? 0x000000010016006d 0x0 + 4296409197
I've no idea why this kind of error occurs, is there anything wrong when using the tvm shared libraries?
I'm using tvm on Mac OSX.
It builds successfully with the latest tvm source code for libtvm_runtime.dylib.
But when running with the executable binary, the binary aborted abnormally, which says
tvm/src/runtime/registry.cc:57: Check failed: override Global PackedFunc __tvm_set_device is already registered
Stack trace returned 10 entries:
[bt] (0) 0 libtvm.dylib 0x00000001162da176 dmlc::StackTrace() + 246
[bt] (1) 1 libtvm.dylib 0x00000001162d9ffe dmlc::LogMessageFatal::~LogMessageFatal() + 46
[bt] (2) 2 libtvm.dylib 0x00000001167e6bca tvm::runtime::Registry::Register(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, bool) + 250
[bt] (3) 3 libtvm.dylib 0x00000001167daf09 _GLOBAL__sub_I_c_runtime_api.cc + 89
[bt] (4) 4 ??? 0x0000000100164cc8 0x0 + 4296428744
[bt] (5) 5 ??? 0x0000000100164ec6 0x0 + 4296429254
[bt] (6) 6 ??? 0x00000001001600da 0x0 + 4296409306
[bt] (7) 7 ??? 0x000000010016006d 0x0 + 4296409197
[bt] (8) 8 ??? 0x000000010016006d 0x0 + 4296409197
[bt] (9) 9 ??? 0x000000010016006d 0x0 + 4296409197
I've no idea why this kind of error occurs, is there anything wrong when using the tvm shared libraries?