Skip to content

Commit

Permalink
Additional patches for PyTorch upstream (#1752)
Browse files Browse the repository at this point in the history
Fixes #1748.

Note that PRs in #1748 cannot be applied directly without conflicts, temporary apply commits from
pytorch/pytorch@main...ZzEeKkAa:pytorch:triton-zeka.
  • Loading branch information
pbchekin authored Aug 2, 2024
1 parent fccb5d1 commit de0b810
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/actions/setup-pytorch/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ runs:
uses: ./.github/actions/load
env:
# Increase this value to reset cache
CACHE_NUMBER: 8
CACHE_NUMBER: 9
with:
path: pytorch
key: pytorch-$PYTHON_VERSION-$PYTORCH_COMMIT_ID-$CACHE_NUMBER
Expand All @@ -92,7 +92,8 @@ runs:
shell: bash
run: |
cd pytorch
curl -Ls https://github.com/pytorch/pytorch/pull/126516.diff | git apply -
curl -sSL https://github.com/pytorch/pytorch/pull/126516.diff | git apply -
curl -sSL https://github.com/pytorch/pytorch/compare/main...ZzEeKkAa:pytorch:triton-zeka.diff | git apply -
# FIXME: Old PyTorch does not work with numpy==2.0.0
- name: Install numpy < 2.0.0
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-test-no-ipex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
matrix:
python: ["3.9"]
driver: ["rolling", "lts"]
fail-fast: false
uses: ./.github/workflows/build-test-reusable.yml
with:
driver_version: ${{ matrix.driver }}
Expand Down

0 comments on commit de0b810

Please sign in to comment.