[Misc] Remove stale func in KVTransferConfig (#14746)

Signed-off-by: Shangming Cai <caishangming@linux.alibaba.com>
This commit is contained in:
shangmingc 2025-03-29 01:33:32 +08:00 committed by GitHub
parent c6bc0034d0
commit d03308be0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2986,12 +2986,6 @@ class KVTransferConfig(BaseModel):
return self.kv_connector is not None and \
self.kv_role in ["kv_producer", "kv_consumer", "kv_both"]
@property
def need_kv_parallel_group(self) -> bool:
# for those database-based connector, vLLM does not need to create
# parallel group, and in that case the kv parallel size will be 1.
return self.kv_connector is not None and self.kv_parallel_size > 1
@property
def is_kv_producer(self) -> bool:
return self.kv_connector is not None and \