Skip to content

Commit

Permalink
mkl abi=1
Browse files Browse the repository at this point in the history
  • Loading branch information
mengfei25 committed Jul 26, 2024
1 parent 120cdec commit 453d32e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/actions/inductor-xpu-e2e-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 ...'"
Expand Down Expand Up @@ -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')
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/_linux_ut.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -91,15 +91,15 @@ 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/
timeout 10000 python run_test_with_skip.py
- 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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly_ondemand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 453d32e

Please sign in to comment.