MCPcopy Index your code
hub / github.com/InternLM/lmdeploy / put

Method put

lmdeploy/pytorch/engine/engine_instance.py:79–84  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

77 self._data = {}
78
79 def put(self, data):
80 import ray
81 ref = ray.put(data)
82 key = ref.hex()
83 self._data[key] = ref
84 return key
85
86 def get(self, key):
87 import ray

Callers 8

_sync_respMethod · 0.45
_inferMethod · 0.45
update_paramsMethod · 0.45
forward_asyncMethod · 0.45
allocateMethod · 0.45
update_phy_mapMethod · 0.45
process_requestMethod · 0.45
parallel_embFunction · 0.45

Calls

no outgoing calls

Tested by 1

parallel_embFunction · 0.36