solin319 opened a new pull request #12350: fix bug in 'device' type kvstore
URL: https://github.com/apache/incubator-mxnet/pull/12350
 
 
   When we init a key after another key pushed. This key has no merged_buf_ in 
file 'comm.h', but the inited_ is true. So it can't pull this new key. The code 
below will make error.
   ```
   import mxnet as mx
   a=mx.nd.array([1,2,3], ctx=mx.gpu(0))
   b=mx.nd.array([0,0,0], ctx=mx.gpu(0))
   kv=mx.kv.create('device')
   kv.init('1', a)
   kv.push('1', [a,a,a,a])
   kv.pull('1', b)
   kv.init('2', a)
   kv.pull('2', b)
   ```
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to