Skip to content

Commit 178d49d

Browse files
authored
Follow up cleanup after #2149 (#3050)
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent 00858c3 commit 178d49d

File tree

12 files changed

+6
-29
lines changed

12 files changed

+6
-29
lines changed

.github/actions/setup-pytorch/action.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ inputs:
1212
default: /opt/intel/oneapi
1313
repository:
1414
description: Repository name with owner
15-
default: Stonepia/pytorch
15+
default: pytorch/pytorch
1616
ref:
1717
description: Branch, tag, commit id
1818
default: ""
@@ -26,11 +26,7 @@ runs:
2626
if: inputs.ref == ''
2727
shell: bash
2828
run: |
29-
if [[ "${{ inputs.repository }}" == "Stonepia/pytorch" ]]; then
30-
PYTORCH_COMMIT_ID="$(<.github/pins/pytorch.txt)"
31-
else
32-
PYTORCH_COMMIT_ID="$(<.github/pins/pytorch-upstream.txt)"
33-
fi
29+
PYTORCH_COMMIT_ID="$(<.github/pins/pytorch.txt)"
3430
echo "PYTORCH_REPO=${{ inputs.repository }}" | tee -a "$GITHUB_ENV"
3531
echo "PYTORCH_COMMIT_ID=$PYTORCH_COMMIT_ID" | tee -a "$GITHUB_ENV"
3632
@@ -58,7 +54,6 @@ runs:
5854
fi
5955
6056
# PyTorch build process expects Intel oneAPI in /opt/intel/oneapi
61-
# https://github.com/Stonepia/pytorch/blob/c9153c96f547f269581743e7443aa86d7e003505/cmake/Modules/FindMKL.cmake#L44
6257
- name: Set up oneAPI
6358
shell: bash
6459
run: |
@@ -106,13 +101,6 @@ runs:
106101
cd pytorch
107102
../scripts/patch-pytorch.sh
108103
109-
# FIXME: Old PyTorch does not work with numpy==2.0.0
110-
- name: Install numpy < 2.0.0
111-
if: ${{ inputs.repository == 'Stonepia/pytorch' }}
112-
shell: bash
113-
run: |
114-
pip install 'numpy<2.0.0'
115-
116104
- name: Build PyTorch
117105
if: ${{ steps.pytorch-cache.outputs.status == 'miss' && inputs.mode == 'source' }}
118106
shell: bash

.github/pins/ipex.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/pins/pytorch-upstream.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/pins/pytorch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22ce6c6508d1d13b263d4c8b1fd6b98505983e92
1+
61dc5e9c0a36d590adc47b4110efd94d9eb59306

.github/workflows/auto-update-translator-cid.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ jobs:
5555
- name: Setup PyTorch
5656
if: ${{ env.TARGET_PRID == null }}
5757
uses: ./.github/actions/setup-pytorch
58-
with:
59-
repository: pytorch/pytorch
6058

6159
- name: Install test dependencies
6260
if: ${{ env.TARGET_PRID == null }}

.github/workflows/build-test-reusable.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ jobs:
114114
- name: Setup PyTorch
115115
uses: ./.github/actions/setup-pytorch
116116
with:
117-
repository: pytorch/pytorch
118117
ref: ${{ inputs.pytorch_ref }}
119118
mode: ${{ inputs.pytorch_mode }}
120119

.github/workflows/e2e-reusable.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ jobs:
9595
- name: Setup PyTorch
9696
uses: ./.github/actions/setup-pytorch
9797
with:
98-
repository: pytorch/pytorch
9998
ref: ${{ inputs.pytorch_ref }}
10099

101100
- name: Set benchmark repository

.github/workflows/inductor-tests-reusable.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ jobs:
6565
- name: Setup PyTorch
6666
uses: ./.github/actions/setup-pytorch
6767
with:
68-
repository: ${{ env.PYTORCH_REPO}}
6968
ref: ${{ inputs.pytorch_ref }}
7069

7170
- name: Setup Triton

.github/workflows/nightly-wheels.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- main
1010
paths:
1111
- .github/workflows/nightly-wheels.yml
12-
- .github/pins/pytorch-upstream.txt
12+
- .github/pins/pytorch.txt
1313

1414
permissions: read-all
1515

@@ -56,8 +56,6 @@ jobs:
5656
5757
- name: Setup PyTorch
5858
uses: ./.github/actions/setup-pytorch
59-
with:
60-
repository: pytorch/pytorch
6159

6260
- name: Identify pinned versions
6361
run: |

.github/workflows/triton-benchmarks.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ jobs:
113113
114114
- name: Setup PyTorch
115115
uses: ./.github/actions/setup-pytorch
116-
with:
117-
repository: pytorch/pytorch
118116

119117
- name: Build Triton wheels
120118
uses: ./.github/actions/setup-triton

0 commit comments

Comments
 (0)