Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

fix bug in 'device' type kvstore #12350

Merged
merged 2 commits into from
Aug 30, 2018
Merged

fix bug in 'device' type kvstore #12350

merged 2 commits into from
Aug 30, 2018

Commits on Aug 25, 2018

  1. fix bug in 'device' type kvstore

    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. 
    ```
    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)
    ```
    solin319 committed Aug 25, 2018
    Configuration menu
    Copy the full SHA
    861000a View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2018

  1. add kv test pull

    solin319 committed Aug 27, 2018
    Configuration menu
    Copy the full SHA
    8c487ce View commit details
    Browse the repository at this point in the history