From f97b65bfa41567ed0de59792e5fdaf9fbdae3382 Mon Sep 17 00:00:00 2001 From: EmmonsCurse <1577972691@qq.com> Date: Thu, 8 Jan 2026 23:01:42 +0800 Subject: [PATCH 1/2] [CI] Temporarily disable fp8_cases in base_tests --- .github/workflows/_base_test.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/_base_test.yml b/.github/workflows/_base_test.yml index a5f9d2f9f44..2bbadacd2c3 100644 --- a/.github/workflows/_base_test.yml +++ b/.github/workflows/_base_test.yml @@ -263,19 +263,19 @@ 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\": \"ernie45t_21b_sot_fp8.yaml\", \"--enable-logprob\": \"False\"}" - check_service 360 - 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\": \"ernie45t_21b_cinn_fp8.yaml\", \"--enable-logprob\": \"False\"}" - check_service 360 - 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\": \"ernie45t_21b_sot_fp8.yaml\", \"--enable-logprob\": \"False\"}" +# check_service 360 +# 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\": \"ernie45t_21b_cinn_fp8.yaml\", \"--enable-logprob\": \"False\"}" +# check_service 360 +# export TEMPLATE=TOKEN_NORMAL +# python -m pytest -sv test_seed_usage.py -k "not test_seed_stream" || TEST_EXIT_CODE=1 export TEMPLATE=TOKEN_NORMAL curl -X POST http://0.0.0.0:${FLASK_PORT}/switch \ From 21c256e79f37be31d61f20f682381c484ee3526c Mon Sep 17 00:00:00 2001 From: EmmonsCurse <1577972691@qq.com> Date: Thu, 8 Jan 2026 23:06:13 +0800 Subject: [PATCH 2/2] [CI] Remove FP8-related cases --- .github/workflows/_base_test.yml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/.github/workflows/_base_test.yml b/.github/workflows/_base_test.yml index 2bbadacd2c3..365fa9d47ca 100644 --- a/.github/workflows/_base_test.yml +++ b/.github/workflows/_base_test.yml @@ -263,20 +263,6 @@ 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\": \"ernie45t_21b_sot_fp8.yaml\", \"--enable-logprob\": \"False\"}" -# check_service 360 -# 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\": \"ernie45t_21b_cinn_fp8.yaml\", \"--enable-logprob\": \"False\"}" -# check_service 360 -# export TEMPLATE=TOKEN_NORMAL -# python -m pytest -sv test_seed_usage.py -k "not test_seed_stream" || TEST_EXIT_CODE=1 - export TEMPLATE=TOKEN_NORMAL curl -X POST http://0.0.0.0:${FLASK_PORT}/switch \ -H "Content-Type: application/json" \