[CI] fix possible port conflicts. (#12452)

Co-authored-by: Lianmin Zheng <15100009+merrymercy@users.noreply.github.com>
This commit is contained in:
Liangsheng Yin
2025-10-31 17:20:20 +08:00
committed by GitHub
parent c0652d907b
commit 300b4c212e

View File

@@ -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 = (