From c9c503b508dc7e3ee2a1ec0693bc87077753dc22 Mon Sep 17 00:00:00 2001 From: lucast2021 Date: Fri, 20 Dec 2024 19:40:35 -0800 Subject: [PATCH] trying to restore commit history Signed-off-by: lucast2021 --- vllm/executor/ray_gpu_executor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vllm/executor/ray_gpu_executor.py b/vllm/executor/ray_gpu_executor.py index 0adcf65ec4686..61d00b0c349af 100644 --- a/vllm/executor/ray_gpu_executor.py +++ b/vllm/executor/ray_gpu_executor.py @@ -197,7 +197,7 @@ def sort_by_driver_then_worker_ip(worker): self.workers = sorted(self.workers, key=sort_by_driver_then_worker_ip) # Get the set of GPU IDs used on each node. - worker_node_and_gpu_ids: List[Tuple[str, List[Union[int, str]]]] = [] + worker_node_and_gpu_ids = [] for worker in [self.driver_dummy_worker] + self.workers: if worker is None: # driver_dummy_worker can be None when using ray spmd worker.