From ad44f916f8a24a7ae8de5c98fedf53c6852cb23c Mon Sep 17 00:00:00 2001 From: mengfeil Date: Tue, 27 Aug 2024 10:44:07 +0800 Subject: [PATCH] release/2.5 abi=0 --- .github/workflows/_linux_ut.yml | 1 + .github/workflows/nightly_ondemand.yml | 9 +-------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/_linux_ut.yml b/.github/workflows/_linux_ut.yml index 8ee93ebf8..4cb8daaac 100644 --- a/.github/workflows/_linux_ut.yml +++ b/.github/workflows/_linux_ut.yml @@ -77,6 +77,7 @@ jobs: else export _GLIBCXX_USE_CXX11_ABI=1 fi + export _GLIBCXX_USE_CXX11_ABI=0 if [[ ${{ inputs.pytorch }} != *" wheel"* ]]; then export CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:${CONDA_PREFIX:-"$(dirname $(which conda))/../"} pip install -r requirements.txt diff --git a/.github/workflows/nightly_ondemand.yml b/.github/workflows/nightly_ondemand.yml index aa921e2ef..cc2c9b3bd 100644 --- a/.github/workflows/nightly_ondemand.yml +++ b/.github/workflows/nightly_ondemand.yml @@ -76,14 +76,6 @@ jobs: python: ${{ github.event_name == 'schedule' && '3.10' || inputs.python }} runner: linux.idc.xpu - Linux-Weekly-UT-Tests-ABI-0: - if: github.event_name == 'schedule' && github.event.schedule == '0 16 * * 5' - uses: ./.github/workflows/_linux_ut.yml - with: - abi: 0 - ut: op_example,op_extended,op_ut,torch_xpu - runner: linux.idc.xpu - Linux-Nightly-Ondemand-E2E-Tests: runs-on: pvc_e2e # Don't run on forked repos @@ -175,6 +167,7 @@ jobs: source .github/scripts/env.sh cd ../pytorch pip install -r requirements.txt + export _GLIBCXX_USE_CXX11_ABI=0 export CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:${CONDA_PREFIX:-"$(dirname $(which conda))/../"} python setup.py bdist_wheel pip install --force-reinstall dist/*.whl