Skip to content

Commit 5fb6db6

Browse files
authored
[RELEASE] Update pytorch pin in ci to 2.5 (#5406)
1 parent e36a027 commit 5fb6db6

16 files changed

+62
-62
lines changed

.ci/docker/ci_commit_pins/pytorch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
00e3eea170ce5db8ea9c62ce5e48f13886cd6d20
1+
release/2.5

.github/workflows/_unittest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414

1515
jobs:
1616
linux:
17-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
17+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5
1818
with:
1919
runner: linux.2xlarge
2020
docker-image: ${{ inputs.docker-image }}
@@ -44,7 +44,7 @@ jobs:
4444
test/run_oss_cpp_tests.sh
4545
4646
macos:
47-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
47+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.5
4848
with:
4949
runner: macos-m1-stable
5050
python-version: '3.11'

.github/workflows/android-perf.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
128128
export-models:
129129
name: export-models
130-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
130+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5
131131
needs: set-parameters
132132
strategy:
133133
matrix:
@@ -178,7 +178,7 @@ jobs:
178178
179179
build-llm-demo:
180180
name: build-llm-demo
181-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
181+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5
182182
needs: set-parameters
183183
with:
184184
runner: linux.2xlarge
@@ -208,7 +208,7 @@ jobs:
208208
permissions:
209209
id-token: write
210210
contents: read
211-
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@main
211+
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@release/2.5
212212
needs:
213213
- set-parameters
214214
- build-llm-demo

.github/workflows/android.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ concurrency:
2525
jobs:
2626
build-llm-demo:
2727
name: build-llm-demo
28-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
28+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5
2929
with:
3030
runner: linux.2xlarge
3131
docker-image: executorch-ubuntu-22.04-clang12-android
@@ -56,7 +56,7 @@ jobs:
5656
API_LEVEL: 34
5757
steps:
5858
- name: Setup SSH (Click me for login details)
59-
uses: pytorch/test-infra/.github/actions/setup-ssh@main
59+
uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.5
6060
with:
6161
github-secret: ${{ secrets.GITHUB_TOKEN }}
6262
instructions: |
@@ -67,7 +67,7 @@ jobs:
6767
submodules: false
6868

6969
- name: Setup conda
70-
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
70+
uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.5
7171
with:
7272
python-version: '3.10'
7373

.github/workflows/apple-perf.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
117117
export-models:
118118
name: export-models
119-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
119+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.5
120120
needs: set-parameters
121121
strategy:
122122
matrix:
@@ -180,7 +180,7 @@ jobs:
180180
181181
build-benchmark-app:
182182
name: build-benchmark-app
183-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
183+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.5
184184
needs:
185185
- set-parameters
186186
secrets: inherit
@@ -284,7 +284,7 @@ jobs:
284284
permissions:
285285
id-token: write
286286
contents: read
287-
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@main
287+
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@release/2.5
288288
strategy:
289289
matrix:
290290
model: ${{ fromJson(needs.set-parameters.outputs.models) }}

.github/workflows/apple.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ concurrency:
2727
jobs:
2828
build-demo-ios:
2929
name: build-demo-ios
30-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
30+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.5
3131
secrets: inherit
3232
with:
3333
runner: macos-latest-xlarge
@@ -94,7 +94,7 @@ jobs:
9494
permissions:
9595
id-token: write
9696
contents: read
97-
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@main
97+
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@release/2.5
9898
with:
9999
device-type: ios
100100
# For iOS testing, the runner just needs to call AWS Device Farm, so there is no need to run this on macOS
@@ -111,7 +111,7 @@ jobs:
111111

112112
build-frameworks-ios:
113113
name: build-frameworks-ios
114-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
114+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.5
115115
with:
116116
runner: macos-latest-xlarge
117117
python-version: '3.11'

.github/workflows/build-wheels-linux.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ on:
1919

2020
jobs:
2121
generate-matrix:
22-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
22+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.5
2323
with:
2424
package-type: wheel
2525
os: linux
2626
test-infra-repository: pytorch/test-infra
27-
test-infra-ref: main
27+
test-infra-ref: release/2.5
2828
with-cuda: disabled
2929
with-rocm: disabled
3030

@@ -43,12 +43,12 @@ jobs:
4343
smoke-test-script: build/packaging/smoke_test.py
4444
package-name: executorch
4545
name: ${{ matrix.repository }}
46-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
46+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.5
4747
with:
4848
repository: ${{ matrix.repository }}
4949
ref: ""
5050
test-infra-repository: pytorch/test-infra
51-
test-infra-ref: main
51+
test-infra-ref: release/2.5
5252
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5353
# ExecuTorch only needs the first layer of submodules; override the
5454
# "recursive" default to do less work, and to give the buck daemon fewer

.github/workflows/build-wheels-m1.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ on:
1919

2020
jobs:
2121
generate-matrix:
22-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
22+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.5
2323
with:
2424
package-type: wheel
2525
os: macos-arm64
2626
test-infra-repository: pytorch/test-infra
27-
test-infra-ref: main
27+
test-infra-ref: release/2.5
2828
with-cuda: disabled
2929
with-rocm: disabled
3030

@@ -43,12 +43,12 @@ jobs:
4343
smoke-test-script: build/packaging/smoke_test.py
4444
package-name: executorch
4545
name: ${{ matrix.repository }}
46-
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
46+
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.5
4747
with:
4848
repository: ${{ matrix.repository }}
4949
ref: ""
5050
test-infra-repository: pytorch/test-infra
51-
test-infra-ref: main
51+
test-infra-ref: release/2.5
5252
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5353
# ExecuTorch only needs the first layer of submodules; override the
5454
# "recursive" default to do less work, and to give the buck daemon fewer

.github/workflows/doc-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
build:
18-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
18+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5
1919
strategy:
2020
matrix:
2121
include:
@@ -82,7 +82,7 @@ jobs:
8282
if: github.repository == 'pytorch/executorch' && github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
8383
permissions:
8484
contents: write
85-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
85+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5
8686
with:
8787
repository: pytorch/executorch
8888
download-artifact: docs
@@ -97,7 +97,7 @@ jobs:
9797
export GITHUB_REF=${{ github.ref }}
9898
9999
# Convert refs/tags/v1.12.0rc3 into 1.12.
100-
# Adopted from https://github.com/pytorch/pytorch/blob/main/.github/workflows/_docs.yml#L150C11-L155C13
100+
# Adopted from https://github.com/pytorch/pytorch/blob/release/2.5/.github/workflows/_docs.yml#L150C11-L155C13
101101
if [[ "${GITHUB_REF}" =~ ^refs/tags/v([0-9]+\.[0-9]+) ]]; then
102102
TARGET_FOLDER="${BASH_REMATCH[1]}"
103103
else

.github/workflows/docker-builds.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,25 +50,25 @@ jobs:
5050
mkdir "${GITHUB_WORKSPACE}"
5151
5252
- name: Setup SSH (Click me for login details)
53-
uses: pytorch/test-infra/.github/actions/setup-ssh@main
53+
uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.5
5454
with:
5555
github-secret: ${{ secrets.GITHUB_TOKEN }}
5656

5757
- name: Checkout Executorch
5858
uses: actions/checkout@v3
5959

6060
- name: Setup Linux
61-
uses: pytorch/test-infra/.github/actions/setup-linux@main
61+
uses: pytorch/test-infra/.github/actions/setup-linux@release/2.5
6262

6363
- name: Build docker image
6464
id: build-docker-image
65-
uses: pytorch/test-infra/.github/actions/calculate-docker-image@main
65+
uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.5
6666
with:
6767
docker-image-name: ${{ matrix.docker-image-name }}
6868
always-rebuild: true
6969
push: true
7070
force-push: true
7171

7272
- name: Teardown Linux
73-
uses: pytorch/test-infra/.github/actions/teardown-linux@main
73+
uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.5
7474
if: always()

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616

1717
jobs:
1818
lintrunner:
19-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
19+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5
2020
with:
2121
runner: linux.2xlarge
2222
docker-image: executorch-ubuntu-22.04-linter
@@ -56,7 +56,7 @@ jobs:
5656
exit $RC
5757
5858
android-java-format:
59-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
59+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5
6060
with:
6161
runner: linux.2xlarge
6262
docker-image: executorch-ubuntu-22.04-linter

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
environment: ${{ (github.event_name == 'schedule') && 'update-commit-hash' || '' }}
2222
steps:
2323
- name: update-pytorch-commit-hash
24-
uses: pytorch/test-infra/.github/actions/update-commit-hash@main
24+
uses: pytorch/test-infra/.github/actions/update-commit-hash@release/2.5
2525
if: ${{ github.event_name == 'schedule' }}
2626
with:
2727
repo-name: pytorch
2828
branch: main
2929
pin-folder: .ci/docker/ci_commit_pins
30-
test-infra-ref: main
30+
test-infra-ref: release/2.5
3131
updatebot-token: ${{ secrets.UPDATEBOT_TOKEN }}
3232
pytorchbot-token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}

.github/workflows/periodic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
4040
test-models-linux:
4141
name: test-models-linux
42-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
42+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5
4343
needs: gather-models
4444
strategy:
4545
matrix: ${{ fromJSON(needs.gather-models.outputs.models) }}

0 commit comments

Comments
 (0)