Skip to content

Commit dc7fb5b

Browse files
QierLiQier Li
andauthored
[Bug][KVConnector][Metrics] Remove a vacuous assertion breaking external-launcher (#30577)
Co-authored-by: Qier Li <[email protected]>
1 parent 24429d5 commit dc7fb5b

File tree

1 file changed

+0
-3
lines changed
  • vllm/distributed/kv_transfer/kv_connector/v1

1 file changed

+0
-3
lines changed

vllm/distributed/kv_transfer/kv_connector/v1/metrics.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
from vllm.config import KVTransferConfig, VllmConfig
99
from vllm.distributed.kv_transfer.kv_connector.factory import KVConnectorFactory
10-
from vllm.distributed.kv_transfer.kv_transfer_state import has_kv_transfer_group
1110
from vllm.logger import init_logger
1211

1312
PromMetric: TypeAlias = Gauge | Counter | Histogram
@@ -53,8 +52,6 @@ def is_empty(self) -> bool:
5352

5453
class KVConnectorLogging:
5554
def __init__(self, kv_transfer_config: KVTransferConfig | None):
56-
# This should be called on frontend process.
57-
assert not has_kv_transfer_group()
5855
# Instantiate the connector's stats class.
5956
if kv_transfer_config and kv_transfer_config.kv_connector:
6057
self.connector_cls = KVConnectorFactory.get_connector_class(

0 commit comments

Comments
 (0)