Exclude multimodal-gen NPU jobs from fast-fail cascade (#35238)
This commit is contained in:
@@ -164,6 +164,11 @@ jobs:
|
|||||||
core.info(`[health-check] Filtered out h20 job: ${j.name}`);
|
core.info(`[health-check] Filtered out h20 job: ${j.name}`);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
// multimodal-gen NPU tests should not cascade fast-fail to perf/accuracy stages.
|
||||||
|
if (baseName === 'multimodal-gen-test-1-npu-a3' || baseName === 'multimodal-gen-test-2-npu-a3') {
|
||||||
|
core.info(`[health-check] Filtered out multimodal-gen NPU job: ${j.name}`);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
// If the failing step is the health check, it's a cascade — skip it
|
// If the failing step is the health check, it's a cascade — skip it
|
||||||
const failedStep = (j.steps || []).find(s => s.conclusion === 'failure');
|
const failedStep = (j.steps || []).find(s => s.conclusion === 'failure');
|
||||||
if (failedStep && (failedStep.name.includes('check-pr-test-health') || failedStep.name.includes('Check PR test health'))) {
|
if (failedStep && (failedStep.name.includes('check-pr-test-health') || failedStep.name.includes('Check PR test health'))) {
|
||||||
|
|||||||
@@ -166,6 +166,11 @@ jobs:
|
|||||||
core.info(`[health-check] Filtered out h20 job: ${j.name}`);
|
core.info(`[health-check] Filtered out h20 job: ${j.name}`);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
// multimodal-gen NPU tests should not cascade fast-fail to perf/accuracy stages.
|
||||||
|
if (baseName === 'multimodal-gen-test-1-npu-a3' || baseName === 'multimodal-gen-test-2-npu-a3') {
|
||||||
|
core.info(`[health-check] Filtered out multimodal-gen NPU job: ${j.name}`);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
// If the failing step is the health check, it's a cascade — skip it
|
// If the failing step is the health check, it's a cascade — skip it
|
||||||
const failedStep = (j.steps || []).find(s => s.conclusion === 'failure');
|
const failedStep = (j.steps || []).find(s => s.conclusion === 'failure');
|
||||||
if (failedStep && (failedStep.name.includes('check-pr-test-health') || failedStep.name.includes('Check PR test health'))) {
|
if (failedStep && (failedStep.name.includes('check-pr-test-health') || failedStep.name.includes('Check PR test health'))) {
|
||||||
|
|||||||
@@ -194,7 +194,7 @@ jobs:
|
|||||||
bash scripts/ci/npu/npu_ci_install_dependency.sh a3
|
bash scripts/ci/npu/npu_ci_install_dependency.sh a3
|
||||||
# copy required file from our daily cache
|
# copy required file from our daily cache
|
||||||
cp ~/.cache/modelscope/hub/datasets/otavia/ShareGPT_Vicuna_unfiltered/ShareGPT_V3_unfiltered_cleaned_split.json /tmp
|
cp ~/.cache/modelscope/hub/datasets/otavia/ShareGPT_Vicuna_unfiltered/ShareGPT_V3_unfiltered_cleaned_split.json /tmp
|
||||||
# copy gsm8k dataset
|
# copy gsm8k dataset from cache
|
||||||
cp ~/.cache/modelscope/hub/datasets/tmp/test.jsonl /tmp
|
cp ~/.cache/modelscope/hub/datasets/tmp/test.jsonl /tmp
|
||||||
|
|
||||||
- name: Run test
|
- name: Run test
|
||||||
|
|||||||
Reference in New Issue
Block a user