venkatesha2411 opened a new issue, #13057:
URL: https://github.com/apache/tvm/issues/13057

   Facing problem with compiling the model.
   
   from tvm.driver import tvmc
   
   #basic config
   target = "llvm -mcpu=znver2"
   device = "cpu"
   do_tuning = True
   
   #load the model
   model = tvmc.load('model-small.onnx')
   
   #apply autotuning to improve performance
   if do_tuning:
     log_file = "logs.json"
     tvmc.tune(model, target = "llvm", tuning_records = log_file, 
enable_autoscheduler = True)
   else:
     log_file = None
   
   #Compile
   package = tvmc.compile(model, target= "llvm", tuning_records = log_file)
   
   Error:
    File "/workspace/tvm/src/tir/ir/data_layout.cc", line 424
   TVMError: 
   ---------------------------------------------------------------
   An error occurred during the execution of TVM.
   For more information, please see: https://tvm.apache.org/docs/errors.html
   ---------------------------------------------------------------
     Check failed: (GetStoreRule(&n->index_backward_rule, 
&n->shape_backward_rule, n->dst_layout, n->src_layout)) is false: 


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

To unsubscribe, e-mail: commits-unsubscr...@tvm.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to