Skip to content

Commit 0afd218

Browse files
committed
fix unreachable
Signed-off-by: Will Eaton <weaton@redhat.com>
1 parent 662d0f6 commit 0afd218

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,7 @@ class KVConnectorMetadata:
113113
Abstract Metadata used to communicate between the
114114
Scheduler KVConnector and Worker KVConnector.
115115
"""
116-
117-
def __init__(self):
118-
pass
116+
pass
119117

120118

121119
class KVConnectorHandshakeMetadata(

vllm/v1/worker/gpu_worker.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,6 @@ def get_kv_connector_handshake_metadata(self) -> Optional[dict]:
254254
dp_rank = self.vllm_config.parallel_config.data_parallel_rank_local
255255
return {tp_rank: {dp_rank: msgspec.to_builtins(metadata)}}
256256

257-
return None
258-
259257
def get_kv_cache_spec(self) -> dict[str, KVCacheSpec]:
260258
return self.model_runner.get_kv_cache_spec()
261259

0 commit comments

Comments
 (0)