[CI] fix possible port conflicts. (#12452)
Co-authored-by: Lianmin Zheng <15100009+merrymercy@users.noreply.github.com>
This commit is contained in:
co-authored by
Lianmin Zheng
parent
c0652d907b
commit
300b4c212e
@@ -151,7 +151,7 @@ def _use_cached_default_models(model_repo: str):
|
|||||||
|
|
||||||
if is_in_ci():
|
if is_in_ci():
|
||||||
DEFAULT_PORT_FOR_SRT_TEST_RUNNER = (
|
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:
|
else:
|
||||||
DEFAULT_PORT_FOR_SRT_TEST_RUNNER = (
|
DEFAULT_PORT_FOR_SRT_TEST_RUNNER = (
|
||||||
|
|||||||
Reference in New Issue
Block a user