Pagey opened a new issue #16011: integer overflow bug in large NDArray AGAIN URL: https://github.com/apache/incubator-mxnet/issues/16011 ## Description a bug that has been fixed last year [https://github.com/apache/incubator-mxnet/pull/11742](url) seems to have returned- when creating large NDArrays indexes seem to overflow ## Environment info (Required) windows, version 1.6 ## Error Message: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Program Files\Python36\lib\site-packages\mxnet-1.6.0-py3.6.egg\mxnet\ndarray\ndarray.py", line 194, in __repr__ return '\n%s\n<%s %s @%s>' % (str(self.asnumpy()), File "C:\Program Files\Python36\lib\site-packages\mxnet-1.6.0-py3.6.egg\mxnet\ndarray\ndarray.py", line 2092, in asnumpy ctypes.c_size_t(data.size))) File "C:\Program Files\Python36\lib\site-packages\mxnet-1.6.0-py3.6.egg\mxnet\base.py", line 253, in check_call raise MXNetError(py_str(_LIB.MXGetLastError())) mxnet.base.MXNetError: [13:27:53] C:\Jenkins\workspace\mxnet\mxnet\src\ndarray\ndarray_function.cc:51: Check failed: size == to->Size() (57032704 vs. 4352000000) : copying size mismatch, from: 228130816 bytes, to: 17408000000 bytes. ## Minimum reproducible example print(mx.nd.zeros(shape=(34000000,128))) (from one of the issues it appeared in) ## Steps to reproduce see MRE ## What have you tried to solve it? 1. build from April 11 2019 seems not to have this issue, so was probably added later
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
