Skip to content

Commit 57d86d7

Browse files
authored
[2.6 RELEASE] Update PyTorch pin to 2.6 (#7368)
1 parent e2277ac commit 57d86d7

File tree

22 files changed

+114
-103
lines changed

22 files changed

+114
-103
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-
19eff28ff3f19b50da46f5a9ff5f4d4d213806fe
1+
release/2.6

.github/workflows/_android.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
build-llm-demo:
99
name: build-llm-demo
10-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
10+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.6
1111
with:
1212
runner: linux.2xlarge
1313
docker-image: executorch-ubuntu-22.04-clang12-android
@@ -38,7 +38,7 @@ jobs:
3838
API_LEVEL: 34
3939
steps:
4040
- name: Setup SSH (Click me for login details)
41-
uses: pytorch/test-infra/.github/actions/setup-ssh@main
41+
uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.6
4242
with:
4343
github-secret: ${{ secrets.GITHUB_TOKEN }}
4444
instructions: |
@@ -49,7 +49,7 @@ jobs:
4949
submodules: false
5050

5151
- name: Setup conda
52-
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
52+
uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.6
5353
with:
5454
python-version: '3.10'
5555

.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.6
1818
with:
1919
runner: linux.2xlarge
2020
docker-image: ${{ inputs.docker-image }}
@@ -47,7 +47,7 @@ jobs:
4747
test/run_oss_cpp_tests.sh
4848
4949
macos:
50-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
50+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.6
5151
with:
5252
runner: macos-m1-stable
5353
python-version: '3.11'

.github/workflows/android-perf.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ jobs:
166166

167167
export-models:
168168
name: export-models
169-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
169+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.6
170170
needs: set-parameters
171171
strategy:
172172
matrix:
@@ -226,7 +226,7 @@ jobs:
226226
227227
build-benchmark-app:
228228
name: build-benchmark-app
229-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
229+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.6
230230
needs: set-parameters
231231
with:
232232
runner: linux.2xlarge
@@ -257,7 +257,7 @@ jobs:
257257
permissions:
258258
id-token: write
259259
contents: read
260-
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@main
260+
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@release/2.6
261261
needs:
262262
- set-parameters
263263
- prepare-test-specs
@@ -305,7 +305,7 @@ jobs:
305305
aws-region: us-east-1
306306

307307
- name: Setup conda
308-
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
308+
uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.6
309309
with:
310310
python-version: '3.10'
311311

@@ -353,14 +353,14 @@ jobs:
353353
354354
# TODO (huydhn): Remove v2 schema once the benchmark dashboard finishes the migration
355355
- name: Upload the benchmark results (v2)
356-
uses: pytorch/test-infra/.github/actions/upload-benchmark-results@main
356+
uses: pytorch/test-infra/.github/actions/upload-benchmark-results@release/2.6
357357
with:
358358
benchmark-results-dir: benchmark-results/v2
359359
dry-run: false
360360
schema-version: v2
361361

362362
- name: Upload the benchmark results (v3)
363-
uses: pytorch/test-infra/.github/actions/upload-benchmark-results@main
363+
uses: pytorch/test-infra/.github/actions/upload-benchmark-results@release/2.6
364364
with:
365365
benchmark-results-dir: benchmark-results/v3
366366
dry-run: false

.github/workflows/android-release-artifacts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
build-aar:
3232
name: build-aar
3333
needs: check-if-aar-exists
34-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
34+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.6
3535
with:
3636
runner: linux.2xlarge
3737
docker-image: executorch-ubuntu-22.04-clang12-android

.github/workflows/apple-perf.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153

154154
export-models:
155155
name: export-models
156-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
156+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.6
157157
needs: set-parameters
158158
strategy:
159159
matrix:
@@ -228,7 +228,7 @@ jobs:
228228
229229
build-benchmark-app:
230230
name: build-benchmark-app
231-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
231+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.6
232232
needs:
233233
- set-parameters
234234
secrets: inherit
@@ -334,7 +334,7 @@ jobs:
334334
permissions:
335335
id-token: write
336336
contents: read
337-
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@main
337+
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@release/2.6
338338
strategy:
339339
matrix:
340340
model: ${{ fromJson(needs.set-parameters.outputs.models) }}
@@ -379,7 +379,7 @@ jobs:
379379
aws-region: us-east-1
380380

381381
- name: Setup conda
382-
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
382+
uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.6
383383
with:
384384
python-version: '3.10'
385385

@@ -427,14 +427,14 @@ jobs:
427427
428428
# TODO (huydhn): Remove v2 schema once the benchmark dashboard finishes the migration
429429
- name: Upload the benchmark results (v2)
430-
uses: pytorch/test-infra/.github/actions/upload-benchmark-results@main
430+
uses: pytorch/test-infra/.github/actions/upload-benchmark-results@release/2.6
431431
with:
432432
benchmark-results-dir: benchmark-results/v2
433433
dry-run: false
434434
schema-version: v2
435435

436436
- name: Upload the benchmark results (v3)
437-
uses: pytorch/test-infra/.github/actions/upload-benchmark-results@main
437+
uses: pytorch/test-infra/.github/actions/upload-benchmark-results@release/2.6
438438
with:
439439
benchmark-results-dir: benchmark-results/v3
440440
dry-run: false

.github/workflows/apple.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
name: build-demo-ios
4545
# NB: Don't run this on fork PRs because they won't have access to the secret and would fail anyway
4646
if: ${{ !github.event.pull_request.head.repo.fork }}
47-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
47+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.6
4848
secrets: inherit
4949
with:
5050
runner: macos-latest-xlarge
@@ -114,7 +114,7 @@ jobs:
114114
permissions:
115115
id-token: write
116116
contents: read
117-
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@main
117+
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@release/2.6
118118
with:
119119
device-type: ios
120120
# For iOS testing, the runner just needs to call AWS Device Farm, so there is no need to run this on macOS
@@ -132,7 +132,7 @@ jobs:
132132
build-frameworks-ios:
133133
name: build-frameworks-ios
134134
needs: set-version
135-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
135+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.6
136136
with:
137137
runner: macos-latest-xlarge
138138
python-version: '3.11'
@@ -284,7 +284,7 @@ jobs:
284284
name: build-benchmark-app
285285
# NB: Don't run this on fork PRs because they won't have access to the secret and would fail anyway
286286
if: ${{ !github.event.pull_request.head.repo.fork }}
287-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
287+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.6
288288
secrets: inherit
289289
with:
290290
runner: macos-latest-xlarge

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ 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.6
2323
with:
2424
package-type: wheel
2525
os: linux
@@ -44,7 +44,7 @@ jobs:
4444
smoke-test-script: build/packaging/smoke_test.py
4545
package-name: executorch
4646
name: ${{ matrix.repository }}
47-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
47+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.6
4848
with:
4949
repository: ${{ matrix.repository }}
5050
ref: ""

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ 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.6
2323
with:
2424
package-type: wheel
2525
os: macos-arm64
@@ -44,7 +44,7 @@ jobs:
4444
smoke-test-script: build/packaging/smoke_test.py
4545
package-name: executorch
4646
name: ${{ matrix.repository }}
47-
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
47+
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.6
4848
with:
4949
repository: ${{ matrix.repository }}
5050
ref: ""

.github/workflows/doc-build.yml

Lines changed: 2 additions & 2 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.6
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.6
8686
with:
8787
repository: pytorch/executorch
8888
download-artifact: docs

.github/workflows/docker-builds.yml

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

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

6161
- name: Setup Linux
62-
uses: pytorch/test-infra/.github/actions/setup-linux@main
62+
uses: pytorch/test-infra/.github/actions/setup-linux@release/2.6
6363

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

7373
- name: Teardown Linux
74-
uses: pytorch/test-infra/.github/actions/teardown-linux@main
74+
uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.6
7575
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.6
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.6
6060
with:
6161
runner: linux.2xlarge
6262
docker-image: executorch-ubuntu-22.04-linter

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ 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.6
2525
if: ${{ github.event_name == 'schedule' }}
2626
with:
2727
repo-name: pytorch

.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.6
4343
needs: gather-models
4444
strategy:
4545
matrix: ${{ fromJSON(needs.gather-models.outputs.models) }}

0 commit comments

Comments
 (0)