r3stl355 opened a new issue #19790:
URL: https://github.com/apache/incubator-mxnet/issues/19790


   ## Description
   Test `test_gluon_rnn.test_rnn_layers_fp16` is currently attributed with 
`@pytest.mark.skipif(mx.context.num_gpus() == 0, reason="RNN FP16 only 
implemented for GPU for now")` but this is ignored if `nose` is used to run 
tests resulting in failed test. Documentation shows most of the test being 
executed using `nose`.
   
   ## Occurrences
   Occurs on Mac but could equally happen in other environments without GPU. 
Currently only spotted in `test_gluon_rnn.test_rnn_layers_fp16` but could exist 
in other tests
   
   
   ## Solution
   
   Replace with `@unittest.skipIf(mx.context.num_gpus() == 0, reason="RNN FP16 
only implemented for GPU for now")` which works both for `nose` and `pytest`
   


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to