Skip to content

Commit

Permalink
Fixed script parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Gregory Shimansky <[email protected]>
  • Loading branch information
gshimansky committed Jul 1, 2024
1 parent c86dfa4 commit 6150724
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/e2e-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
echo "${{ toJSON(inputs) }}"
build:
name: Test ${{ inputs.suite }} ${{ inputs.dtype }} ${{ inputs.mode }} accuracy
name: Test ${{ inputs.suite }} ${{ inputs.dtype }} ${{ inputs.mode }} ${{ inputs.test_mode }}
runs-on:
- ${{ inputs.runner_label || 'max1550' }}
timeout-minutes: 720
Expand Down Expand Up @@ -234,13 +234,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 }} ${{ inputs.test_mode }} xpu 0 static 1 0 ${{ inputs.only_one_model }}
$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 [[ "${{ needs.setup.outputs.models }}" == "subset" ]]; then
while read model; do
$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
$GITHUB_WORKSPACE/scripts/inductor_xpu_test.sh ${{ inputs.suite }} ${{ inputs.dtype }} ${{ inputs.mode }} ${{ inputs.test_mode }} xpu 0 static 1 0 $model
done < $GITHUB_WORKSPACE/.github/models/performance/${{ inputs.suite }}.txt
else
$GITHUB_WORKSPACE/scripts/inductor_xpu_test.sh ${{ matrix.suite }} ${{ matrix.dtype }} ${{ matrix.mode }} ${{ inputs.test_mode }} xpu 0 static 1 0
$GITHUB_WORKSPACE/scripts/inductor_xpu_test.sh ${{ inputs.suite }} ${{ inputs.dtype }} ${{ inputs.mode }} ${{ inputs.test_mode }} xpu 0 static 1 0
fi
- name: Report environment details
Expand Down

0 comments on commit 6150724

Please sign in to comment.