szha commented on a change in pull request #15452: fix nightly CI failure
URL: https://github.com/apache/incubator-mxnet/pull/15452#discussion_r300763624
 
 

 ##########
 File path: tests/nightly/estimator/test_sentiment_rnn.py
 ##########
 @@ -253,6 +253,8 @@ def test_estimator_gpu(**kwargs):
     test_dataloader = gluon.data.DataLoader(test_set, batch_size)
 
     # Model
+    # using fixed seed to reduce flakiness in accuracy assertion
+    mx.random.seed(7)
 
 Review comment:
   this shouldn't be done here. there's a decorator `with_seed` for this purpose

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