Skip to content

Commit 3ff68a3

Browse files
committed
[RELEASE ONLY CHANGES] Pin ExecuTorch 1.6 CI to test-infra release/2.15
1 parent 4db778e commit 3ff68a3

42 files changed

Lines changed: 328 additions & 183 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.ci/scripts/tests/test_cuda_workflow.py‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,18 @@ def test_build_matrix_preserves_existing_cuda_versions(self):
3939
)
4040
self.assertEqual(job["with"]["gpu-arch-version"], "${{ matrix.cuda-version }}")
4141

42-
def test_cuda_builds_take_the_node_driver_on_an_unpinned_v3(self):
42+
def test_cuda_builds_take_the_node_driver_on_the_release_v3(self):
4343
# This job used to pin linux_job_v2 to a test-infra SHA because that was
4444
# the only ref carrying driver-version / driver-download-url, and it
4545
# installed R615 for the 13.4 cell. On OSDC the driver belongs to the
4646
# node and a pod cannot replace it, so the job takes what the node has.
4747
job = WORKFLOW["jobs"]["test-cuda-builds"]
4848
self.assertEqual(
49-
job["uses"], "pytorch/test-infra/.github/workflows/linux_job_v3.yml@main"
49+
job["uses"],
50+
"pytorch/test-infra/.github/workflows/linux_job_v3.yml@release/2.15",
5051
)
51-
for pin in ("test-infra-ref", "driver-version", "driver-download-url"):
52+
self.assertEqual(job["with"]["test-infra-ref"], "release/2.15")
53+
for pin in ("driver-version", "driver-download-url"):
5254
self.assertNotIn(pin, job["with"])
5355

5456
def test_cuda_runtime_update_precedes_build_and_propagates_failure(self):

‎.github/workflows/_android.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
API_LEVEL: 34
7171
steps:
7272
- name: Setup SSH (Click me for login details)
73-
uses: pytorch/test-infra/.github/actions/setup-ssh@main
73+
uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.15
7474
with:
7575
github-secret: ${{ secrets.GITHUB_TOKEN }}
7676
instructions: |

‎.github/workflows/_llm_server.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ jobs:
1616

1717
linux:
1818
needs: docker-image
19-
uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@main
19+
uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@release/2.15
2020
permissions:
2121
id-token: write
2222
contents: read
2323
with:
24+
test-infra-ref: release/2.15
2425
runner: mt-l-x86iavx512-8-64
2526
docker-image: ${{ needs.docker-image.outputs.docker-registry }}/${{ inputs.docker-image }}-${{ needs.docker-image.outputs.ci-docker-hash }}
2627
submodules: recursive

‎.github/workflows/_test_arduino_library.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ jobs:
2020

2121
run:
2222
needs: docker-image
23-
uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@main
23+
uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@release/2.15
2424
permissions:
2525
id-token: write
2626
contents: read
2727
with:
28+
test-infra-ref: release/2.15
2829
job-name: arduino-library
2930
runner: mt-l-x86iavx512-8-64
3031
docker-image: ${{ needs.docker-image.outputs.docker-registry }}/ci-image:executorch-ubuntu-22.04-arm-sdk-${{ needs.docker-image.outputs.ci-docker-hash }}

‎.github/workflows/_test_backend.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,12 @@ jobs:
6868
suite: [models, operators]
6969
exclude: ${{ fromJSON(inputs.exclude) }}
7070

71-
uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@main
71+
uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@release/2.15
7272
permissions:
7373
id-token: write
7474
contents: read
7575
with:
76+
test-infra-ref: release/2.15
7677
ref: ${{ inputs.ref }}
7778
runner: ${{ inputs.runner-linux }}
7879
docker-image: ${{ needs.docker-image.outputs.docker-registry }}/${{ inputs.docker-image }}-${{ needs.docker-image.outputs.ci-docker-hash }}
@@ -157,8 +158,9 @@ jobs:
157158
suite: [models, operators]
158159
exclude: ${{ fromJSON(inputs.exclude) }}
159160

160-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
161+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.15
161162
with:
163+
test-infra-ref: release/2.15
162164
default-packages: ""
163165
ref: ${{ inputs.ref }}
164166
runner: macos-m1-stable

‎.github/workflows/_test_cadence.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ on:
2828

2929
jobs:
3030
test-aot:
31-
uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@main
31+
uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@release/2.15
3232
permissions:
3333
contents: read
3434
with:
35+
test-infra-ref: release/2.15
3536
job-name: test-aot
3637
runner: ${{ inputs.runner }}
3738
docker-image: ${{ inputs.docker-image }}
@@ -50,10 +51,11 @@ jobs:
5051
python -m pytest backends/cadence/aot/tests/ -v -n auto --reruns 2 --reruns-delay 1
5152
5253
test-ops:
53-
uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@main
54+
uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@release/2.15
5455
permissions:
5556
contents: read
5657
with:
58+
test-infra-ref: release/2.15
5759
job-name: test-ops
5860
runner: ${{ inputs.runner }}
5961
docker-image: ${{ inputs.docker-image }}

‎.github/workflows/_test_cortex_m_e2e.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
run:
3131
needs: docker-image
32-
uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@main
32+
uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@release/2.15
3333
permissions:
3434
id-token: write
3535
contents: read
@@ -39,6 +39,7 @@ jobs:
3939
target: ${{ fromJSON(inputs.targets) }}
4040
fail-fast: false
4141
with:
42+
test-infra-ref: release/2.15
4243
job-name: ${{ matrix.model }}-${{ matrix.target }}
4344
runner: mt-l-x86iavx512-8-64
4445
docker-image: ${{ needs.docker-image.outputs.docker-registry }}/ci-image:executorch-ubuntu-22.04-arm-sdk-${{ needs.docker-image.outputs.ci-docker-hash }}

‎.github/workflows/_test_cortex_m_ops.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
run:
2626
needs: docker-image
27-
uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@main
27+
uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@release/2.15
2828
permissions:
2929
id-token: write
3030
contents: read
@@ -33,6 +33,7 @@ jobs:
3333
target: ${{ fromJSON(inputs.targets) }}
3434
fail-fast: false
3535
with:
36+
test-infra-ref: release/2.15
3637
job-name: cortex-m-ops-${{ matrix.target }}
3738
runner: mt-l-x86iavx512-8-64
3839
docker-image: ${{ needs.docker-image.outputs.docker-registry }}/ci-image:executorch-ubuntu-22.04-arm-sdk-${{ needs.docker-image.outputs.ci-docker-hash }}

‎.github/workflows/_test_riscv.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,12 @@ jobs:
4343

4444
run:
4545
needs: docker-image
46-
uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@main
46+
uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@release/2.15
4747
permissions:
4848
id-token: write
4949
contents: read
5050
with:
51+
test-infra-ref: release/2.15
5152
runner: mt-l-x86iavx512-8-64
5253
docker-image: ${{ needs.docker-image.outputs.docker-registry }}/ci-image:executorch-ubuntu-24.04-gcc14-${{ needs.docker-image.outputs.ci-docker-hash }}
5354
submodules: 'recursive'

‎.github/workflows/_unittest.yml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@ jobs:
3636

3737
linux:
3838
needs: docker-image
39-
uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@main
39+
uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@release/2.15
4040
permissions:
4141
id-token: write
4242
contents: read
4343
with:
44+
test-infra-ref: release/2.15
4445
runner: mt-l-x86iavx512-8-64
4546
docker-image: ${{ needs.docker-image.outputs.docker-registry }}/${{ inputs.docker-image }}-${{ needs.docker-image.outputs.ci-docker-hash }}
4647
submodules: 'recursive'
@@ -51,8 +52,9 @@ jobs:
5152
.ci/scripts/unittest-linux.sh --build-tool "${{ inputs.build-tool }}" --build-mode "${{ inputs.build-mode }}" --editable "${{ inputs.editable }}"
5253
5354
macos:
54-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
55+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.15
5556
with:
57+
test-infra-ref: release/2.15
5658
default-packages: ""
5759
runner: macos-m1-stable
5860
python-version: '3.11'
@@ -67,8 +69,9 @@ jobs:
6769
6870
windows:
6971
if: ${{ inputs.build-tool == 'cmake' }}
70-
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
72+
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.15
7173
with:
74+
test-infra-ref: release/2.15
7275
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
7376
timeout: 120
7477
script: |

0 commit comments

Comments
 (0)