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/01/21 05:12:02 UTC

[GitHub] [incubator-tvm] geekboood opened a new issue #4754: autotvm extract tasks from BERT model cause segmentation fault

geekboood opened a new issue #4754: autotvm extract tasks from BERT model cause segmentation fault
URL: https://github.com/apache/incubator-tvm/issues/4754
 
 
   Hi, I try to tune the matmul op in BERT model, but I encountered segmentation fault when I run the following line
   `tasks = autotvm.task.extract_from_program(sym["main"], target=target, params=params, ops=(relay.op.nn.batch_matmul,))`
   And using gdb it shows following message
   `#0  0x00007fffe73872cf in tvm::relay::ExprFunctor<void (tvm::RelayExpr const&)>::VisitExpr(tvm::RelayExpr const&) () from /media/disk/DL/tvm/build/libtvm.so
   #1  0x00007fffe751e2ab in tvm::relay::ExprVisitor::VisitExpr(tvm::RelayExpr const&) () from /media/disk/DL/tvm/build/libtvm.so
   #2  0x00007fffe74755ea in tvm::relay::WellFormedChecker::VisitExpr(tvm::RelayExpr const&) () from /media/disk/DL/tvm/build/libtvm.so
   #3  0x00007fffe751aee0 in tvm::relay::ExprVisitor::VisitExpr_(tvm::relay::CallNode const*) () from /media/disk/DL/tvm/build/libtvm.so
   #4  0x00007fffe73872a2 in tvm::relay::ExprFunctor<void (tvm::RelayExpr const&)>::VisitExpr(tvm::RelayExpr const&) () from /media/disk/DL/tvm/build/libtvm.so
   #5  0x00007fffe751e2ab in tvm::relay::ExprVisitor::VisitExpr(tvm::RelayExpr const&) () from /media/disk/DL/tvm/build/libtvm.so
   #6  0x00007fffe747654e in tvm::relay::WellFormedChecker::VisitExpr_(tvm::relay::FunctionNode const*) () from /media/disk/DL/tvm/build/libtvm.so
   #7  0x00007fffe73872a2 in tvm::relay::ExprFunctor<void (tvm::RelayExpr const&)>::VisitExpr(tvm::RelayExpr const&) () from /media/disk/DL/tvm/build/libtvm.so
   #8  0x00007fffe751e2ab in tvm::relay::ExprVisitor::VisitExpr(tvm::RelayExpr const&) () from /media/disk/DL/tvm/build/libtvm.so
   #9  0x00007fffe74755ea in tvm::relay::WellFormedChecker::VisitExpr(tvm::RelayExpr const&) () from /media/disk/DL/tvm/build/libtvm.so
   #10 0x00007fffe751aee0 in tvm::relay::ExprVisitor::VisitExpr_(tvm::relay::CallNode const*) () from /media/disk/DL/tvm/build/libtvm.so`
   I also see that this repo `https://github.com/icemelon9/bert-benchmark` provides the autotvm log for matmul on AVX2.0, so although the author didn't provide the code, tuning BERT should not have problem. 

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [incubator-tvm] tqchen closed issue #4754: autotvm extract tasks from BERT model cause segmentation fault

Posted by GitBox <gi...@apache.org>.
tqchen closed issue #4754: autotvm extract tasks from BERT model cause segmentation fault
URL: https://github.com/apache/incubator-tvm/issues/4754
 
 
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [incubator-tvm] tqchen commented on issue #4754: autotvm extract tasks from BERT model cause segmentation fault

Posted by GitBox <gi...@apache.org>.
tqchen commented on issue #4754: autotvm extract tasks from BERT model cause segmentation fault
URL: https://github.com/apache/incubator-tvm/issues/4754#issuecomment-576524395
 
 
   Thanks for reporting the problem, Please open a new trouble shooting thread on https://discuss.tvm.ai/:)

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [incubator-tvm] geekboood commented on issue #4754: autotvm extract tasks from BERT model cause segmentation fault

Posted by GitBox <gi...@apache.org>.
geekboood commented on issue #4754: autotvm extract tasks from BERT model cause segmentation fault
URL: https://github.com/apache/incubator-tvm/issues/4754#issuecomment-576525856
 
 
   @tqchen OK, I have posted it on the forum. 

----------------------------------------------------------------
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


With regards,
Apache Git Services