You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/08/02 04:54:27 UTC

[GitHub] szha commented on issue #7293: test_gluon_rnn.test_rnn_cells hang

szha commented on issue #7293: test_gluon_rnn.test_rnn_cells hang
URL: https://github.com/apache/incubator-mxnet/issues/7293#issuecomment-319567087
 
 
   It indeed takes a lot longer for `nosetests -v unittest` to run through `test_gluon_rnn.test_rnn_cells` than for `nosetests -v unittest/test_gluon_rnn.py`. I have the same experience running it on my laptop.
   
   The codes that this test is stuck at is the first invocation of the following function:
   ```
   def check_rnn_forward(layer, inputs):
       layer.collect_params().initialize()
       with mx.autograd.record():
           layer.unroll(3, inputs, merge_outputs=True)[0].backward()
           mx.autograd.backward(layer.unroll(3, inputs, merge_outputs=False)[0])
       mx.nd.waitall()
   ```
   By printing my way through the codes, it seems to be stuck at `mx.nd.waitall()` after it successfully exits the autograd.record(). I'm at a loss. @piiswrong what's your guess?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services