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

   I found a very strange bug about StringImm, like the simple code below can 
reproduce the error.
   
   ```
   terminate called after throwing an instance of 'tvm::runtime::InternalError'
     what():  [11:30:45] xxx/src/runtime/object.cc:150: InternalError: Check 
failed: (tindex < type_table_.size() && type_table_[tindex].allocated_slots != 
0) is false: Unknown type index 8
   Stack trace:
     0: ffi_call
   ```
   
   ### Steps to reproduce
   
   ```python
   from tvm import ir, tir
   
   a = tir.StringImm("global")
   b = tir.Var(a, "int32")
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to