Skip to content

Commit d8cf4de

Browse files
author
Weichao Luo
committed
fixup.
1 parent 7671d13 commit d8cf4de

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • lightllm/server/httpserver_for_pd_master

lightllm/server/httpserver_for_pd_master/manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,10 +451,10 @@ def register_pd(self, pd_info_json, websocket):
451451
pd_client.websocket = websocket
452452
self.url_to_pd_nodes[pd_client.client_ip_port] = pd_client
453453

454-
if pd_client.mode == "prefill":
454+
if pd_client.mode in ["prefill", "nixl_prefill"]:
455455
self.prefill_nodes = [e for e in self.prefill_nodes if e.client_ip_port != pd_client.client_ip_port]
456456
self.prefill_nodes.append(pd_client)
457-
elif pd_client.mode == "decode":
457+
elif pd_client.mode in ["decode", "nixl_decode"]:
458458
self.decode_nodes = [e for e in self.decode_nodes if e.client_ip_port != pd_client.client_ip_port]
459459
self.decode_nodes.append(pd_client)
460460
else:

0 commit comments

Comments
 (0)