[NPU][CI] Scope NPU nightly artifact dirs by image; fix stale glm5_2 case (#39585)
This commit is contained in:
@@ -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}"
|
||||
|
||||
@@ -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}"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user