From 453d32edcddc20ed438603f9f4300a96e5228d4a Mon Sep 17 00:00:00 2001 From: mengfeil Date: Fri, 26 Jul 2024 13:35:32 +0800 Subject: [PATCH] mkl abi=1 --- .github/actions/inductor-xpu-e2e-test/action.yml | 6 +++--- .github/workflows/_linux_ut.yml | 10 +++++----- .github/workflows/nightly_ondemand.yml | 4 ++-- .github/workflows/pull.yml | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/actions/inductor-xpu-e2e-test/action.yml b/.github/actions/inductor-xpu-e2e-test/action.yml index bcbcfbedd..e8a097bf7 100644 --- a/.github/actions/inductor-xpu-e2e-test/action.yml +++ b/.github/actions/inductor-xpu-e2e-test/action.yml @@ -41,7 +41,7 @@ runs: shell: bash run: | source activate e2e_ci - source /opt/intel/oneapi/pytorch-gpu-dev-0.5/oneapi-vars.sh + source /home/sdp/mengfeil/0.5.3/setvars.sh if [[ ${{ inputs.suite }} == *"torchbench"* ]]; then cd ../ && rm -rf audio && git clone --single-branch -b main https://github.com/pytorch/audio.git cd audio && git checkout $TORCHAUDIO_COMMIT_ID @@ -80,7 +80,7 @@ runs: source activate e2e_ci cp .github/scripts/inductor_xpu_test.sh ../pytorch cd ../pytorch - source /opt/intel/oneapi/pytorch-gpu-dev-0.5/oneapi-vars.sh + source /home/sdp/mengfeil/0.5.3/setvars.sh # check param function contains() { contains_status="echo 'Start $2 ...'" @@ -196,7 +196,7 @@ runs: source activate e2e_ci cp .github/scripts/inductor_perf_summary.py ../pytorch cd ../pytorch - source /opt/intel/oneapi/pytorch-gpu-dev-0.5/oneapi-vars.sh + source /home/sdp/mengfeil/0.5.3/setvars.sh pip install styleFrame scipy pandas set -xe for suite in $(echo ${{ inputs.suite }} |sed 's/,/ /g') diff --git a/.github/workflows/_linux_ut.yml b/.github/workflows/_linux_ut.yml index 2827a0420..97f6f38cf 100644 --- a/.github/workflows/_linux_ut.yml +++ b/.github/workflows/_linux_ut.yml @@ -71,7 +71,7 @@ jobs: pip install -r requirements.txt export USE_XPU=1 export _GLIBCXX_USE_CXX11_ABI=1 - source /opt/intel/oneapi/pytorch-gpu-dev-0.5/oneapi-vars.sh + source /home/sdp/mengfeil/0.5.3/setvars.sh export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"} WERROR=1 python setup.py bdist_wheel pip install --force-reinstall dist/*.whl @@ -82,7 +82,7 @@ jobs: run: | cd ${{ github.workspace }} xpu-smi discovery - source /opt/intel/oneapi/pytorch-gpu-dev-0.5/oneapi-vars.sh + source /home/sdp/mengfeil/0.5.3/setvars.sh source activate xpu_op_${ZE_AFFINITY_MASK} cd ${{ github.workspace }} cd examples @@ -91,7 +91,7 @@ jobs: - name: Run XPU OP Extended UT if: contains(inputs.ut, 'op_extended') || github.event_name == 'schedule' run: | - source /opt/intel/oneapi/pytorch-gpu-dev-0.5/oneapi-vars.sh + source /home/sdp/mengfeil/0.5.3/setvars.sh source activate xpu_op_${ZE_AFFINITY_MASK} export PYTORCH_TEST_WITH_SLOW=1 cd ../pytorch/third_party/torch-xpu-ops/test/xpu/extended/ @@ -99,7 +99,7 @@ jobs: - name: Run XPU OP UT if: contains(inputs.ut, 'op_ut') || github.event_name == 'schedule' run: | - source /opt/intel/oneapi/pytorch-gpu-dev-0.5/oneapi-vars.sh + source /home/sdp/mengfeil/0.5.3/setvars.sh source activate xpu_op_${ZE_AFFINITY_MASK} export PYTORCH_ENABLE_XPU_FALLBACK=1 export PYTORCH_TEST_WITH_SLOW=1 @@ -113,7 +113,7 @@ jobs: - name: Run Torch XPU UT if: contains(inputs.ut, 'torch_xpu') || github.event_name == 'schedule' run: | - source /opt/intel/oneapi/pytorch-gpu-dev-0.5/oneapi-vars.sh + source /home/sdp/mengfeil/0.5.3/setvars.sh source activate xpu_op_${ZE_AFFINITY_MASK} cd ../pytorch TEST_REPORTS_DIR=$(pwd)/test/test-reports diff --git a/.github/workflows/nightly_ondemand.yml b/.github/workflows/nightly_ondemand.yml index 2264d9ee8..47f1e19fa 100644 --- a/.github/workflows/nightly_ondemand.yml +++ b/.github/workflows/nightly_ondemand.yml @@ -146,7 +146,7 @@ jobs: echo "TRANSFORMERS_VERSION=$(<.ci/docker/ci_commit_pins/huggingface.txt)" |tee -a "${GITHUB_OUTPUT}" >> "${GITHUB_ENV}" echo "TIMM_COMMIT_ID=$(<.ci/docker/ci_commit_pins/timm.txt)" |tee -a "${GITHUB_OUTPUT}" >> "${GITHUB_ENV}" echo "MODEL_ONLY_NAME=${{ inputs.model }}" |tee -a "${GITHUB_OUTPUT}" >> "${GITHUB_ENV}" - source /opt/intel/oneapi/pytorch-gpu-dev-0.5/oneapi-vars.sh + source /home/sdp/mengfeil/0.5.3/setvars.sh echo "DRIVER_VERSION=$(dkms status 2>&1 |grep 'intel-i915-dkms' |sed 's/.*\///;s/,.*//')" |tee -a "${GITHUB_OUTPUT}" >> "${GITHUB_ENV}" echo "BUNDLE_VERSION=$(dpcpp --version 2>&1 |grep 'DPC++/C++' |sed 's/.*(//;s/).*//')" |tee -a "${GITHUB_OUTPUT}" >> "${GITHUB_ENV}" . /etc/os-release @@ -167,7 +167,7 @@ jobs: pip install -r requirements.txt export USE_XPU=1 export _GLIBCXX_USE_CXX11_ABI=1 - source /opt/intel/oneapi/pytorch-gpu-dev-0.5/oneapi-vars.sh + source /home/sdp/mengfeil/0.5.3/setvars.sh export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"} python setup.py bdist_wheel pip install --force-reinstall dist/*.whl diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index 5ee55fdcf..569100880 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -73,7 +73,7 @@ jobs: cd ../pytorch pip install -r requirements.txt export USE_XPU=1 - source /opt/intel/oneapi/pytorch-gpu-dev-0.5/oneapi-vars.sh + source /home/sdp/mengfeil/0.5.3/setvars.sh export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"} python setup.py bdist_wheel pip install --force-reinstall dist/*.whl