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

   ### Actual behavior
   
   ```
   [16:49:04] /software/tvm-lunder/src/runtime/logging.cc:390: TVM_LOG_DEBUG 
enables VLOG statements in 'ir/transform.cc' up to level 1
   [16:49:04] /software/tvm-lunder/src/runtime/logging.cc:390: TVM_LOG_DEBUG 
enables VLOG statements in 'relay/ir/transform.cc' up to level 1
   Segmentation fault (core dumped)
   ```
   
   
   ### Steps to reproduce
   
   ```
   from tvm.script import ir as I
   from tvm.script import tir as T
   from tvm.script import relax as R
   
   @I.ir_module
   class Module:
       @T.prim_func(private=True)
       def multiply_by_two(A: T.Buffer((16,), "float32")):
           for i in range(16):
               A[i] = A[i] * T.float32(2)
   
       @R.function
       def main(A: R.Tensor((16,), dtype="float32")) -> R.Tensor((16,), 
dtype="float32"):
           cls = Module
           args: R.Tuple(R.Tensor((16,), dtype="float32")) = (A,)
           gv1: R.Tensor((16,), dtype="float32") = 
R.call_tir_inplace(cls.multiply_by_two, args, out_sinfo=R.Tensor((16,), 
dtype="float32"), inplace_indices=[0])
           return gv1
   m = Module
   ```
   
   
   cc @Lunderberg @junrushao 


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