[CI] fix possible port conflicts. (#12452)
Co-authored-by: Lianmin Zheng <15100009+merrymercy@users.noreply.github.com>
This commit is contained in:
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user