Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new results or previous results could not find all raise issues in CI model test #1958

Merged
merged 3 commits into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .azure-pipelines/model-test-3x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ stages:
displayName: "Publish report"
- script: |
if [ $(is_perf_reg) == 'true' ]; then
echo "[Performance Regression] Some model performance regression occurred, please check artifacts and reports."
echo "Some benchmark regression occurred or the reference data need to be updated, please check artifacts and reports."
exit 1
fi
displayName: "Specify performance regression"
displayName: "Specify regression"
32 changes: 2 additions & 30 deletions .azure-pipelines/model-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,33 +40,20 @@ parameters:
displayName: Run ONNX models?
type: boolean
default: true
- name: MXNet_Model
displayName: Run MXNet models?
type: boolean
default: false

- name: TensorFlowModelList
type: object
default:
- resnet50v1.5
- ssd_resnet50_v1
# - ssd_mobilenet_v1_ckpt
# - inception_v1
# - darknet19
# - resnet-101
- name: PyTorchModelList
type: object
default:
# - resnet18
- resnet18_fx
- name: ONNXModelList
type: object
default:
- resnet50-v1-12
- name: MXNetModelList
type: object
default:
- resnet50v1

stages:
- stage: TensorFlowModels
Expand Down Expand Up @@ -114,21 +101,6 @@ stages:
modelName: ${{ model }}
framework: "onnxrt"

- stage: MXNetModels
displayName: Run MXNet Model
pool: MODEL_PERF_TEST
dependsOn: []
condition: and(succeeded(), eq('${{ parameters.MXNet_Model }}', 'true'))
jobs:
- ${{ each model in parameters.MXNetModelList }}:
- job:
displayName: ${{ model }}
steps:
- template: template/model-template.yml
parameters:
modelName: ${{ model }}
framework: "mxnet"

- stage: GenerateLogs
displayName: Generate Report
pool:
Expand Down Expand Up @@ -191,7 +163,7 @@ stages:
displayName: "Publish report"
- script: |
if [ $(is_perf_reg) == 'true' ]; then
echo "[Performance Regression] Some model performance regression occurred, please check artifacts and reports."
echo "Some benchmark regression occurred or the reference data need to be updated, please check artifacts and reports."
exit 1
fi
displayName: "Specify performance regression"
displayName: "Specify regression"
10 changes: 3 additions & 7 deletions .azure-pipelines/scripts/models/generate_report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -245,13 +245,9 @@ function generate_html_core {
if((new_result == nan && previous_result == nan) || new_result == "unknown"){
printf("<td class=\"col-cell col-cell3\" colspan=2></td>");
} else{
if(new_result == nan) {
job_status = "fail"
status_png = "background-color:#FFD2D2";
printf("<td style=\"%s\" colspan=2></td>", status_png);
} else{
printf("<td class=\"col-cell col-cell3\" colspan=2></td>");
}
job_status = "fail"
status_png = "background-color:#FFD2D2";
printf("<td style=\"%s\" colspan=2></td>", status_png);
}
}
}
Expand Down
Loading