From 359e7fca476d36eb92cf5956b7d95f97296257f8 Mon Sep 17 00:00:00 2001 From: Anatoly Myachev Date: Wed, 4 Sep 2024 22:34:34 +0200 Subject: [PATCH] Don't try to install `intel_extension_for_pytorch-*` from nightly wheels (#2117) To fix CI on llvm-target branch: https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/10707855695/job/29688800747 and https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/10707855697/job/29688800752. If I understand correctly, the last wheel will be PyTorch 2.5, for which there is no IPEX wheel. --------- Signed-off-by: Anatoly Myachev --- .github/workflows/conda-build-test.yml | 3 ++- .github/workflows/no-basekit-build-test.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/conda-build-test.yml b/.github/workflows/conda-build-test.yml index 2ee85f7f66..027ac8e0f6 100644 --- a/.github/workflows/conda-build-test.yml +++ b/.github/workflows/conda-build-test.yml @@ -67,13 +67,14 @@ jobs: gh_token: ${{ secrets.GITHUB_TOKEN }} install_cmd: conda run --no-capture-output -n triton pip install python_version: ${{ matrix.python }} - wheels_pattern: '{intel_extension_for_pytorch-*,torch-*}' + wheels_pattern: 'torch-*' - name: Build Triton run: | set -x export DEBUG=1 cd python + conda run --no-capture-output -n triton pip install pybind11 conda run --no-capture-output -n triton pip install --no-build-isolation -e '.[build,tests,tutorials]' - name: Run core tests diff --git a/.github/workflows/no-basekit-build-test.yml b/.github/workflows/no-basekit-build-test.yml index b0e257066e..810d0b961c 100644 --- a/.github/workflows/no-basekit-build-test.yml +++ b/.github/workflows/no-basekit-build-test.yml @@ -90,7 +90,7 @@ jobs: gh_token: ${{ secrets.GITHUB_TOKEN }} install_cmd: conda run --no-capture-output -n triton pip install python_version: ${{ matrix.python }} - wheels_pattern: '{intel_extension_for_pytorch-*,torch-*}' + wheels_pattern: 'torch-*' - name: Build Triton run: | @@ -98,6 +98,7 @@ jobs: python -m venv ./.venv; source ./.venv/bin/activate export DEBUG=1 cd python + conda run --no-capture-output -n triton pip install pybind11 conda run --no-capture-output -n triton pip install --no-build-isolation -e '.[build,tests,tutorials]' - name: Run tests