diff --git a/.github/workflows/_npu-single-node-test-stage.yml b/.github/workflows/_npu-single-node-test-stage.yml index a8e56b0a5..1b04aec65 100644 --- a/.github/workflows/_npu-single-node-test-stage.yml +++ b/.github/workflows/_npu-single-node-test-stage.yml @@ -258,6 +258,11 @@ jobs: workflow_name=$(echo "${{ fromJson(inputs.run_start_metadata).workflow_name }}" | tr ' ' '_' | tr -d '()') create_time="${{ fromJson(inputs.run_start_metadata).create_time }}" if [ -z "${create_time}" ]; then create_time=$(date -u -d '+8 hours' +%Y%m%d-%H%M); fi + # Append the image tag to the workflow-name segment so that runs with + # different images (CANN 9.0.0/9.1.0, a3/a5) persist into distinct, + # image-tagged output/log directories. + image_label=$(echo "${{ inputs.image }}" | sed 's#.*[/:]##') + workflow_name="${workflow_name}--${image_label}" # Print persistence‑directory‑prefix variables echo "Persistence prefix: run_id=${run_id} run_attempt=${run_attempt} branch_label=${branch_label} workflow_name=${workflow_name} create_time=${create_time}" diff --git a/.github/workflows/nightly-test-npu-e2e-multi-node.yml b/.github/workflows/nightly-test-npu-e2e-multi-node.yml index 7ef09e42f..d54167a20 100644 --- a/.github/workflows/nightly-test-npu-e2e-multi-node.yml +++ b/.github/workflows/nightly-test-npu-e2e-multi-node.yml @@ -157,6 +157,11 @@ jobs: workflow_name=$(echo "${{ fromJson(inputs.run_start_metadata).workflow_name }}" | tr ' ' '_' | tr -d '()') create_time="${{ fromJson(inputs.run_start_metadata).create_time }}" if [ -z "${create_time}" ]; then create_time=$(date -u -d '+8 hours' +%Y%m%d-%H%M); fi + # Append the image tag to the workflow-name segment so that runs with + # different images (CANN 9.0.0/9.1.0, a3/a5) persist into distinct, + # image-tagged output/log directories. + image_label=$(echo "${{ inputs.image }}" | sed 's#.*[/:]##') + workflow_name="${workflow_name}--${image_label}" # Print persistence‑directory‑prefix variables echo "Persistence prefix: run_id=${run_id} run_attempt=${run_attempt} branch_label=${branch_label} workflow_name=${workflow_name} create_time=${create_time}" diff --git a/.github/workflows/nightly-test-npu.yml b/.github/workflows/nightly-test-npu.yml index 28d1261ca..623b89ce8 100644 --- a/.github/workflows/nightly-test-npu.yml +++ b/.github/workflows/nightly-test-npu.yml @@ -488,9 +488,9 @@ jobs: matrix: test_config: # glm_5_2 accuracy tests - - name: glm_5_2_w4a8_16p_gpqa + - name: glm_5_2_w8a8_16p_gpqa node_size: 2 - test_case: test/registered/npu/accuracy/glm5_2/test_npu_glm_5_2_w4a8_16p_gpqa.py + test_case: test/registered/npu/accuracy/glm5_2/test_npu_glm_5_2_w8a8_16p_gpqa.py test_type: 'accuracy' # kimi_k3 accuracy tests - name: kimi_k3_w4a8_32p_gpqa diff --git a/python/sglang/test/ascend/e2e/test_npu_performance_utils.py b/python/sglang/test/ascend/e2e/test_npu_performance_utils.py index eb598edf5..0f3d07df5 100644 --- a/python/sglang/test/ascend/e2e/test_npu_performance_utils.py +++ b/python/sglang/test/ascend/e2e/test_npu_performance_utils.py @@ -183,6 +183,7 @@ QWEN3_5_397B_W8A8_MODEL_PATH = ( DEEPSEEK_V4_FLASH_0731_W8A8_MODEL_PATH = ( "/root/.cache/modelscope/hub/models/Eco-Tech/DeepSeek-V4-Flash-0731-w8a8" ) +# DeepSeek-V4-Flash default model for a5 testcase DEEPSEEK_V4_FLASH_DEFAULT_MODEL_PATH = ( "/root/.cache/modelscope/hub/models/deepseek-ai/DeepSeek-V4-Flash" )