From ce1f4cd5d7ee241277c7e2f5500b266659754bcc Mon Sep 17 00:00:00 2001 From: Zhang Yulong <35552275+ZhangYulongg@users.noreply.github.com> Date: Tue, 16 Sep 2025 14:36:12 +0800 Subject: [PATCH] Update test_w4a8_model.py --- tests/model_loader/test_w4a8_model.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/model_loader/test_w4a8_model.py b/tests/model_loader/test_w4a8_model.py index 3521cca3d76..2f4917b82e6 100644 --- a/tests/model_loader/test_w4a8_model.py +++ b/tests/model_loader/test_w4a8_model.py @@ -22,11 +22,12 @@ from fastdeploy.entrypoints.llm import LLM bash_path = os.getenv("MODEL_PATH") +FD_ENGINE_QUEUE_PORT = int(os.getenv("FD_ENGINE_QUEUE_PORT", 9961)) FD_ENGINE_QUEUE_PORTS = [ - [9961, 9962], - [9971, 9972], - [9981, 9982], - [9991, 9992], + [FD_ENGINE_QUEUE_PORT, FD_ENGINE_QUEUE_PORT + 1], + [FD_ENGINE_QUEUE_PORT + 2, FD_ENGINE_QUEUE_PORT + 3], + [FD_ENGINE_QUEUE_PORT - 1, FD_ENGINE_QUEUE_PORT - 2], + [FD_ENGINE_QUEUE_PORT - 3, FD_ENGINE_QUEUE_PORT - 4], ] FD_CACHE_QUEUE_PORT = int(os.getenv("FD_CACHE_QUEUE_PORT", 8333))