aiblackmaner opened a new issue #6742:
URL: https://github.com/apache/incubator-tvm/issues/6742
Hi, when I used C + + in Ubuntu 16 to load my resnet-18 model of auto tuning
on the python side, I used
**TVM:: Runtime:: module Mod_ lib =
tvm::runtime::Module::LoadFromFile("…/params/deploy_ lib.so ")**
; an exception was thrown: undefined reference to TVM:: Runtime:: module::
loadfromfile (STD::__ cxx11::basic_ string<char, std::char_ traits<char>,
std::allocator<char> > const&, std::__ cxx11::basic_ string<char, std::char_
traits<char>, std::allocator<char> > const&)' When I add: add_definitions(-D_
GLIBCXX_ USE_ CXX11_ ABI = 0) to my cmake file, another exception is thrown:
undefined reference to TVM:: Runtime:: module:: loadfromfile (STD:: String
const & and STD:: String const &) ’ Is there anyone who has any suggestions for
my mistake? It’s a little difficult to learn TVM for the first time. I use the
environment: ubuntu16.04, gcc5.4, thanks a lot!
----------------------------------------------------------------
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]