You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/07/27 09:39:38 UTC

[GitHub] [tvm] chengven027-intellif opened a new issue, #12198: [Bug] [scatterND] large shape will get a Segmentation fault in x86

chengven027-intellif opened a new issue, #12198:
URL: https://github.com/apache/tvm/issues/12198

   I do a test with scatterND:
   ```
   def test_scatternd():
       def before():
           data = relay.const(np.zeros((1, 900, 300), dtype="float32"), dtype="float32")
           indices = relay.const(np.ones((3, 1, 900, 300), dtype="int64"), dtype="int64")
           update = relay.const(np.ones((1, 900, 300), dtype="float32"), dtype="float32")
           b = relay.op.scatter_nd(data, indices, update)
           return relay.Function(relay.analysis.free_vars(b), b)
   
       passes = tvm.transform.Sequential(
           [
               relay.transform.InferType(),
               relay.transform.FoldConstant(),
           ]
       )
   
       before_mod = tvm.IRModule.from_expr(before())
       with tvm.transform.PassContext(opt_level=3):
           after_mod = passes(before_mod)
   ```
   I found if the shape is (1, 900, 200), the after_mod  will success execute.  and if I use the shape of (1, 900, 300). I will get a Segmentation fault.
   
   


-- 
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-unsubscribe@tvm.apache.org.apache.org

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


[GitHub] [tvm] chengven027-intellif commented on issue #12198: [Bug] [scatterND] large shape will get a Segmentation fault in x86

Posted by GitBox <gi...@apache.org>.
chengven027-intellif commented on issue #12198:
URL: https://github.com/apache/tvm/issues/12198#issuecomment-1197550935

   close.  #12200  to follow this iisue.


-- 
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-unsubscribe@tvm.apache.org

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


[GitHub] [tvm] chengven027-intellif closed issue #12198: [Bug] [scatterND] large shape will get a Segmentation fault in x86

Posted by GitBox <gi...@apache.org>.
chengven027-intellif closed issue #12198: [Bug] [scatterND] large shape will get a Segmentation fault in x86
URL: https://github.com/apache/tvm/issues/12198


-- 
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-unsubscribe@tvm.apache.org

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