Skip to content

Commit

Permalink
Don't try to install intel_extension_for_pytorch-* from nightly whe…
Browse files Browse the repository at this point in the history
…els (#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 <[email protected]>
  • Loading branch information
anmyachev authored Sep 4, 2024
1 parent 02f5eed commit 359e7fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/conda-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/no-basekit-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,15 @@ 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
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
Expand Down

0 comments on commit 359e7fc

Please sign in to comment.