Skip to content

Commit a4717ff

Browse files
committed
[RELEASE ONLY CHANGES] Update 1.3 release dependencies
1 parent ed0a970 commit a4717ff

45 files changed

Lines changed: 179 additions & 167 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/test_model_e2e.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ elif [[ "$MODEL_NAME" == *whisper* ]] || [ "$MODEL_NAME" = "voxtral_realtime" ];
284284
fi
285285
fi
286286
pip install datasets soundfile
287-
pip install torchcodec==0.11.0 --extra-index-url https://download.pytorch.org/whl/test/cpu
287+
pip install torchcodec==0.13.0 --index-url https://download.pytorch.org/whl/cpu
288288
python -c "from datasets import load_dataset;import soundfile as sf;sample = load_dataset('distil-whisper/librispeech_long', 'clean', split='validation')[0]['audio'];sf.write('${MODEL_DIR}/$AUDIO_FILE', sample['array'][:sample['sampling_rate']*30], sample['sampling_rate'])"
289289
fi
290290

.ci/scripts/test_wheel_package_qnn.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ PY
167167
# )
168168
echo "=== [$LABEL] Install torch==${TORCH_VERSION} ==="
169169

170-
# Install torch based on the pinned PyTorch version, preferring the PyTorch test index
171-
"$PIPBIN" install torch=="${TORCH_VERSION}" --extra-index-url "https://download.pytorch.org/whl/test"
170+
# Install torch based on the pinned PyTorch version.
171+
"$PIPBIN" install --no-cache-dir torch=="${TORCH_VERSION}" --index-url "https://download.pytorch.org/whl/cpu"
172172
"$PIPBIN" install wheel
173173

174174
# Install torchao based on the pinned commit from third-party/ao submodule

.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.12
7474
with:
7575
github-secret: ${{ secrets.GITHUB_TOKEN }}
7676
instructions: |

.github/workflows/_link_check.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ jobs:
1616
- uses: actions/checkout@v4
1717
with:
1818
ref: ${{ inputs.ref }}
19-
- name: Fetch base ref
19+
- name: Fetch comparison refs
2020
run: |
2121
if [ "${{ github.event_name }}" = "pull_request" ]; then
2222
git fetch --no-tags --depth=1 origin "${{ github.event.pull_request.base.sha }}"
23+
git fetch --no-tags --depth=1 origin "${{ github.event.pull_request.head.sha }}"
2324
else
2425
git fetch --no-tags --depth=1 origin "${{ github.event.before }}"
26+
git fetch --no-tags --depth=1 origin "${{ github.sha }}"
2527
fi
2628
- name: Lint URLs
2729
run: |
@@ -49,12 +51,14 @@ jobs:
4951
- uses: actions/checkout@v4
5052
with:
5153
ref: ${{ inputs.ref }}
52-
- name: Fetch base ref
54+
- name: Fetch comparison refs
5355
run: |
5456
if [ "${{ github.event_name }}" = "pull_request" ]; then
5557
git fetch --no-tags --depth=1 origin "${{ github.event.pull_request.base.sha }}"
58+
git fetch --no-tags --depth=1 origin "${{ github.event.pull_request.head.sha }}"
5659
else
5760
git fetch --no-tags --depth=1 origin "${{ github.event.before }}"
61+
git fetch --no-tags --depth=1 origin "${{ github.sha }}"
5862
fi
5963
- name: Lint cross-references
6064
run: |
@@ -82,12 +86,14 @@ jobs:
8286
- uses: actions/checkout@v4
8387
with:
8488
ref: ${{ inputs.ref }}
85-
- name: Fetch base ref
89+
- name: Fetch comparison refs
8690
run: |
8791
if [ "${{ github.event_name }}" = "pull_request" ]; then
8892
git fetch --no-tags --depth=1 origin "${{ github.event.pull_request.base.sha }}"
93+
git fetch --no-tags --depth=1 origin "${{ github.event.pull_request.head.sha }}"
8994
else
9095
git fetch --no-tags --depth=1 origin "${{ github.event.before }}"
96+
git fetch --no-tags --depth=1 origin "${{ github.sha }}"
9197
fi
9298
- name: Lint file sizes
9399
run: |

.github/workflows/_test_backend.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
flow: ${{ fromJSON(inputs.flows) }}
5252
suite: [models, operators]
5353

54-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
54+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.12
5555
with:
5656
ref: ${{ inputs.ref }}
5757
runner: ${{ inputs.runner-linux }}
@@ -127,7 +127,7 @@ jobs:
127127
flow: ${{ fromJSON(inputs.flows) }}
128128
suite: [models, operators]
129129

130-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
130+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.12
131131
with:
132132
default-packages: ""
133133
ref: ${{ inputs.ref }}

.github/workflows/_test_cadence.yml

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

3131
jobs:
3232
test-aot:
33-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
33+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.12
3434
with:
3535
job-name: test-aot
3636
runner: ${{ inputs.runner }}
@@ -50,7 +50,7 @@ jobs:
5050
python -m pytest backends/cadence/aot/tests/ -v -n auto --reruns 2 --reruns-delay 1
5151
5252
test-ops:
53-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
53+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.12
5454
with:
5555
job-name: test-ops
5656
runner: ${{ inputs.runner }}

.github/workflows/_test_cortex_m_e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919

2020
jobs:
2121
run:
22-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
22+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.12
2323
strategy:
2424
matrix:
2525
model: ${{ fromJSON(inputs.models) }}

.github/workflows/_test_riscv.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ on:
3838

3939
jobs:
4040
run:
41-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
41+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.12
4242
with:
4343
runner: linux.2xlarge
4444
docker-image: ${{ inputs.docker-image || 'ci-image:executorch-ubuntu-22.04-gcc11' }}

.github/workflows/_unittest.yml

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

2828
jobs:
2929
linux:
30-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
30+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.12
3131
permissions:
3232
id-token: write
3333
contents: read
@@ -42,7 +42,7 @@ jobs:
4242
.ci/scripts/unittest-linux.sh --build-tool "${{ inputs.build-tool }}" --build-mode "${{ inputs.build-mode }}" --editable "${{ inputs.editable }}"
4343
4444
macos:
45-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
45+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.12
4646
with:
4747
default-packages: ""
4848
runner: macos-m1-stable
@@ -57,7 +57,7 @@ jobs:
5757
5858
windows:
5959
if: ${{ inputs.build-tool == 'cmake' }}
60-
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
60+
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.12
6161
with:
6262
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
6363
timeout: 120

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
name: build-aar
7474
needs: check-if-aar-exists
7575
if: ${{ !github.event.pull_request.head.repo.fork && needs.check-if-aar-exists.outputs.should-skip != 'true' }}
76-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
76+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.12
7777
secrets: inherit
7878
permissions:
7979
id-token: write

0 commit comments

Comments
 (0)