You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/06/15 03:37:07 UTC

[GitHub] coldsheephot commented on issue #11299: row_sparse_pull, push row_sparse gradient is too slow, it has 10+ times difference

coldsheephot commented on issue #11299: row_sparse_pull,push row_sparse gradient is too slow,it has 10+ times difference
URL: https://github.com/apache/incubator-mxnet/issues/11299#issuecomment-397504089
 
 
   and there has another problem:
   when I `delete kv.push(i,a)` is test_row_sparse_pull() function,it needs more time than use push,it is very strange!!
   
   row_sparse push and pull time: 8.14685201645
   <pre>
   def test_row_sparse_pull():
       out = a
       for i in range(100):
           # kv.push(i, a)
           kv.row_sparse_pull(i, out=out, priority=i, row_ids=all_row_ids)
           # out.wait_to_read()
           # mx.base._LIB.MXNDArrayWaitToWrite(a.handle)
       mx.nd.waitall()
   
   </pre>

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