Skip to content

PTQ-Level Efficiency, QAT-Level Accuracy | 训练后量化的效率,量化感知训练的精度

Fix xpu CI retry issue (#2309)

chen, suyuefee969dde063
diff --git a/.azure-pipelines/scripts/ut/run_ut_xpu.sh b/.azure-pipelines/scripts/ut/run_ut_xpu.sh
index d3fa7a297..0837c1f2b 100644
--- a/.azure-pipelines/scripts/ut/run_ut_xpu.sh
+++ b/.azure-pipelines/scripts/ut/run_ut_xpu.sh
@@ -131,7 +131,6 @@ function run_unit_test_ark() {
function run_unit_test_llmc() {
cd /auto-round/test || exit 1
- run_if_retry && return 0
local llmc_tests
llmc_tests=$(filter_changed_tests "test" "$(find ./integration/test_xpu -name "test_llmc_integration.py" | sort)")
@@ -145,6 +144,8 @@ function run_unit_test_llmc() {
uv pip list
echo "##[endgroup]"
+ run_if_retry && return 0
+
for test_file in ${llmc_tests}; do
local test_basename=$(basename ${test_file} .py)
local ut_log_name="${LOG_DIR}/unittest_${test_basename}.log"