stu1130 opened a new pull request #15116: Reenable two flaky test on Windows
URL: https://github.com/apache/incubator-mxnet/pull/15116
 
 
   ## Description ##
   Fixes #15004
   Fixes #13600
   My environment: `Windows 2016 Server with CUDA 10.0 + cuDNN 7.5 + MKLDNN`
   I could not reproduce the error using latest master(commit: 
31438583d72dcd72bedb6e83a0884f53a9a8fe37) 
   
   test_l2_normalization
   ```
   C:\incubator-mxnet\tests\python\unittest>nosetests --logging-level=DEBUG 
--verbose -s test_operator.py:test_l2_normalization 
   [INFO] Setting module np/mx/python random seeds, use 
MXNET_MODULE_SEED=683236958 to reproduce. 
   [WARNING] *** test-level seed set: all "@with_seed()" tests run 
deterministically *** 
   test_operator.test_l2_normalization ... [INFO] Setting test np/mx/python 
random seeds, use MXNET_TEST_SEED=1163638589 to reproduce. 
   ok 
   
   ---------------------------------------------------------------------- 
   Ran 1 test in 2.281s 
   
   OK 
   ```
   I ran 10k times
   ```
   [DEBUG] 9985 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=812676407 to reproduce. 
   [DEBUG] 9986 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=2025796828 to reproduce. 
   [DEBUG] 9987 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=2101832288 to reproduce. 
   [DEBUG] 9988 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=445269518 to reproduce. 
   [DEBUG] 9989 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=905315198 to reproduce. 
   [DEBUG] 9990 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=771148112 to reproduce. 
   [DEBUG] 9991 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=46635746 to reproduce. 
   [DEBUG] 9992 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=1900954078 to reproduce. 
   [DEBUG] 9993 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=1151837497 to reproduce. 
   [DEBUG] 9994 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=333260159 to reproduce. 
   [DEBUG] 9995 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=918969863 to reproduce. 
   [DEBUG] 9996 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=795988550 to reproduce. 
   [DEBUG] 9997 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=812630738 to reproduce. 
   [DEBUG] 9998 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=205564357 to reproduce. 
   [DEBUG] 9999 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=1744386769 to reproduce. 
   [DEBUG] 10000 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=950060972 to reproduce. 
   ok 
   
   ---------------------------------------------------------------------- 
   Ran 1 test in 22706.649s 
   
   OK 
   ```
   
   test_softmin
   ```
   1. C:\incubator-mxnet\tests\python\unittest>nosetests --logging-level=DEBUG 
--verbose -s test_operator.py:test_softmin
   [INFO] Setting module np/mx/python random seeds, use 
MXNET_MODULE_SEED=114386306 to reproduce.
   [WARNING] *** test-level seed set: all "@with_seed()" tests run 
deterministically ***
   test_operator.test_softmin ... [INFO] Setting test np/mx/python random 
seeds, use MXNET_TEST_SEED=350762988 to reproduce.
   [17:51:49] c:\incubator-mxnet\src\operator\../common/utils.h:450: 
MXNET_SAFE_ACCUMULATION=1 is recommended for softmax with float16 inputs. See 
https://mxnet.incubator.apache.org/versions/master/faq/env_var.html for more 
details.
   ok
   
   ----------------------------------------------------------------------
   Ran 1 test in 0.234s
   
   OK
   
   2. C:\incubator-mxnet\tests\python\unittest>nosetests --logging-level=DEBUG 
--verbose -s test_operator.py:test_softmin
   [INFO] Setting module np/mx/python random seeds, use 
MXNET_MODULE_SEED=855097121 to reproduce.
   [WARNING] *** test-level seed set: all "@with_seed()" tests run 
deterministically ***
   test_operator.test_softmin ... [INFO] Setting test np/mx/python random 
seeds, use MXNET_TEST_SEED=872415515 to reproduce.
   [17:53:50] c:\incubator-mxnet\src\operator\../common/utils.h:450: 
MXNET_SAFE_ACCUMULATION=1 is recommended for softmax with float16 inputs. See 
https://mxnet.incubator.apache.org/versions/master/faq/env_var.html for more 
details.
   ok
   
   ----------------------------------------------------------------------
   Ran 1 test in 0.281s
   
   OK
   
   3. 
   C:\incubator-mxnet\tests\python\unittest>nosetests --logging-level=DEBUG 
--verbose -s test_operator.py:test_softmin
   [INFO] Setting module np/mx/python random seeds, use 
MXNET_MODULE_SEED=1589347991 to reproduce.
   [WARNING] *** test-level seed set: all "@with_seed()" tests run 
deterministically ***
   test_operator.test_softmin ... [INFO] Setting test np/mx/python random 
seeds, use MXNET_TEST_SEED=644753921 to reproduce.
   [17:54:53] c:\incubator-mxnet\src\operator\../common/utils.h:450: 
MXNET_SAFE_ACCUMULATION=1 is recommended for softmax with float16 inputs. See 
https://mxnet.incubator.apache.org/versions/master/faq/env_var.html for more 
details.
   ok
   
   ----------------------------------------------------------------------
   Ran 1 test in 0.172s
   
   OK
   ```
   and I ran 10k times
   ```
   [DEBUG] 9984 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=599685539 to reproduce.
   [DEBUG] 9985 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=1665226214 to reproduce.
   [DEBUG] 9986 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=1114501375 to reproduce.
   [DEBUG] 9987 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=1971865213 to reproduce.
   [DEBUG] 9988 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=950058536 to reproduce.
   [DEBUG] 9989 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=924354158 to reproduce.
   [DEBUG] 9990 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=1184172882 to reproduce.
   [DEBUG] 9991 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=101999963 to reproduce.
   [DEBUG] 9992 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=1243690743 to reproduce.
   [DEBUG] 9993 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=1696032781 to reproduce.
   [DEBUG] 9994 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=1869141094 to reproduce.
   [DEBUG] 9995 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=353658520 to reproduce.
   [DEBUG] 9996 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=353012484 to reproduce.
   [DEBUG] 9997 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=765072115 to reproduce.
   [DEBUG] 9998 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=1216702949 to reproduce.
   [DEBUG] 9999 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=678578924 to reproduce.
   [DEBUG] 10000 of 10000: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=169040545 to reproduce.
   ok
   
   ----------------------------------------------------------------------
   Ran 1 test in 1491.462s
   
   OK
   ```
   
   
   
   ## Checklist ##
   ### Essentials ###
   Please feel free to remove inapplicable items for your PR.
   - [x] Changes are complete (i.e. I finished coding on this PR)
   - [x] All changes have test coverage:
   - Unit tests are added for small changes to verify correctness (e.g. adding 
a new operator)
   - Nightly tests are added for complicated/long-running ones (e.g. changing 
distributed kvstore)
   - Build tests will be added for build configuration changes (e.g. adding a 
new build option with NCCL)
   - [x] To the my best knowledge, examples are either not affected by this 
change, or have been fixed to be compatible with this change
   
   ### Changes ###
   @perdasilva 
   
   ## Comments ##
   
   

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


With regards,
Apache Git Services

Reply via email to