Skip to content

Commit 9f1f959

Browse files
authored
[release 0.9] Use release 2.9 and stable torch (#1090)
1 parent cb82662 commit 9f1f959

File tree

5 files changed

+25
-25
lines changed

5 files changed

+25
-25
lines changed

.github/workflows/docs.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ defaults:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.9
1919
with:
2020
package-type: wheel
2121
os: linux
2222
test-infra-repository: pytorch/test-infra
23-
test-infra-ref: main
23+
test-infra-ref: release/2.9
2424
with-cpu: disable
2525
with-xpu: disable
2626
with-rocm: disable
@@ -31,12 +31,12 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
name: Build and Upload wheel
34-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
34+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.9
3535
with:
3636
repository: meta-pytorch/torchcodec
3737
ref: ""
3838
test-infra-repository: pytorch/test-infra
39-
test-infra-ref: main
39+
test-infra-ref: release/2.9
4040
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4141
pre-script: packaging/pre_build_script.sh
4242
post-script: packaging/post_build_script.sh
@@ -92,7 +92,7 @@ jobs:
9292
run: ${CONDA_RUN} python -m pip install --upgrade pip
9393
- name: Install PyTorch
9494
run: |
95-
${CONDA_RUN} python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu${{ env.cuda_version_without_periods }}
95+
${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cu${{ env.cuda_version_without_periods }}
9696
${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")'
9797
- name: Install torchcodec from the wheel
9898
run: |

.github/workflows/linux_cuda_wheel.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ defaults:
2525

2626
jobs:
2727
generate-matrix:
28-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
28+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.9
2929
with:
3030
package-type: wheel
3131
os: linux
3232
test-infra-repository: pytorch/test-infra
33-
test-infra-ref: main
33+
test-infra-ref: release/2.9
3434
with-cpu: disable
3535
with-xpu: disable
3636
with-rocm: disable
@@ -41,12 +41,12 @@ jobs:
4141
strategy:
4242
fail-fast: false
4343
name: Build and Upload wheel
44-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
44+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.9
4545
with:
4646
repository: meta-pytorch/torchcodec
4747
ref: ""
4848
test-infra-repository: pytorch/test-infra
49-
test-infra-ref: main
49+
test-infra-ref: release/2.9
5050
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5151
pre-script: packaging/pre_build_script.sh
5252
post-script: packaging/post_build_script.sh
@@ -109,7 +109,7 @@ jobs:
109109
run: ${CONDA_RUN} python -m pip install --upgrade pip
110110
- name: Install PyTorch
111111
run: |
112-
${CONDA_RUN} python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu${{ env.cuda_version_without_periods }}
112+
${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cu${{ env.cuda_version_without_periods }}
113113
${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")'
114114
- name: Install torchcodec from the wheel
115115
run: |

.github/workflows/linux_wheel.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ defaults:
2626
jobs:
2727

2828
generate-matrix:
29-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
29+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.9
3030
with:
3131
package-type: wheel
3232
os: linux
3333
test-infra-repository: pytorch/test-infra
34-
test-infra-ref: main
34+
test-infra-ref: release/2.9
3535
with-xpu: disable
3636
with-rocm: disable
3737
with-cuda: disable
@@ -42,12 +42,12 @@ jobs:
4242
strategy:
4343
fail-fast: false
4444
name: Build and Upload Linux wheel
45-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
45+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.9
4646
with:
4747
repository: meta-pytorch/torchcodec
4848
ref: ""
4949
test-infra-repository: pytorch/test-infra
50-
test-infra-ref: main
50+
test-infra-ref: release/2.9
5151
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5252
pre-script: packaging/pre_build_script.sh
5353
post-script: packaging/post_build_script.sh
@@ -85,7 +85,7 @@ jobs:
8585
run: python -m pip install --upgrade pip
8686
- name: Install PyTorch
8787
run: |
88-
python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
88+
python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
8989
- name: Install torchcodec from the wheel
9090
run: |
9191
wheel_path=`find pytorch/torchcodec/dist -type f -name "*.whl"`

.github/workflows/macos_wheel.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ defaults:
2626
jobs:
2727

2828
generate-matrix:
29-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
29+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.9
3030
with:
3131
package-type: wheel
3232
os: macos-arm64
3333
test-infra-repository: pytorch/test-infra
34-
test-infra-ref: main
34+
test-infra-ref: release/2.9
3535
with-xpu: disable
3636
with-rocm: disable
3737
with-cuda: disable
@@ -42,12 +42,12 @@ jobs:
4242
strategy:
4343
fail-fast: false
4444
name: Build and Upload Mac wheel
45-
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
45+
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.9
4646
with:
4747
repository: meta-pytorch/torchcodec
4848
ref: ""
4949
test-infra-repository: pytorch/test-infra
50-
test-infra-ref: main
50+
test-infra-ref: release/2.9
5151
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5252
pre-script: packaging/pre_build_script.sh
5353
post-script: packaging/post_build_script.sh
@@ -86,7 +86,7 @@ jobs:
8686

8787
- name: Install PyTorch
8888
run: |
89-
python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
89+
python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
9090
9191
- name: Install torchcodec from the wheel
9292
run: |

.github/workflows/windows_wheel.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ defaults:
2626
jobs:
2727

2828
generate-matrix:
29-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
29+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.9
3030
with:
3131
package-type: wheel
3232
os: windows
3333
test-infra-repository: pytorch/test-infra
34-
test-infra-ref: main
34+
test-infra-ref: release/2.9
3535
with-xpu: disable
3636
with-rocm: disable
3737
with-cuda: disable
@@ -44,12 +44,12 @@ jobs:
4444
strategy:
4545
fail-fast: false
4646
name: Build and Upload Windows wheel
47-
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main
47+
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@release/2.9
4848
with:
4949
repository: meta-pytorch/torchcodec
5050
ref: ""
5151
test-infra-repository: pytorch/test-infra
52-
test-infra-ref: main
52+
test-infra-ref: release/2.9
5353
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5454
pre-script: packaging/pre_build_script.sh
5555
# post-script: packaging/post_build_script.sh TODO: consider enabling post-build checks for Windows
@@ -93,7 +93,7 @@ jobs:
9393
run: python -m pip install --upgrade pip
9494
- name: Install PyTorch
9595
run: |
96-
python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
96+
python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
9797
- name: Install torchcodec from the wheel
9898
run: |
9999
wheel_path=`find pytorch/torchcodec/dist -type f -name "*.whl"`

0 commit comments

Comments
 (0)