[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 '()')
|
workflow_name=$(echo "${{ fromJson(inputs.run_start_metadata).workflow_name }}" | tr ' ' '_' | tr -d '()')
|
||||||
create_time="${{ fromJson(inputs.run_start_metadata).create_time }}"
|
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
|
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
|
# 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}"
|
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 '()')
|
workflow_name=$(echo "${{ fromJson(inputs.run_start_metadata).workflow_name }}" | tr ' ' '_' | tr -d '()')
|
||||||
create_time="${{ fromJson(inputs.run_start_metadata).create_time }}"
|
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
|
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
|
# 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}"
|
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:
|
matrix:
|
||||||
test_config:
|
test_config:
|
||||||
# glm_5_2 accuracy tests
|
# glm_5_2 accuracy tests
|
||||||
- name: glm_5_2_w4a8_16p_gpqa
|
- name: glm_5_2_w8a8_16p_gpqa
|
||||||
node_size: 2
|
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'
|
test_type: 'accuracy'
|
||||||
# kimi_k3 accuracy tests
|
# kimi_k3 accuracy tests
|
||||||
- name: kimi_k3_w4a8_32p_gpqa
|
- name: kimi_k3_w4a8_32p_gpqa
|
||||||
|
|||||||
@@ -183,6 +183,7 @@ QWEN3_5_397B_W8A8_MODEL_PATH = (
|
|||||||
DEEPSEEK_V4_FLASH_0731_W8A8_MODEL_PATH = (
|
DEEPSEEK_V4_FLASH_0731_W8A8_MODEL_PATH = (
|
||||||
"/root/.cache/modelscope/hub/models/Eco-Tech/DeepSeek-V4-Flash-0731-w8a8"
|
"/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 = (
|
DEEPSEEK_V4_FLASH_DEFAULT_MODEL_PATH = (
|
||||||
"/root/.cache/modelscope/hub/models/deepseek-ai/DeepSeek-V4-Flash"
|
"/root/.cache/modelscope/hub/models/deepseek-ai/DeepSeek-V4-Flash"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user