You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/06/05 20:35:12 UTC

[GitHub] [incubator-tvm] aGiant commented on issue #5709: tvm/apps/bundle_deploy/build --> make failed

aGiant commented on issue #5709:
URL: https://github.com/apache/incubator-tvm/issues/5709#issuecomment-639798666


   @tqchen 
   it worked on Intel CPU Ubuntu 18.04 LTS
   Now, we tried for arm cpu under armbian got error:
   
   compiled with tvm.target.arm_cpu('pynq') in build_model.py
   
   gcc -shared -Wall -std=c99 -O2 -fPIC -I/home/pi/incubator-tvm/include -I/home/pi/incubator-tvm/3rdparty/dmlc-core/include -I/home/pi/incubator-tvm/3rdparty/dlpack/include -fvisibility=hidden -o build/bundle_c.so  bundle.c runtime.c build/model.o -pthread
   TVM_NUM_THREADS=1 build/demo_dynamic build/bundle.so build/cat.bin
   terminate called after throwing an instance of 'dmlc::Error'
     what():  [20:29:01] ../../src/runtime/graph/graph_runtime.cc:377: Check failed: pf != nullptr: no such function in module: fused_layout_transform_22
   Stack trace:
     [bt] (0) build/bundle.so(+0xda16) [0xb6c19a16]
     [bt] (1) build/bundle.so(tvm::runtime::GraphRuntime::CreateTVMOp(tvm::runtime::TVMOpParam const&, std::vector<DLTensor, std::allocator<DLTensor> > const&, unsigned int)+0x42d) [0xb6c1e1d6]
     [bt] (2) build/bundle.so(tvm::runtime::GraphRuntime::SetupOpExecs()+0x305) [0xb6c24a5e]
     [bt] (3) build/bundle.so(tvm::runtime::GraphRuntime::Init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, tvm::runtime::Module, std::vector<DLContext, std::allocator<DLContext> > const&)+0x13b) [0xb6c24d80]
     [bt] (4) build/bundle.so(+0x18f26) [0xb6c24f26]
     [bt] (5) build/bundle.so(+0x19088) [0xb6c25088]
     [bt] (6) build/bundle.so(tvm_runtime_create+0x12f) [0xb6c17d4c]
     [bt] (7) build/demo_dynamic(+0x994) [0x42f994]
     [bt] (8) /lib/arm-linux-gnueabihf/libc.so.6(__libc_start_main+0x99) [0xb6d33fe6]
   


----------------------------------------------------------------
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:
users@infra.apache.org