[CI] Fix path error and port conflict (#5803)

This commit is contained in:
YuBaoku
2025-12-27 12:50:58 +08:00
committed by GitHub
parent da9ea88a3b
commit c3ccfa974c
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -39,8 +39,8 @@ class TestCommonEngine(unittest.TestCase):
model=MODEL_NAME,
max_model_len=8192,
tensor_parallel_size=1,
engine_worker_queue_port=int(os.getenv("FD_ENGINE_QUEUE_PORT", "6778")) + 10,
cache_queue_port=int(os.getenv("FD_CACHE_QUEUE_PORT", "6779")) + 10,
engine_worker_queue_port=int(os.getenv("FD_ENGINE_QUEUE_PORT", "6778")),
cache_queue_port=int(os.getenv("FD_CACHE_QUEUE_PORT", "6779")),
)
# Create and start the engine service
@@ -210,8 +210,8 @@ class TestCommonEngineAdditionalCoverage(unittest.TestCase):
engine_worker_queue_port = int(os.getenv("FD_ENGINE_QUEUE_PORT", "6778"))
cache_queue_port = int(os.getenv("FD_CACHE_QUEUE_PORT", "6779"))
if dp and dp > 1:
engine_worker_queue_port = [engine_worker_queue_port + 20 + i for i in range(dp // nnode)]
cache_queue_port = [cache_queue_port + 20 + i for i in range(dp // nnode)]
engine_worker_queue_port = [engine_worker_queue_port + 21 + i for i in range(dp // nnode)]
cache_queue_port = [cache_queue_port + 21 + i for i in range(dp // nnode)]
args = EngineArgs(
model=MODEL_NAME,