ChaiBapchya commented on a change in pull request #17410: skipping flaky tests 
randint,log_softmax for large tensor. Added python gc to teardown.
URL: https://github.com/apache/incubator-mxnet/pull/17410#discussion_r369862370
 
 

 ##########
 File path: tests/python/unittest/common.py
 ##########
 @@ -308,6 +309,7 @@ def teardown():
     It waits for all operations in one file to finish before carrying on the 
next.
     """
     mx.nd.waitall()
+    gc.collect()
 
 Review comment:
   Have played with teardown multiple times before.
   Learnt only 1 thing : MXNet Memory Management would be a great project :p 

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