From 300b4c212ed77f41f0748afbfed1ceb4888fbfec Mon Sep 17 00:00:00 2001 From: Liangsheng Yin Date: Fri, 31 Oct 2025 17:20:20 +0800 Subject: [PATCH] [CI] fix possible port conflicts. (#12452) Co-authored-by: Lianmin Zheng <15100009+merrymercy@users.noreply.github.com> --- python/sglang/test/test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sglang/test/test_utils.py b/python/sglang/test/test_utils.py index 2b8912e8e..077d211ac 100644 --- a/python/sglang/test/test_utils.py +++ b/python/sglang/test/test_utils.py @@ -151,7 +151,7 @@ def _use_cached_default_models(model_repo: str): if is_in_ci(): DEFAULT_PORT_FOR_SRT_TEST_RUNNER = ( - 10000 + int(os.environ.get("CUDA_VISIBLE_DEVICES", "0")[0]) * 1000 + 10000 + int(os.environ.get("CUDA_VISIBLE_DEVICES", "0")[0]) * 2000 ) else: DEFAULT_PORT_FOR_SRT_TEST_RUNNER = (