mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-23 16:44:22 +08:00
Update test_w4a8_model.py (#4125)
This commit is contained in:
@@ -22,11 +22,12 @@ import pytest
|
||||
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))
|
||||
FD_CACHE_QUEUE_PORTS = [FD_CACHE_QUEUE_PORT, FD_CACHE_QUEUE_PORT + 1, FD_CACHE_QUEUE_PORT + 2, FD_CACHE_QUEUE_PORT + 3]
|
||||
|
Reference in New Issue
Block a user