Leslie-Fang opened a new issue #6140:
URL: https://github.com/apache/incubator-tvm/issues/6140


   TVM 0.7.1[36a0bf94cf93c5d4b067ae4359b8807ae2dde2d2] 
   Failed to run the unit test in 
https://github.com/apache/incubator-tvm/blob/959cff1c786e0eb33b99007be66de61d2275d7a5/tests/python/frontend/tensorflow/test_forward.py#L3943
   
   The test will pass if I use the default `vm` mode 
https://github.com/apache/incubator-tvm/blob/959cff1c786e0eb33b99007be66de61d2275d7a5/tests/python/frontend/tensorflow/test_forward.py#L2418
   
   However, if I change the mode to `graph_runtime`, the `relay.build` will 
failed with error message:
   ```
   tvm._ffi.base.TVMError: Traceback (most recent call last):
     [bt] (8) 
/home/tvm/tvm/build/libtvm.so(tvm::relay::StorageAllocaInit::VisitExpr_(tvm::relay::CallNode
 const*)+0x94) [0x7fd83c6a88a4]
     [bt] (7) 
/home/tvm/tvm/build/libtvm.so(tvm::relay::ExprVisitor::VisitExpr(tvm::RelayExpr 
const&)+0x7b) [0x7fd83c72ba3b]
     [bt] (6) /home/tvm/tvm/build/libtvm.so(tvm::relay::ExprFunctor<void 
(tvm::RelayExpr const&)>::VisitExpr(tvm::RelayExpr const&)+0x5b) 
[0x7fd83c6ed65b]
     [bt] (5) 
/home/tvm/tvm/build/libtvm.so(tvm::relay::StorageAllocaInit::VisitExpr_(tvm::relay::CallNode
 const*)+0x94) [0x7fd83c6a88a4]
     [bt] (4) 
/home/tvm/tvm/build/libtvm.so(tvm::relay::ExprVisitor::VisitExpr(tvm::RelayExpr 
const&)+0x7b) [0x7fd83c72ba3b]
     [bt] (3) /home/tvm/tvm/build/libtvm.so(tvm::relay::ExprFunctor<void 
(tvm::RelayExpr const&)>::VisitExpr(tvm::RelayExpr const&)+0x5b) 
[0x7fd83c6ed65b]
     [bt] (2) 
/home/tvm/tvm/build/libtvm.so(tvm::relay::StorageAllocaInit::VisitExpr_(tvm::relay::CallNode
 const*)+0x1e) [0x7fd83c6a882e]
     [bt] (1) 
/home/tvm/tvm/build/libtvm.so(tvm::relay::StorageAllocaInit::CreateToken(tvm::RelayExprNode
 const*, bool)+0x61e) [0x7fd83c6a816e]
     [bt] (0) /home/tvm/tvm/build/libtvm.so(+0x268a567) [0x7fd83c6a6567]
     File "/home/tvm/tvm/src/relay/backend/graph_plan_memory.cc", line 160
   TVMError: Check failed: ttype:
   
   ```
   


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


Reply via email to