From 5182f2705be914bd986c3f2ba68737be78b3b8da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stellar=E9=B1=BC?= <2182712990@qq.com> Date: Sat, 29 Aug 2026 11:53:04 +0800 Subject: [PATCH] [CI/Build] Use file rendezvous for UniProc loader fixtures (#52367) Signed-off-by: yu-xin-c <2182712990@qq.com> --- .../model_loader/runai_streamer_loader/conftest.py | 4 ++-- .../model_executor/model_loader/tensorizer_loader/conftest.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/model_executor/model_loader/runai_streamer_loader/conftest.py b/tests/model_executor/model_loader/runai_streamer_loader/conftest.py index bad9dea1bf..82e6801244 100644 --- a/tests/model_executor/model_loader/runai_streamer_loader/conftest.py +++ b/tests/model_executor/model_loader/runai_streamer_loader/conftest.py @@ -1,7 +1,7 @@ # SPDX-License-Identifier: Apache-2.0 # SPDX-FileCopyrightText: Copyright contributors to the vLLM project -from vllm.utils.network_utils import get_distributed_init_method, get_ip, get_open_port +from vllm.utils.network_utils import get_file_store_init_method from vllm.v1.executor import UniProcExecutor from vllm.v1.worker.worker_base import WorkerWrapperBase @@ -11,7 +11,7 @@ from vllm.v1.worker.worker_base import WorkerWrapperBase # The worker process reimports the patched entities, and the patch is not applied. class RunaiDummyExecutor(UniProcExecutor): def _init_executor(self) -> None: - distributed_init_method = get_distributed_init_method(get_ip(), get_open_port()) + distributed_init_method = get_file_store_init_method() local_rank = 0 rank = 0 diff --git a/tests/model_executor/model_loader/tensorizer_loader/conftest.py b/tests/model_executor/model_loader/tensorizer_loader/conftest.py index 051890e89a..8c5cba50bc 100644 --- a/tests/model_executor/model_loader/tensorizer_loader/conftest.py +++ b/tests/model_executor/model_loader/tensorizer_loader/conftest.py @@ -8,7 +8,7 @@ from vllm import LLM, EngineArgs from vllm.distributed import cleanup_dist_env_and_memory from vllm.model_executor.model_loader import tensorizer as tensorizer_mod from vllm.model_executor.model_loader.tensorizer import TensorizerConfig -from vllm.utils.network_utils import get_distributed_init_method, get_ip, get_open_port +from vllm.utils.network_utils import get_file_store_init_method from vllm.v1.executor import UniProcExecutor from vllm.v1.worker.worker_base import WorkerWrapperBase @@ -68,7 +68,7 @@ class DummyExecutor(UniProcExecutor): def _init_executor(self) -> None: """Initialize the worker and load the model.""" self.driver_worker = WorkerWrapperBase(rpc_rank=0) - distributed_init_method = get_distributed_init_method(get_ip(), get_open_port()) + distributed_init_method = get_file_store_init_method() local_rank = 0 # set local rank as the device index if specified device_info = self.vllm_config.device_config.device.__str__().split(":")