|
23 | 23 | type: string
|
24 | 24 | default: ''
|
25 | 25 | description: UT scope. `op_regression,op_regression_dev1,op_extended,op_ut,torch_xpu` Delimiter is comma
|
26 |
| - abi: |
27 |
| - required: false |
28 |
| - type: string |
29 |
| - default: '1' |
30 |
| - description: ABI version. Default abi as 1. |
31 | 26 | python:
|
32 | 27 | required: false
|
33 | 28 | type: string
|
@@ -100,18 +95,13 @@ jobs:
|
100 | 95 | if: ${{ inputs.pytorch != 'nightly_wheel' }}
|
101 | 96 | uses: actions/download-artifact@v4
|
102 | 97 | with:
|
103 |
| - name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-${{ inputs.abi }} |
| 98 | + name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }} |
104 | 99 | path: ${{ github.workspace }}
|
105 | 100 | - name: Install Pytorch XPU
|
106 | 101 | run: |
|
107 | 102 | source activate xpu_op_${ZE_AFFINITY_MASK}
|
108 | 103 | source .github/scripts/env.sh ${{ inputs.pytorch }}
|
109 | 104 | pip install mkl-static==2025.0.1 mkl-include==2025.0.1
|
110 |
| - if [[ ${{ inputs.abi }} == '0' ]]; then |
111 |
| - export _GLIBCXX_USE_CXX11_ABI=0 |
112 |
| - else |
113 |
| - export _GLIBCXX_USE_CXX11_ABI=1 |
114 |
| - fi |
115 | 105 | if [ "${{ inputs.pytorch }}" != "nightly_wheel" ]; then
|
116 | 106 | cd ../pytorch
|
117 | 107 | export CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
|
@@ -293,7 +283,7 @@ jobs:
|
293 | 283 | if: always()
|
294 | 284 | uses: actions/upload-artifact@v4
|
295 | 285 | with:
|
296 |
| - name: Inductor-XPU-UT-Data-${{ github.event.pull_request.number || github.sha }}-${{ inputs.abi }}-${{ env.UT_NAME }} |
| 286 | + name: Inductor-XPU-UT-Data-${{ github.event.pull_request.number || github.sha }}-${{ env.UT_NAME }} |
297 | 287 | path: ${{ github.workspace }}/ut_log
|
298 | 288 |
|
299 | 289 | distributed_ut_test:
|
@@ -349,18 +339,13 @@ jobs:
|
349 | 339 | if: ${{ inputs.pytorch != 'nightly_wheel' }}
|
350 | 340 | uses: actions/download-artifact@v4
|
351 | 341 | with:
|
352 |
| - name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-${{ inputs.abi }} |
| 342 | + name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }} |
353 | 343 | path: ${{ github.workspace }}
|
354 | 344 | - name: Install Pytorch XPU
|
355 | 345 | run: |
|
356 | 346 | source activate xpu_op_${ZE_AFFINITY_MASK}
|
357 | 347 | source .github/scripts/env.sh ${{ inputs.pytorch }}
|
358 | 348 | pip install mkl-static==2025.0.1 mkl-include==2025.0.1
|
359 |
| - if [[ ${{ inputs.abi }} == '0' ]]; then |
360 |
| - export _GLIBCXX_USE_CXX11_ABI=0 |
361 |
| - else |
362 |
| - export _GLIBCXX_USE_CXX11_ABI=1 |
363 |
| - fi |
364 | 349 | if [ "${{ inputs.pytorch }}" != "nightly_wheel" ]; then
|
365 | 350 | cd ../pytorch
|
366 | 351 | export CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
|
@@ -433,5 +418,5 @@ jobs:
|
433 | 418 | if: ${{ ! cancelled() }}
|
434 | 419 | uses: actions/upload-artifact@v4
|
435 | 420 | with:
|
436 |
| - name: Inductor-XPU-UT-Data-${{ github.event.pull_request.number || github.sha }}-${{ inputs.abi }}-xpu_distributed |
| 421 | + name: Inductor-XPU-UT-Data-${{ github.event.pull_request.number || github.sha }}-xpu_distributed |
437 | 422 | path: ${{ github.workspace }}/ut_log
|
0 commit comments