MCPcopy
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

_encodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected