MCPcopy Create free account
hub / github.com/dmlc/dgl / process_request

Method process_request

python/dgl/distributed/kvstore.py:487–495  ·  view source on GitHub ↗
(self, server_state)

Source from the content-addressed store, hash-verified

485 self.name = state
486
487 def process_request(self, server_state):
488 kv_store = server_state.kv_store
489 if self.name not in kv_store.data_store:
490 raise RuntimeError(
491 "KVServer Cannot find data tensor with name: %s" % self.name
492 )
493 data_shape = F.shape(kv_store.data_store[self.name])
494 res = GetPartShapeResponse(data_shape)
495 return res
496
497
498SEND_META_TO_BACKUP = 901239

Callers

nothing calls this directly

Calls 2

shapeMethod · 0.45

Tested by

no test coverage detected