diff --git a/vllm/engine/llm_engine.py b/vllm/engine/llm_engine.py index acb419b55725f..85f520871cd9e 100644 --- a/vllm/engine/llm_engine.py +++ b/vllm/engine/llm_engine.py @@ -209,7 +209,7 @@ def _init_workers_ray(self, placement_group: "PlacementGroup", worker.set_cuda_visible_devices.remote(node_gpus[node_id]) distributed_init_method = get_distributed_init_method( - driver_ip, get_open_port) + driver_ip, get_open_port()) # Lazy import the Worker to avoid importing torch.cuda/xformers # before CUDA_VISIBLE_DEVICES is set in the Worker