[CI] add sot test (#3579)

* [CI] add sot test

* [CI] add sot test
This commit is contained in:
YuBaoku
2025-08-25 10:14:50 +08:00
committed by GitHub
parent 137e539456
commit 7821534ff5
2 changed files with 14 additions and 0 deletions
+7
View File
@@ -197,6 +197,13 @@ jobs:
export TEMPLATE=TOKEN_NORMAL
python -m pytest -sv test_seed_usage.py -k "not test_seed_stream" || TEST_EXIT_CODE=1
curl -X POST http://0.0.0.0:${FLASK_PORT}/switch \
-H "Content-Type: application/json" \
-d "{\"--model\": \"/MODELDATA/ernie-4_5-21b-a3b-bf16-paddle\", \"--config\": \"21b_sot.yaml\", \"--enable-logprob\": \"False\"}"
check_service 180
export TEMPLATE=TOKEN_NORMAL
python -m pytest -sv test_seed_usage.py -k "not test_seed_stream" || TEST_EXIT_CODE=1
popd
echo "TEST_EXIT_CODE=${TEST_EXIT_CODE}" >> /workspace/FastDeploy/exit_code.env
'