Skip to content

Commit 6e134c3

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

44 files changed

Lines changed: 170 additions & 164 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/_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

.github/workflows/apple.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
name: build-demo-ios
8686
# NB: Don't run this on fork PRs because they won't have access to the secret and would fail anyway
8787
if: ${{ !github.event.pull_request.head.repo.fork }}
88-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
88+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.12
8989
secrets: inherit
9090
with:
9191
default-packages: ""
@@ -156,7 +156,7 @@ jobs:
156156
permissions:
157157
id-token: write
158158
contents: read
159-
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@main
159+
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@release/2.12
160160
with:
161161
device-type: ios
162162
# For iOS testing, the runner just needs to call AWS Device Farm, so there is no need to run this on macOS
@@ -175,7 +175,7 @@ jobs:
175175
build-frameworks-ios:
176176
name: build-frameworks-ios
177177
needs: set-version
178-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
178+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.12
179179
with:
180180
default-packages: ""
181181
runner: macos-14-xlarge
@@ -315,7 +315,7 @@ jobs:
315315
name: build-benchmark-app
316316
# NB: Don't run this on fork PRs because they won't have access to the secret and would fail anyway
317317
if: ${{ !github.event.pull_request.head.repo.fork }}
318-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
318+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.12
319319
secrets: inherit
320320
with:
321321
default-packages: ""

0 commit comments

Comments
 (0)