codeislife99 opened a new issue #7252:
URL: https://github.com/apache/tvm/issues/7252


   `ProducerLoadNode` seems to be included in 
`https://github.com/apache/tvm/blob/main/include/tvm/tir/expr_functor.h#L122` 
yet when I run [this PR](https://github.com/apache/tvm/pull/7249/files) using 
`python3 test_dynamic_op_level3.py` I get the following error: 
   
   ```
     File "test_dynamic_op_level3.py", line 34, in verify_func
       intrp = relay.create_executor(kind, mod=mod, ctx=ctx, target=target)
     File "/home/ubuntu/tvm/python/tvm/relay/build_module.py", line 459, in 
create_executor
       return VMExecutor(mod, ctx, target)
     File "/home/ubuntu/tvm/python/tvm/relay/backend/vm.py", line 258, in 
__init__
       self.executable = compile(mod, target)
     File "/home/ubuntu/tvm/python/tvm/relay/backend/vm.py", line 70, in compile
       compiler.codegen()
     File "/home/ubuntu/tvm/python/tvm/relay/backend/vm.py", line 140, in 
codegen
       self._codegen()
     File "/home/ubuntu/tvm/python/tvm/_ffi/_ctypes/packed_func.py", line 237, 
in __call__
       raise get_last_ffi_error()
   tvm._ffi.base.TVMError: Traceback (most recent call last):
     [bt] (8) 
/home/ubuntu/tvm/build/libtvm.so(tvm::codegen::CodeGenCPU::VisitStmt_(tvm::tir::AssertStmtNode
 const*)+0x374) [0x7f310e6fd254]
     [bt] (7) 
/home/ubuntu/tvm/build/libtvm.so(tvm::codegen::CodeGenLLVM::VisitStmt_(tvm::tir::AssertStmtNode
 const*)+0x76) [0x7f310e710596]
     [bt] (6) /home/ubuntu/tvm/build/libtvm.so(tvm::tir::StmtFunctor<void 
(tvm::tir::Stmt const&)>::VisitStmt(tvm::tir::Stmt const&)+0x7f) 
[0x7f310da8a93f]
     [bt] (5) 
/home/ubuntu/tvm/build/libtvm.so(tvm::codegen::CodeGenCPU::VisitStmt_(tvm::tir::AssertStmtNode
 const*)+0x3d) [0x7f310e6fcf1d]
     [bt] (4) 
/home/ubuntu/tvm/build/libtvm.so(tvm::tir::ExprFunctor<llvm::Value* 
(tvm::PrimExpr const&)>::VisitExpr(tvm::PrimExpr const&)+0x75) [0x7f310e6f4565]
     [bt] (3) 
/home/ubuntu/tvm/build/libtvm.so(tvm::codegen::CodeGenLLVM::VisitExpr_(tvm::tir::EQNode
 const*)+0x28) [0x7f310e712978]
     [bt] (2) 
/home/ubuntu/tvm/build/libtvm.so(tvm::tir::ExprFunctor<llvm::Value* 
(tvm::PrimExpr const&)>::VisitExpr(tvm::PrimExpr const&)+0x75) [0x7f310e6f4565]
     [bt] (1) 
/home/ubuntu/tvm/build/libtvm.so(tvm::tir::ExprFunctor<llvm::Value* 
(tvm::PrimExpr const&)>::VisitExprDefault_(tvm::runtime::Object const*)+0x87) 
[0x7f310e6ed367]
     [bt] (0) /home/ubuntu/tvm/build/libtvm.so(+0x11d8be2) [0x7f310e6ecbe2]
     File "/home/ubuntu/tvm/include/tvm/tir/expr_functor.h", line 155
   TVMError: Do not have a default for tir.ProducerLoad 
   ```


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