Skip to content

Commit c3ccfa9

Browse files
authored
[CI] Fix path error and port conflict (PaddlePaddle#5803)
1 parent da9ea88 commit c3ccfa9

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/_logprob_test_linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
5252
while [ $CLEAN_COUNT -lt $CLEAN_RETRIES ]; do
5353
echo "Attempt $((CLEAN_COUNT+1)) to remove /workspace/* ..."
54-
rm -rf "${REPO_NAME}"* || true
54+
rm -rf /workspace/* || true
5555
sleep 2
5656
5757
# Check if anything matching /workspace/* still exists

tests/engine/test_common_engine.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ def setUpClass(cls):
3939
model=MODEL_NAME,
4040
max_model_len=8192,
4141
tensor_parallel_size=1,
42-
engine_worker_queue_port=int(os.getenv("FD_ENGINE_QUEUE_PORT", "6778")) + 10,
43-
cache_queue_port=int(os.getenv("FD_CACHE_QUEUE_PORT", "6779")) + 10,
42+
engine_worker_queue_port=int(os.getenv("FD_ENGINE_QUEUE_PORT", "6778")),
43+
cache_queue_port=int(os.getenv("FD_CACHE_QUEUE_PORT", "6779")),
4444
)
4545

4646
# Create and start the engine service
@@ -210,8 +210,8 @@ def _make_cfg(self, **kwargs):
210210
engine_worker_queue_port = int(os.getenv("FD_ENGINE_QUEUE_PORT", "6778"))
211211
cache_queue_port = int(os.getenv("FD_CACHE_QUEUE_PORT", "6779"))
212212
if dp and dp > 1:
213-
engine_worker_queue_port = [engine_worker_queue_port + 20 + i for i in range(dp // nnode)]
214-
cache_queue_port = [cache_queue_port + 20 + i for i in range(dp // nnode)]
213+
engine_worker_queue_port = [engine_worker_queue_port + 21 + i for i in range(dp // nnode)]
214+
cache_queue_port = [cache_queue_port + 21 + i for i in range(dp // nnode)]
215215

216216
args = EngineArgs(
217217
model=MODEL_NAME,

0 commit comments

Comments
 (0)