Skip to content

Commit f58abe3

Browse files
committed
Rely on pytorch 2.5.1
1 parent d4baba0 commit f58abe3

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

.github/workflows/cpp_tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: python -m pip install --upgrade pip
3535
- name: Install dependencies
3636
run: |
37-
python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
37+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
3838
- name: Install ffmpeg and pkg-config
3939
run: |
4040
conda install "ffmpeg=${{ matrix.ffmpeg-version-for-tests }}" pkg-config -c conda-forge

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
run: ${CONDA_RUN} python -m pip install --upgrade pip
9292
- name: Install PyTorch
9393
run: |
94-
${CONDA_RUN} python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu${{ env.cuda_version_without_periods }}
94+
${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cu${{ env.cuda_version_without_periods }}
9595
${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")'
9696
- name: Install torchcodec from the wheel
9797
run: |

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
run: python -m pip install --upgrade pip
6363
- name: Install dependencies and FFmpeg
6464
run: |
65-
python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
65+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
6666
conda install "ffmpeg=7.0.1" pkg-config -c conda-forge
6767
ffmpeg -version
6868
- name: Build and install torchcodec

.github/workflows/linux_cuda_wheel.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
run: ${CONDA_RUN} python -m pip install --upgrade pip
104104
- name: Install PyTorch
105105
run: |
106-
${CONDA_RUN} python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu${{ env.cuda_version_without_periods }}
106+
${CONDA_RUN} python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cu${{ env.cuda_version_without_periods }}
107107
${CONDA_RUN} python -c 'import torch; print(f"{torch.__version__}"); print(f"{torch.__file__}"); print(f"{torch.cuda.is_available()=}")'
108108
- name: Install torchcodec from the wheel
109109
run: |

.github/workflows/linux_wheel.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
run: python -m pip install --upgrade pip
8181
- name: Install PyTorch
8282
run: |
83-
python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
83+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
8484
- name: Install torchcodec from the wheel
8585
run: |
8686
wheel_path=`find pytorch/torchcodec/dist -type f -name "*.whl"`
@@ -103,7 +103,7 @@ jobs:
103103
104104
- name: Install test dependencies
105105
run: |
106-
python -m pip install --pre torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
106+
python -m pip install torchvision --index-url https://download.pytorch.org/whl/cpu
107107
# Ideally we would find a way to get those dependencies from pyproject.toml
108108
python -m pip install numpy pytest pillow
109109

.github/workflows/macos_wheel.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484

8585
- name: Install PyTorch
8686
run: |
87-
python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
87+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
8888
8989
- name: Install torchcodec from the wheel
9090
run: |
@@ -102,7 +102,7 @@ jobs:
102102
103103
- name: Install test dependencies
104104
run: |
105-
python -m pip install --pre torchvision --index-url https://download.pytorch.org/whl/nightly/cpu
105+
python -m pip install torchvision --index-url https://download.pytorch.org/whl/cpu
106106
python -m pip install numpy pytest pillow
107107
108108
- name: Delete the src/ folder just for fun

0 commit comments

Comments
 (0)