Add an env var to allow transferring small metadata via TCP for PD (#16951)
This commit is contained in:
@@ -549,7 +549,9 @@ class MooncakeKVManager(CommonKVManager):
|
||||
dst_aux_ptrs: list[int],
|
||||
):
|
||||
# TODO(shangming): Fix me when nvlink_transport of Mooncake is bug-free
|
||||
if self.enable_custom_mem_pool and self.custom_mem_pool_type == "NVLINK":
|
||||
if (
|
||||
self.enable_custom_mem_pool and self.custom_mem_pool_type == "NVLINK"
|
||||
) or envs.SGLANG_MOONCAKE_SEND_AUX_TCP.get():
|
||||
return self.send_aux_tcp(req, prefill_aux_index, dst_aux_ptrs)
|
||||
|
||||
transfer_blocks = []
|
||||
|
||||
Reference in New Issue
Block a user