MCPcopy
hub / github.com/ModelTC/LightLLM / is_P_or_NORMAL

Method is_P_or_NORMAL

lightllm/server/pd_io_struct.py:28–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26 return self == NodeRole.NORMAL
27
28 def is_P_or_NORMAL(self):
29 return (self == NodeRole.P) or (self == NodeRole.NORMAL)
30
31 def is_P_or_D(self):
32 return (self == NodeRole.P) or (self == NodeRole.D)

Callers 4

generateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected