Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ModelTC/LightLLM
/ is_D
Method
is_D
lightllm/server/pd_io_struct.py:19–20 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
17
PD_MASTER =
"pd_master"
18
19
def
is_D(self):
20
return
self == NodeRole.D
21
22
def
is_P(self):
23
return
self == NodeRole.P
Callers
1
_encode
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected