Skip to content

Commit f2c7ca1

Browse files
authored
[CI] Remove abi=0 tests (#1542)
1 parent 44c1286 commit f2c7ca1

File tree

5 files changed

+9
-120
lines changed

5 files changed

+9
-120
lines changed

.github/workflows/_linux_build.yml

+2-12
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ on:
1313
type: string
1414
default: 'false'
1515
description: Keep torch-xpu-ops pin. `true` means use pined commit
16-
abi:
17-
required: false
18-
type: string
19-
default: '1'
20-
description: ABI version. Default abi as 1.
2116
python:
2217
required: false
2318
type: string
@@ -94,11 +89,6 @@ jobs:
9489
export TORCH_XPU_ARCH_LIST='pvc'
9590
fi
9691
pip install mkl-static==2025.0.1 mkl-include==2025.0.1
97-
if [[ ${{ inputs.abi }} == '0' ]]; then
98-
export _GLIBCXX_USE_CXX11_ABI=0
99-
else
100-
export _GLIBCXX_USE_CXX11_ABI=1
101-
fi
10292
build_url="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
10393
repo="${{ github.repository }}"
10494
last_commit=$(gh --repo $repo issue view $commit_issue --json body -q .body | grep ${{ inputs.pytorch }} | cut -d'[' -f 2 | cut -d']' -f 1)
@@ -177,11 +167,11 @@ jobs:
177167
if: ${{ ! cancelled() }}
178168
uses: actions/upload-artifact@v4
179169
with:
180-
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-${{ inputs.abi }}
170+
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}
181171
path: ${{ github.workspace }}/torch*.whl
182172
- name: Upload Build Log
183173
if: ${{ ! cancelled() }}
184174
uses: actions/upload-artifact@v4
185175
with:
186-
name: Torch-XPU-Build-Log-${{ github.event.pull_request.number || github.sha }}-${{ inputs.abi }}
176+
name: Torch-XPU-Build-Log-${{ github.event.pull_request.number || github.sha }}
187177
path: ${{ github.workspace }}/pytorch_*.log

.github/workflows/_linux_ut.yml

+4-19
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ on:
2323
type: string
2424
default: ''
2525
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.
3126
python:
3227
required: false
3328
type: string
@@ -100,18 +95,13 @@ jobs:
10095
if: ${{ inputs.pytorch != 'nightly_wheel' }}
10196
uses: actions/download-artifact@v4
10297
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 }}
10499
path: ${{ github.workspace }}
105100
- name: Install Pytorch XPU
106101
run: |
107102
source activate xpu_op_${ZE_AFFINITY_MASK}
108103
source .github/scripts/env.sh ${{ inputs.pytorch }}
109104
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
115105
if [ "${{ inputs.pytorch }}" != "nightly_wheel" ]; then
116106
cd ../pytorch
117107
export CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
@@ -293,7 +283,7 @@ jobs:
293283
if: always()
294284
uses: actions/upload-artifact@v4
295285
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 }}
297287
path: ${{ github.workspace }}/ut_log
298288

299289
distributed_ut_test:
@@ -349,18 +339,13 @@ jobs:
349339
if: ${{ inputs.pytorch != 'nightly_wheel' }}
350340
uses: actions/download-artifact@v4
351341
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 }}
353343
path: ${{ github.workspace }}
354344
- name: Install Pytorch XPU
355345
run: |
356346
source activate xpu_op_${ZE_AFFINITY_MASK}
357347
source .github/scripts/env.sh ${{ inputs.pytorch }}
358348
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
364349
if [ "${{ inputs.pytorch }}" != "nightly_wheel" ]; then
365350
cd ../pytorch
366351
export CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
@@ -433,5 +418,5 @@ jobs:
433418
if: ${{ ! cancelled() }}
434419
uses: actions/upload-artifact@v4
435420
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
437422
path: ${{ github.workspace }}/ut_log

.github/workflows/nightly_ondemand.yml

+1-30
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ jobs:
7676
with:
7777
pytorch: ${{ github.event_name == 'schedule' && 'main' || inputs.pytorch }}
7878
keep_torch_xpu_ops: ${{ github.event_name == 'schedule' && 'false' || inputs.keep_torch_xpu_ops }}
79-
abi: 1
8079
python: ${{ github.event_name == 'schedule' && '3.10' || inputs.python }}
8180
runner: pvc_e2e
8281
update_lkg: 'true'
@@ -186,7 +185,7 @@ jobs:
186185
if: ${{ inputs.pytorch != 'nightly_wheel' }}
187186
uses: actions/download-artifact@v4
188187
with:
189-
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-1
188+
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}
190189
path: ${{ github.workspace }}
191190
- name: Install Pytorch XPU
192191
run: |
@@ -336,34 +335,6 @@ jobs:
336335
name: Inductor-XPU-E2E-Data-${{ github.event.pull_request.number || github.sha }}
337336
path: ${{ github.workspace }}/upload_files
338337

339-
Linux-Nightly-Ondemand-Build-ABI-0:
340-
secrets: inherit
341-
if: github.event_name == 'schedule' && github.event.schedule == '0 16 * * 5'
342-
name: linux-nightly-ondemand-abi0
343-
permissions:
344-
issues: write
345-
uses: ./.github/workflows/_linux_build.yml
346-
with:
347-
pytorch: ${{ github.event_name == 'schedule' && 'main' || inputs.pytorch }}
348-
keep_torch_xpu_ops: ${{ github.event_name == 'schedule' && 'false' || inputs.keep_torch_xpu_ops }}
349-
abi: 0
350-
python: ${{ github.event_name == 'schedule' && '3.10' || inputs.python }}
351-
runner: pvc_e2e
352-
353-
Linux-Weekly-UT-Tests-ABI-0:
354-
if: github.event_name == 'schedule' && github.event.schedule == '0 16 * * 5'
355-
name: linux-nightly-ondemand-abi0
356-
needs: Linux-Nightly-Ondemand-Build-ABI-0
357-
uses: ./.github/workflows/_linux_ut.yml
358-
with:
359-
abi: 0
360-
keep_torch_xpu_ops: ${{ github.event_name == 'schedule' && 'false' || inputs.keep_torch_xpu_ops }}
361-
ut: op_regression,op_regression_dev1,op_extended,op_ut
362-
pytorch: ${{ needs.Linux-Nightly-Ondemand-Build-ABI-0.outputs.torch_commit_id }}
363-
python: ${{ github.event_name == 'schedule' && '3.10' || inputs.python }}
364-
triton: ${{ github.event_name == 'schedule' && '' || inputs.triton }}
365-
runner: linux.idc.xpu
366-
367338
Tests-Failure-And-Report:
368339
if: ${{ ! cancelled() }}
369340
runs-on: [ self-hosted, Linux ]

.github/workflows/nightly_ondemand_rolling.yml

+1-32
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ jobs:
7777
with:
7878
pytorch: ${{ github.event_name == 'schedule' && 'main' || inputs.pytorch }}
7979
keep_torch_xpu_ops: ${{ github.event_name == 'schedule' && 'false' || inputs.keep_torch_xpu_ops }}
80-
abi: 1
8180
python: ${{ github.event_name == 'schedule' && '3.10' || inputs.python }}
8281
driver: rolling
8382
runner: pvc_rolling
@@ -191,7 +190,7 @@ jobs:
191190
if: ${{ inputs.pytorch != 'nightly_wheel' }}
192191
uses: actions/download-artifact@v4
193192
with:
194-
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-1
193+
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}
195194
path: ${{ github.workspace }}
196195
- name: Install Pytorch XPU
197196
run: |
@@ -350,37 +349,7 @@ jobs:
350349
with:
351350
name: Inductor-XPU-E2E-Data-${{ github.event.pull_request.number || github.sha }}
352351
path: ${{ github.workspace }}/upload_files
353-
354-
Linux-Nightly-Ondemand-Build-Rolling-ABI-0:
355-
secrets: inherit
356-
if: github.event_name == 'schedule' && github.event.schedule == '30 16 * * 5'
357-
name: linux-nightly-ondemand-rolling-abi0
358-
permissions:
359-
issues: write
360-
uses: ./.github/workflows/_linux_build.yml
361-
with:
362-
pytorch: ${{ github.event_name == 'schedule' && 'main' || inputs.pytorch }}
363-
keep_torch_xpu_ops: ${{ github.event_name == 'schedule' && 'false' || inputs.keep_torch_xpu_ops }}
364-
abi: 0
365-
python: ${{ github.event_name == 'schedule' && '3.10' || inputs.python }}
366-
driver: rolling
367-
runner: pvc_rolling
368352

369-
Linux-Weekly-UT-Tests-Rolling-ABI-0:
370-
if: github.event_name == 'schedule' && github.event.schedule == '30 16 * * 5'
371-
name: linux-nightly-ondemand-rolling-abi0
372-
needs: Linux-Nightly-Ondemand-Build-Rolling-ABI-0
373-
uses: ./.github/workflows/_linux_ut.yml
374-
with:
375-
abi: 0
376-
keep_torch_xpu_ops: ${{ github.event_name == 'schedule' && 'false' || inputs.keep_torch_xpu_ops }}
377-
ut: ${{ github.event_name == 'schedule' && 'op_regression,op_regression_dev1,op_extended,op_ut' || inputs.ut }}
378-
pytorch: ${{ needs.Linux-Nightly-Ondemand-Build-Rolling-ABI-0.outputs.torch_commit_id }}
379-
python: ${{ github.event_name == 'schedule' && '3.10' || inputs.python }}
380-
triton: ${{ github.event_name == 'schedule' && '' || inputs.triton }}
381-
driver: rolling
382-
runner: pvc_rolling
383-
384353
Tests-Failure-And-Report:
385354
if: ${{ ! cancelled() }}
386355
runs-on: [ self-hosted, Linux ]

.github/workflows/pull.yml

+1-27
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
if: ${{ inputs.pytorch }} != 'nightly_wheel'
113113
uses: actions/download-artifact@v4
114114
with:
115-
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-1
115+
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}
116116
path: ${{ github.workspace }}
117117
- name: Install Pytorch XPU
118118
run: |
@@ -196,32 +196,6 @@ jobs:
196196
with:
197197
name: Inductor-XPU-E2E-Data-${{ github.event.pull_request.number || github.sha }}
198198
path: ${{ github.workspace }}/upload_files
199-
200-
preci-linux-build-abi-0:
201-
# Don't run on forked repos and draft PRs
202-
secrets: inherit
203-
if: ${{ (github.repository_owner == 'intel') && (github.event.pull_request.draft == false) }}
204-
name: preci-linux-abi-0
205-
needs: preci-lint-check
206-
permissions:
207-
issues: write
208-
uses: ./.github/workflows/_linux_build.yml
209-
with:
210-
pytorch: main
211-
abi: 0
212-
runner: pvc_e2e
213-
214-
preci-ut-abi-0:
215-
# Don't run on forked repos and draft PRs
216-
if: ${{ (github.repository_owner == 'intel') && (github.event.pull_request.draft == false) }}
217-
name: preci-linux-abi-0
218-
needs: preci-linux-build-abi-0
219-
uses: ./.github/workflows/_linux_ut.yml
220-
with:
221-
abi: 0
222-
pytorch: ${{ needs.preci-linux-build-abi-0.outputs.torch_commit_id }}
223-
ut: op_extended
224-
runner: linux.idc.xpu
225199

226200
check-conditions:
227201
if: ${{ github.repository_owner == 'intel' }}

0 commit comments

Comments
 (0)