CNevd commented on a change in pull request #7082: Sparse Tensor: request for 
reviews
URL: https://github.com/apache/incubator-mxnet/pull/7082#discussion_r133614687
 
 

 ##########
 File path: python/mxnet/model.py
 ##########
 @@ -113,25 +127,36 @@ def _update_params_on_kvstore(param_arrays, grad_arrays, 
kvstore, param_names):
         # push gradient, priority is negative index
         kvstore.push(name, grad_list, priority=-index)
         # pull back the weights
-        kvstore.pull(name, arg_list, priority=-index)
+        if _contains_non_default_storage(arg_list):
 
 Review comment:
   Can we just skip the row_sparse weights and pull the dense weights normally 
or any other prettier way to do this?
 
----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to