szha commented on a change in pull request #14946: Change 
mx.test_utils.list_gpus to mx.context.num_gpus where possible
URL: https://github.com/apache/incubator-mxnet/pull/14946#discussion_r286710833
 
 

 ##########
 File path: python/mxnet/test_utils.py
 ##########
 @@ -1434,16 +1434,6 @@ def check_consistency(sym, ctx_list, scale=1.0, 
grad_req='write',
 
     return gt
 
-def list_gpus():
 
 Review comment:
   searching for `"test_utils.list_gpus"` yields some 2000 results on google, 
which is a lot for something that has "no usages". deleting it would be 
breaking them.

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