Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_resp
Method · 0.45
_infer
Method · 0.45
update_params
Method · 0.45
forward_async
Method · 0.45
allocate
Method · 0.45
update_phy_map
Method · 0.45
process_request
Method · 0.45
parallel_emb
Function · 0.45
Calls
no outgoing calls
Tested by
1
parallel_emb
Function · 0.36