You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/07/17 22:37:10 UTC

[GitHub] [incubator-mxnet] leezu opened a new issue #17810: GraphExecutor + Numpy + Dynamic shape crash

leezu opened a new issue #17810:
URL: https://github.com/apache/incubator-mxnet/issues/17810


   ## Description
   There seem to be some issues with GraphExecutor + Numpy + Dynamic shape. Consider the example below, which leads to a crash if `mx.npx.set_np()` is present and works fine if `mx.npx.set_np()` is removed.
   
   ### Error Message
   `mxnet.base.MXNetError: MXNetError: Error in operator reshape1: Shape inconsistent, Provided = [0], inferred shape=[9]`
   
   ## To Reproduce
   ``` python
   import mxnet as mx
   mx.npx.set_np()
   a = mx.sym.np.arange(10)
   sym = mx.sym.np.flatnonzero(a)
   print(sym.bind(mx.cpu(), args={}).forward())
   ```
   
   This happens on master.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-mxnet] leezu commented on issue #17810: GraphExecutor + Numpy + Dynamic shape crash

Posted by GitBox <gi...@apache.org>.
leezu commented on issue #17810:
URL: https://github.com/apache/incubator-mxnet/issues/17810#issuecomment-660298253


   GraphExecutor was removed


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-mxnet] szha commented on issue #17810: GraphExecutor + Numpy + Dynamic shape crash

Posted by GitBox <gi...@apache.org>.
szha commented on issue #17810:
URL: https://github.com/apache/incubator-mxnet/issues/17810#issuecomment-660366181


   This is still a valid combination on 1.7


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-mxnet] leezu closed issue #17810: GraphExecutor + Numpy + Dynamic shape crash

Posted by GitBox <gi...@apache.org>.
leezu closed issue #17810:
URL: https://github.com/apache/incubator-mxnet/issues/17810


   


----------------------------------------------------------------
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:
users@infra.apache.org