apeforest commented on a change in pull request #17010: [API] unified API for
custom kvstores
URL: https://github.com/apache/incubator-mxnet/pull/17010#discussion_r357856162
##########
File path: python/mxnet/model.py
##########
@@ -155,9 +163,12 @@ def _update_params_on_kvstore(param_arrays, grad_arrays,
kvstore, param_names):
continue
name = param_names[index]
# 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 grad_list[0].stype == 'default' and arg_list[0].stype == 'default':
Review comment:
Where is 'default' defined?
----------------------------------------------------------------
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]
With regards,
Apache Git Services