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

 ##########
 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:
   if arg_list contains both row_sparse and dense weights, it will skip all the 
arg_list?
 
----------------------------------------------------------------
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