feat: add data parallel rank to KVEventBatch (#18925)
This commit is contained in:
@@ -80,7 +80,9 @@ class Scheduler(SchedulerInterface):
|
||||
config=self.vllm_config, role=KVConnectorRole.SCHEDULER)
|
||||
|
||||
self.kv_event_publisher = EventPublisherFactory.create(
|
||||
self.kv_events_config)
|
||||
self.kv_events_config,
|
||||
vllm_config.parallel_config.data_parallel_rank,
|
||||
)
|
||||
|
||||
num_gpu_blocks = self.cache_config.num_gpu_blocks
|
||||
assert num_gpu_blocks is not None and num_gpu_blocks > 0
|
||||
|
||||
Reference in New Issue
Block a user