Skip to content

Commit 2e03c78

Browse files
committed
fix.
1 parent 671351d commit 2e03c78

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

lightllm/server/pd_io_struct.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,9 @@ def to_llm_url(self):
5151
class PD_Master_Obj:
5252
node_id: int
5353
host_ip_port: str
54-
55-
def __post_init__(self):
56-
if not self.host_ip_port or not self.node_id:
57-
error_info = f"host_ip_port must be set"
58-
logger.error(error_info)
59-
raise ValueError(error_info)
60-
return
6154

6255
def to_log_str(self):
63-
return f"PD_MASTER host_ip_port: {self.host_ip_port}"
56+
return f"PD_MASTER host_ip_port: {self.host_ip_port} node_id: {self.node_id}"
6457

6558
@dataclass
6659
class UpKVStatus:

0 commit comments

Comments
 (0)