Skip to content

Commit e3c6ee2

Browse files
authored
rely on release/2.9 from test-infra and set version (#4106)
1 parent caba63f commit e3c6ee2

12 files changed

+32
-29
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ permissions:
2323

2424
jobs:
2525
generate-matrix:
26-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
26+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.9
2727
with:
2828
package-type: wheel
2929
os: macos-arm64
3030
test-infra-repository: pytorch/test-infra
31-
test-infra-ref: main
31+
test-infra-ref: release/2.9
3232
build:
3333
needs: generate-matrix
3434
strategy:
@@ -39,12 +39,12 @@ jobs:
3939
smoke-test-script: test/smoke_test/smoke_test_no_ffmpeg.py
4040
package-name: torchaudio
4141
name: ${{ matrix.repository }}
42-
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
42+
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.9
4343
with:
4444
repository: ${{ matrix.repository }}
4545
ref: ""
4646
test-infra-repository: pytorch/test-infra
47-
test-infra-ref: main
47+
test-infra-ref: release/2.9
4848
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4949
smoke-test-script: ${{ matrix.smoke-test-script }}
5050
runner-type: macos-m1-stable

.github/workflows/build_wheels_aarch64_linux.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ permissions:
2323

2424
jobs:
2525
generate-matrix:
26-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
26+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.9
2727
with:
2828
package-type: wheel
2929
os: linux-aarch64
3030
test-infra-repository: pytorch/test-infra
31-
test-infra-ref: main
31+
test-infra-ref: release/2.9
3232
with-cuda: enable
3333
build:
3434
needs: generate-matrix
@@ -40,12 +40,12 @@ jobs:
4040
smoke-test-script: test/smoke_test/smoke_test.py
4141
package-name: torchaudio
4242
name: ${{ matrix.repository }}
43-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
43+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.9
4444
with:
4545
repository: ${{ matrix.repository }}
4646
ref: ""
4747
test-infra-repository: pytorch/test-infra
48-
test-infra-ref: main
48+
test-infra-ref: release/2.9
4949
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5050
pre-script: ${{ matrix.pre-script }}
5151
post-script: ${{ matrix.post-script }}

.github/workflows/build_wheels_linux.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ permissions:
2323

2424
jobs:
2525
generate-matrix:
26-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
26+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.9
2727
with:
2828
package-type: wheel
2929
os: linux
3030
test-infra-repository: pytorch/test-infra
31-
test-infra-ref: main
31+
test-infra-ref: release/2.9
3232
with-xpu: enable
3333
build:
3434
needs: generate-matrix
@@ -40,12 +40,12 @@ jobs:
4040
smoke-test-script: test/smoke_test/smoke_test_no_ffmpeg.py
4141
package-name: torchaudio
4242
name: ${{ matrix.repository }}
43-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
43+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.9
4444
with:
4545
repository: ${{ matrix.repository }}
4646
ref: ""
4747
test-infra-repository: pytorch/test-infra
48-
test-infra-ref: main
48+
test-infra-ref: release/2.9
4949
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5050
smoke-test-script: ${{ matrix.smoke-test-script }}
5151
package-name: ${{ matrix.package-name }}

.github/workflows/build_wheels_windows.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ permissions:
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.9
2323
with:
2424
package-type: wheel
2525
os: windows
2626
test-infra-repository: pytorch/test-infra
27-
test-infra-ref: main
27+
test-infra-ref: release/2.9
2828
with-xpu: enable
2929
build:
3030
needs: generate-matrix
@@ -38,12 +38,12 @@ jobs:
3838
smoke-test-script: test/smoke_test/smoke_test_no_ffmpeg.py
3939
package-name: torchaudio
4040
name: ${{ matrix.repository }}
41-
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main
41+
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@release/2.9
4242
with:
4343
repository: ${{ matrix.repository }}
4444
ref: ""
4545
test-infra-repository: pytorch/test-infra
46-
test-infra-ref: main
46+
test-infra-ref: release/2.9
4747
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4848
env-script: ${{ matrix.env-script }}
4949
package-name: ${{ matrix.package-name }}

.github/workflows/docs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ jobs:
5757
echo "::group::Install PyTorch and TorchCodec"
5858
PYTORCH_WHEEL_INDEX="https://download.pytorch.org/whl/${UPLOAD_CHANNEL}/cu${CU_VERSION_WITHOUT_PERIODS}"
5959
python -m pip install numpy
60-
python -m pip install --pre torch torchcodec --index-url="${PYTORCH_WHEEL_INDEX}"
60+
python -m pip install --pre torch --index-url="${PYTORCH_WHEEL_INDEX}"
61+
python -m pip install --pre torchcodec --index-url="https://download.pytorch.org/whl/nightly/cu${CU_VERSION_WITHOUT_PERIODS}"
6162
python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")'
6263
echo "::endgroup::"
6364

.github/workflows/ffmpeg.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
ffmpeg_version: ["4.4.4", "5.1.4", "6.1.1", "master"]
21-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
21+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.9
2222
permissions:
2323
id-token: write
2424
contents: read
@@ -42,7 +42,7 @@ jobs:
4242
fail-fast: false
4343
matrix:
4444
ffmpeg_version: ["4.4.4", "5.1.4", "6.1.1", "master"]
45-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
45+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.9
4646
permissions:
4747
id-token: write
4848
contents: read
@@ -69,7 +69,7 @@ jobs:
6969
matrix:
7070
ffmpeg_version: ["4.4.4", "5.1.4", "6.1.1", "master"]
7171
runner: ["macos-m1-stable", "macos-12"]
72-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
72+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.9
7373
with:
7474
job-name: Build
7575
upload-artifact: ffmpeg-lgpl
@@ -91,7 +91,7 @@ jobs:
9191
fail-fast: false
9292
matrix:
9393
ffmpeg_version: ["4.4.4", "5.1.4", "6.1.1", "master"]
94-
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
94+
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.9
9595
with:
9696
job-name: Build
9797
upload-artifact: ffmpeg-lgpl

.github/workflows/unittest-linux-cpu.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
python-version: ["3.11"]
1717
ffmpeg-version: ["7"]
1818
fail-fast: false
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.9
2020
permissions:
2121
id-token: write
2222
contents: read
@@ -62,7 +62,8 @@ jobs:
6262
6363
echo "::group::Install PyTorch and TorchCodec"
6464
PYTORCH_WHEEL_INDEX="https://download.pytorch.org/whl/${UPLOAD_CHANNEL}/cpu"
65-
python -m pip install --pre torch torchcodec --index-url="${PYTORCH_WHEEL_INDEX}"
65+
python -m pip install --pre torch --index-url="${PYTORCH_WHEEL_INDEX}"
66+
python -m pip install --pre torchcodec --index-url="https://download.pytorch.org/whl/nightly/cpu"
6667
python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}")'
6768
python -c 'import torchcodec; print(f"{torchcodec.__version__}"); print(f"{torchcodec.__file__}")'
6869
echo "::endgroup::"

.github/workflows/unittest-linux-gpu.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
python_version: ["3.10"]
1818
cuda_arch_version: ["12.6"]
1919
fail-fast: false
20-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
20+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.9
2121
permissions:
2222
id-token: write
2323
contents: read
@@ -63,7 +63,8 @@ jobs:
6363
echo "::group::Install PyTorch"
6464
export GPU_ARCH_ID="cu126" # TODO this is currently hardcoded, should depend on matrix's value.
6565
PYTORCH_WHEEL_INDEX="https://download.pytorch.org/whl/${UPLOAD_CHANNEL}/${GPU_ARCH_ID}"
66-
pip install --progress-bar=off --pre torch torchcodec --index-url="${PYTORCH_WHEEL_INDEX}"
66+
pip install --progress-bar=off --pre torch --index-url="${PYTORCH_WHEEL_INDEX}"
67+
pip install --progress-bar=off --pre torchcodec --index-url="https://download.pytorch.org/whl/nightly/${GPU_ARCH_ID}"
6768
echo "::endgroup::"
6869
6970
echo "::group::Install TorchAudio"

.github/workflows/unittest-macos-cpu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414

1515
jobs:
1616
tests:
17-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
17+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.9
1818
with:
1919
runner: macos-m1-stable
2020
repository: pytorch/audio

.github/workflows/unittest-windows-cpu.yml

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

1212
jobs:
1313
unittests-windows-cpu:
14-
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
14+
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.9
1515
with:
1616
repository: pytorch/audio
1717
runner: windows.4xlarge

0 commit comments

Comments
 (0)