-
Notifications
You must be signed in to change notification settings - Fork 76
Add test_all_subset_models mode #2428
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
Changes from 2 commits
1fc325d
7eb6e85
284bf46
c47a9f8
151e282
312d793
1818779
3122341
da4183b
c43be77
78a156f
bbfd22b
4a96f07
eea69a3
c749d14
92f5d63
4ef86fe
da66237
d644e75
06db6d3
e5c6af7
5192b85
b148c40
3679715
543cdd1
76b3ece
8794950
fe5f9f1
0d19d9d
8285df5
cd3dacd
6dfbaee
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,6 +27,10 @@ on: | |
| description: Run all models or a subset | ||
| type: string | ||
| default: all | ||
| test_all_subset_models: | ||
| description: In "subset" mode, do not fail workflow if one of models failed | ||
| type: boolean | ||
| default: false | ||
| only_one_model: | ||
| description: Run only this one model | ||
| type: string | ||
|
|
@@ -225,7 +229,7 @@ jobs: | |
| bash -e $GITHUB_WORKSPACE/scripts/inductor_xpu_test.sh ${{ inputs.suite }} ${{ inputs.dtype }} ${{ inputs.mode }} ${{ inputs.test_mode }} xpu 0 static 1 0 ${{ inputs.only_one_model }} | ||
| elif [[ "${{ inputs.models }}" == "subset" ]]; then | ||
| while read model; do | ||
| bash -e $GITHUB_WORKSPACE/scripts/inductor_xpu_test.sh ${{ inputs.suite }} ${{ inputs.dtype }} ${{ inputs.mode }} ${{ inputs.test_mode }} xpu 0 static 1 0 $model | ||
| bash -e $GITHUB_WORKSPACE/scripts/inductor_xpu_test.sh ${{ inputs.suite }} ${{ inputs.dtype }} ${{ inputs.mode }} ${{ inputs.test_mode }} xpu 0 static 1 0 $model || ${{ inputs.test_all_subset_models }} | ||
|
||
| done < $GITHUB_WORKSPACE/.github/models/performance/${{ inputs.suite }}.txt | ||
| else | ||
| bash -e $GITHUB_WORKSPACE/scripts/inductor_xpu_test.sh ${{ inputs.suite }} ${{ inputs.dtype }} ${{ inputs.mode }} ${{ inputs.test_mode }} xpu 0 static 1 0 | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.