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/09/01 05:22:51 UTC
[GitHub] [incubator-tvm] tmoreau89 commented on pull request #6195: [FoldConstant] Create Interpreter for each constant subgraph
tmoreau89 commented on pull request #6195:
URL: https://github.com/apache/incubator-tvm/pull/6195#issuecomment-684299537
Interestingly this PR seems to have introduced a bug in the VTA image classification example: https://github.com/apache/incubator-tvm/commits/master/vta/tutorials/frontend/deploy_classification.py
To reproduce you can go back to `d892881c4cc8c9a29bc03233aeac2b1532a9c6891` and the test passes.
Edit the config.cmake lines to run the VTA simulator:
```
echo 'set(USE_VTA_FSIM ON)' >> config.cmake
echo 'set(USE_LLVM llvm-config-10)' >> config.cmake
```
Go to `3684a51728e929576c93ff9887ac23e1b51582de` (this PR), and the test fails with the following stack trace:
```
Stack trace:
[bt] (0) 1 libmxnet.so 0x000000011a0e92b0 mxnet::Storage::Get() + 4880
[bt] (1) 2 libsystem_platform.dylib 0x00007fff690495fd _sigtramp + 29
[bt] (2) 3 libvta_fsim.dylib 0x0000000136ad14d0 _ZZN4dmlc16ThreadLocalStoreIN3tvm7runtime16VTAWorkspacePoolEE3GetEvE4inst$tlv$init + 0
[bt] (3) 4 ??? 0x0000000137dd1494 0x0 + 5232202900
[bt] (4) 5 libtvm.dylib 0x0000000131d09f3c tvm::relay::Interpreter::InvokePrimitiveOp(tvm::relay::Function const&, tvm::runtime::Array<tvm::runtime::ObjectRef, void> const&) + 3516
[bt] (5) 6 libtvm.dylib 0x0000000131d0824b tvm::relay::Interpreter::Invoke(tvm::relay::InterpreterClosure const&, tvm::runtime::Array<tvm::runtime::ObjectRef, void> const&, tvm::relay::Var const&) + 171
[bt] (6) 7 libtvm.dylib 0x0000000131d03481 tvm::relay::Interpreter::VisitExpr_(tvm::relay::CallNode const*) + 961
[bt] (7) 8 libtvm.dylib 0x0000000131d070f8 tvm::relay::ExprFunctor<tvm::runtime::ObjectRef (tvm::RelayExpr const&)>::InitVTable()::'lambda4'(tvm::runtime::ObjectRef const&, tvm::relay::ExprFunctor<tvm::runtime::ObjectRef (tvm::RelayExpr const&)>*)::__invoke(tvm::runtime::ObjectRef const&, tvm::relay::ExprFunctor<tvm::runtime::ObjectRef (tvm::RelayExpr const&)>*) + 24
[bt] (8) 9 libtvm.dylib 0x0000000131d05aaf tvm::NodeFunctor<tvm::runtime::ObjectRef (tvm::runtime::ObjectRef const&, tvm::relay::ExprFunctor<tvm::runtime::ObjectRef (tvm::RelayExpr const&)>*)>::operator()(tvm::runtime::ObjectRef const&, tvm::relay::ExprFunctor<tvm::runtime::ObjectRef (tvm::RelayExpr const&)>*) const + 255
Stack trace:
[bt] (0) 1 libmxnet.so 0x000000011a0e92b0 mxnet::Storage::Get() + 4880
[bt] (1) 2 libsystem_platform.dylib 0x00007fff690495fd _sigtramp + 29
[bt] (2) 3 ??? 0x0000000000000012 0x0 + 18
[bt] (3) 4 libtvm.dylib 0x0000000131e652ee void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, tvm::runtime::threading::ThreadGroup::Impl::Impl(int, std::__1::function<void (int)>, bool)::'lambda'()> >(void*) + 62
[bt] (4) 5 libsystem_pthread.dylib 0x00007fff69055109 _pthread_start + 148
[bt] (5) 6 libsystem_pthread.dylib 0x00007fff69050b8b thread_start + 15
Stack trace:
[bt] (0) 1 libmxnet.so 0x000000011a0e92b0 mxnet::Storage::Get() + 4880
[bt] (1) 2 libsystem_platform.dylib 0x00007fff690495fd _sigtramp + 29
[bt] (2) 3 ??? 0x0000000000000012 0x0 + 18
[bt] (3) 4 libtvm.dylib 0x0000000131e652ee void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, tvm::runtime::threading::ThreadGroup::Impl::Impl(int, std::__1::function<void (int)>, bool)::'lambda'()> >(void*) + 62
[bt] (4) 5 libsystem_pthread.dylib 0x00007fff69055109 _pthread_start + 148
[bt] (5) 6 libsystem_pthread.dylib 0x00007fff69050b8b thread_start + 15
Stack trace:
[bt] (0) 1 libmxnet.so 0x000000011a0e92b0 mxnet::Storage::Get() + 4880
[bt] (1) 2 libsystem_platform.dylib 0x00007fff690495fd _sigtramp + 29
[bt] (2) 3 ??? 0x0000000000000012 0x0 + 18
[bt] (3) 4 libtvm.dylib 0x0000000131e652ee void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, tvm::runtime::threading::ThreadGroup::Impl::Impl(int, std::__1::function<void (int)>, bool)::'lambda'()> >(void*) + 62
[bt] (4) 5 libsystem_pthread.dylib 0x00007fff69055109 _pthread_start + 148
[bt] (5) 6 libsystem_pthread.dylib 0x00007fff69050b8b thread_start + 15
```
----------------------------------------------------------------
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