OpenDILab RL 对象存储
Decision AI Store
Linux or macOS
Python >= 3.6
pip install .di_store etcd_server ./conf/di_store.yamldi_store node_tracker ./conf/di_store.yamldi_store storage_server ./conf/di_store.yamlfrom di_store import Client
client = Client('./conf/di_store.yaml')
ref = client.put(b'Hello world.')
data = client.get(ref)
print('data:', data)
client.delete(ref)start storage server with group
di_store storage_server ./conf/di_store.yaml --group actoror register group in client
client.register_group('actor')specify prefetch_group when put object
ref = client.put(b'Hello world.', prefetch_group='actor')When an object is put with prefetch_group specified, a background schedule is triggered to spread the object to all nodes corresponding to the group. The following diagram illustrates the data dissemination.
…DI-store released under the Apache 2.0 license.
暂无开放 Issues,或尚未同步最近议题。