Skip to content

Commit

Permalink
Fixed test_mode parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Gregory Shimansky <gshimansky@gmail.com>
  • Loading branch information
gshimansky committed Jul 1, 2024
1 parent f4d0d06 commit 9167b9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/e2e-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,13 +240,13 @@ jobs:
# otherwise test all models.
if [[ "${{ inputs.only_one_model }}" ]]; then
$GITHUB_WORKSPACE/scripts/inductor_xpu_test.sh ${{ matrix.suite }} ${{ matrix.dtype }} ${{ matrix.mode }} ${{ test_mode }} xpu 0 static 1 0 ${{ inputs.only_one_model }}
$GITHUB_WORKSPACE/scripts/inductor_xpu_test.sh ${{ matrix.suite }} ${{ matrix.dtype }} ${{ matrix.mode }} ${{ inputs.test_mode }} xpu 0 static 1 0 ${{ inputs.only_one_model }}
elif [[ "${{ needs.setup.outputs.models }}" == "subset" ]]; then
while read model; do
$GITHUB_WORKSPACE/scripts/inductor_xpu_test.sh ${{ matrix.suite }} ${{ matrix.dtype }} ${{ matrix.mode }} ${{ test_mode }} xpu 0 static 1 0 $model
$GITHUB_WORKSPACE/scripts/inductor_xpu_test.sh ${{ matrix.suite }} ${{ matrix.dtype }} ${{ matrix.mode }} ${{ inputs.test_mode }} xpu 0 static 1 0 $model
done < $GITHUB_WORKSPACE/.github/models/performance/${{ matrix.suite }}.txt
else
$GITHUB_WORKSPACE/scripts/inductor_xpu_test.sh ${{ matrix.suite }} ${{ matrix.dtype }} ${{ matrix.mode }} ${{ test_mode }} xpu 0 static 1 0
$GITHUB_WORKSPACE/scripts/inductor_xpu_test.sh ${{ matrix.suite }} ${{ matrix.dtype }} ${{ matrix.mode }} ${{ inputs.test_mode }} xpu 0 static 1 0
fi
- name: Report environment details
Expand Down

0 comments on commit 9167b9c

Please sign in to comment.