```
======================================================================
FAIL: test_ndarray.test_ndarray_elementwise
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Anaconda3\envs\py3\lib\site-packages\nose\case.py", line 197, in
runTest
self.test(*self.arg)
File
"C:\jenkins_slave\workspace\ut-python-cpu@2\tests\python\unittest\common.py",
line 172, in test_new
orig_test(*args, **kwargs)
File
"C:\jenkins_slave\workspace\ut-python-cpu@2\tests\python\unittest\test_ndarray.py",
line 133, in test_ndarray_elementwise
check_with_uniform(lambda x, y: x / y, 2, dim, type_list=real_type)
File
"C:\jenkins_slave\workspace\ut-python-cpu@2\tests\python\unittest\test_ndarray.py",
line 59, in check_with_uniform
assert_almost_equal(out1, out2, rtol=2e-3)
File
"C:\jenkins_slave\workspace\ut-python-cpu@2\windows_package\python\mxnet\test_utils.py",
line 491, in assert_almost_equal
raise AssertionError(msg)
AssertionError:
Items are not equal:
Error inf exceeds tolerance rtol=0.002000, atol=0.000000. Location of maximum
error:(58,), a=-0.000009, b=-0.000009
a: array([-1.75488281, 0.16320801, -1.10449219, ..., 2. ,
-0.9921875 , 0.08856201], dtype=float16)
b: array([-1.75488281, 0.16333008, -1.10449219, ..., 2. ,
-0.9921875 , 0.08862305], dtype=float16)
-------------------- >> begin captured logging << --------------------
common: INFO: Setting test np/mx/python random seeds, use
MXNET_TEST_SEED=1627488533 to reproduce.
--------------------- >> end captured logging << ---------------------
```
>From the error log it seems like there's actually no big difference between
>reference and actual result, should be a tolerance problem (atol is 1e-20 from
>the log), submitting a hot fix.
[ Full content available at:
https://github.com/apache/incubator-mxnet/issues/12312 ]
This message was relayed via gitbox.apache.org for [email protected]