[NPU][CI] Scope NPU nightly artifact dirs by image; fix stale glm5_2 case (#39585)

This commit is contained in:
pllimax
2026-09-15 22:55:53 +08:00
committed by GitHub
parent 832ec39cc0
commit 1aeeb25e86
4 changed files with 13 additions and 2 deletions
@@ -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 persistencedirectoryprefix variables
echo "Persistence prefix: run_id=${run_id} run_attempt=${run_attempt} branch_label=${branch_label} workflow_name=${workflow_name} create_time=${create_time}"
@@ -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 persistencedirectoryprefix variables
echo "Persistence prefix: run_id=${run_id} run_attempt=${run_attempt} branch_label=${branch_label} workflow_name=${workflow_name} create_time=${create_time}"
+2 -2
View File
@@ -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