ChaiBapchya opened a new issue #16172: Flaky randint large vector 
URL: https://github.com/apache/incubator-mxnet/issues/16172
 
 
   `test_large_vector.test_ndarray_random_randint` fails the assertion
   ```
   assert (a >= low).all()  and (a < high).all()
   ```
   
   because only 1 value in the entire 4.3bn vector is outside the bounds (>= 
low and <high)
   at that index, garbage value seems to be assigned
   
   Tried it multiple times, failed for following seeds
   For seed *MXNET_TEST_SEED**=**278341920*
   ```
   (Pdb) p np.where(a<low)
   (array([2641572060]),)
   (Pdb) p  np.where(a>=high)
   (array([], dtype=int64),)
   (Pdb) p a[2641572060]
   -4012640295
   ```
   
   For seed **MXNET_TEST_SEED=65322548**
   ``` 
   (Pdb) p np.where(a<low) 
   (array([3303987565]),) 
   (Pdb) p np.where(a>=high) 
   (array([], dtype=int64),) 
   (Pdb) p a[3303987565] 
   -2345151068
   ```
   
   MXNET_TEST_SEED=180664123
   ```
   (Pdb) p np.where(a<low)
   (array([4298679960]),)
   (Pdb) p a[4298679960]
   -3002281203
   (Pdb) p np.where(a>=high)
   (array([], dtype=int64),)
   ```
   
   Built with `USE_INT64_TENSOR_SIZE=ON`
   Test with
   ```
   $ MXNET_TEST_COUNT=1 nosetests --logging-level=DEBUG --verbose -s 
tests/nightly/test_large_vector.py:test_ndarray_random_randint
   ```

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

Reply via email to