Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ModelTC/LightLLM
/ read_shm
Function
read_shm
lightllm/server/embed_cache/utils.py:38–41 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
36
37
38
def
read_shm(name):
39
shared_memory = shm.SharedMemory(name=name)
40
data = shared_memory.buf.tobytes()
41
return
data
42
43
44
def
free_shm(name):
Callers
12
encode
Method · 0.90
encode
Method · 0.90
encode
Method · 0.90
encode
Method · 0.90
encode
Method · 0.90
encode
Method · 0.90
context_forward
Method · 0.90
load_image
Method · 0.90
encode
Method · 0.90
encode
Method · 0.90
encode
Method · 0.90
context_forward
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected