Skip to content

Commit 3826eee

Browse files
authored
[Release 0.6] update CI pins (#9746)
1 parent b9ee12a commit 3826eee

19 files changed

+83
-90
lines changed

.ci/docker/ci_commit_pins/pytorch.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7ae0ce6360b6e4f944906502d20da24c04debee5
1+
release/2.7

.github/workflows/_android.yml

+3-3
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_v2.yml@main
10+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
1111
permissions:
1212
id-token: write
1313
contents: read
@@ -66,7 +66,7 @@ jobs:
6666
API_LEVEL: 34
6767
steps:
6868
- name: Setup SSH (Click me for login details)
69-
uses: pytorch/test-infra/.github/actions/setup-ssh@main
69+
uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.7
7070
with:
7171
github-secret: ${{ secrets.GITHUB_TOKEN }}
7272
instructions: |
@@ -77,7 +77,7 @@ jobs:
7777
submodules: false
7878

7979
- name: Setup conda
80-
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
80+
uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.7
8181
with:
8282
python-version: '3.10'
8383

.github/workflows/_unittest.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ on:
2626

2727
jobs:
2828
linux:
29-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
29+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
3030
permissions:
3131
id-token: write
3232
contents: read
@@ -41,7 +41,7 @@ jobs:
4141
.ci/scripts/unittest-linux.sh --build-tool "${{ inputs.build-tool }}" --build-mode "${{ inputs.build-mode }}" --editable "${{ inputs.editable }}"
4242
4343
macos:
44-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
44+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.7
4545
with:
4646
runner: macos-m1-stable
4747
python-version: '3.11'

.github/workflows/android-perf.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155

156156
export-models:
157157
name: export-models
158-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
158+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
159159
permissions:
160160
id-token: write
161161
contents: read
@@ -337,7 +337,7 @@ jobs:
337337
338338
build-benchmark-app:
339339
name: build-benchmark-app
340-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
340+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
341341
permissions:
342342
id-token: write
343343
contents: read
@@ -381,7 +381,7 @@ jobs:
381381
permissions:
382382
id-token: write
383383
contents: read
384-
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@main
384+
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@release/2.7
385385
needs:
386386
- set-parameters
387387
- prepare-test-specs
@@ -427,7 +427,7 @@ jobs:
427427
aws-region: us-east-1
428428

429429
- name: Setup conda
430-
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
430+
uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.7
431431
with:
432432
python-version: '3.10'
433433

@@ -485,7 +485,7 @@ jobs:
485485
done
486486
487487
- name: Upload the benchmark results (v3)
488-
uses: pytorch/test-infra/.github/actions/upload-benchmark-results@main
488+
uses: pytorch/test-infra/.github/actions/upload-benchmark-results@release/2.7
489489
with:
490490
benchmark-results-dir: benchmark-results/v3
491491
dry-run: false

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

+1-1
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_v2.yml@main
34+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
3535
permissions:
3636
id-token: write
3737
contents: read

.github/workflows/apple-perf.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ jobs:
157157

158158
export-models:
159159
name: export-models
160-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
160+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.7
161161
needs: set-parameters
162162
secrets: inherit
163163
strategy:
@@ -346,7 +346,7 @@ jobs:
346346
347347
build-benchmark-app:
348348
name: build-benchmark-app
349-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
349+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.7
350350
needs:
351351
- set-parameters
352352
secrets: inherit
@@ -436,7 +436,7 @@ jobs:
436436
permissions:
437437
id-token: write
438438
contents: read
439-
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@main
439+
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@release/2.7
440440
strategy:
441441
matrix: ${{ fromJson(needs.set-parameters.outputs.benchmark_configs) }}
442442
fail-fast: false
@@ -479,7 +479,7 @@ jobs:
479479
aws-region: us-east-1
480480

481481
- name: Setup conda
482-
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
482+
uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.7
483483
with:
484484
python-version: '3.10'
485485

@@ -535,7 +535,7 @@ jobs:
535535
done
536536
537537
- name: Upload the benchmark results (v3)
538-
uses: pytorch/test-infra/.github/actions/upload-benchmark-results@main
538+
uses: pytorch/test-infra/.github/actions/upload-benchmark-results@release/2.7
539539
with:
540540
benchmark-results-dir: benchmark-results/v3
541541
dry-run: false

.github/workflows/apple.yml

+4-4
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.7
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.7
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.7
136136
with:
137137
runner: macos-latest-xlarge
138138
python-version: '3.11'
@@ -274,7 +274,7 @@ jobs:
274274
name: build-benchmark-app
275275
# NB: Don't run this on fork PRs because they won't have access to the secret and would fail anyway
276276
if: ${{ !github.event.pull_request.head.repo.fork }}
277-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
277+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.7
278278
secrets: inherit
279279
with:
280280
runner: macos-latest-xlarge

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222

2323
jobs:
2424
generate-matrix:
25-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
25+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.7
2626
with:
2727
package-type: wheel
2828
os: linux
@@ -47,7 +47,7 @@ jobs:
4747
smoke-test-script: .ci/scripts/wheel/test_linux.py
4848
package-name: executorch
4949
name: ${{ matrix.repository }}
50-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
50+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.7
5151
with:
5252
repository: ${{ matrix.repository }}
5353
ref: ""

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222

2323
jobs:
2424
generate-matrix:
25-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
25+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.7
2626
with:
2727
package-type: wheel
2828
os: macos-arm64
@@ -47,7 +47,7 @@ jobs:
4747
smoke-test-script: .ci/scripts/wheel/test_macos.py
4848
package-name: executorch
4949
name: ${{ matrix.repository }}
50-
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
50+
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.7
5151
with:
5252
repository: ${{ matrix.repository }}
5353
ref: ""

.github/workflows/doc-build.yml

+2-2
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_v2.yml@main
18+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
1919
permissions:
2020
id-token: write
2121
contents: read
@@ -93,7 +93,7 @@ jobs:
9393
permissions:
9494
id-token: write
9595
contents: write
96-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
96+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
9797
with:
9898
repository: pytorch/executorch
9999
download-artifact: docs

.github/workflows/docker-builds.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,25 +57,25 @@ jobs:
5757
mkdir "${GITHUB_WORKSPACE}"
5858
5959
- name: Setup SSH (Click me for login details)
60-
uses: pytorch/test-infra/.github/actions/setup-ssh@main
60+
uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.7
6161
with:
6262
github-secret: ${{ secrets.GITHUB_TOKEN }}
6363

6464
- name: Checkout Executorch
6565
uses: actions/checkout@v3
6666

6767
- name: Setup Linux
68-
uses: pytorch/test-infra/.github/actions/setup-linux@main
68+
uses: pytorch/test-infra/.github/actions/setup-linux@release/2.7
6969

7070
- name: Build docker image
7171
id: build-docker-image
72-
uses: pytorch/test-infra/.github/actions/calculate-docker-image@main
72+
uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.7
7373
with:
7474
docker-image-name: ${{ matrix.docker-image-name }}
7575
always-rebuild: true
7676
push: true
7777
force-push: true
7878

7979
- name: Teardown Linux
80-
uses: pytorch/test-infra/.github/actions/teardown-linux@main
80+
uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.7
8181
if: always()

.github/workflows/lint.yml

+2-2
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_v2.yml@main
19+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
2020
permissions:
2121
id-token: write
2222
contents: read
@@ -65,7 +65,7 @@ jobs:
6565
exit $RC
6666
6767
android-java-format:
68-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
68+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
6969
permissions:
7070
id-token: write
7171
contents: read

.github/workflows/nightly.yml

+1-1
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.7
2525
if: ${{ github.event_name == 'schedule' }}
2626
with:
2727
repo-name: pytorch

.github/workflows/periodic.yml

+1-1
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_v2.yml@main
42+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
4343
permissions:
4444
id-token: write
4545
contents: read

0 commit comments

Comments
 (0)