Skip to content

Commit 9d6184b

Browse files
author
Beat Buesser
committed
Set torch* version for Lingvo workflow
Signed-off-by: Beat Buesser <[email protected]>
1 parent 4e0dfe3 commit 9d6184b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci-lingvo.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
sudo apt-get update
4848
sudo apt-get -y -q install ffmpeg libavcodec-extra
4949
python -m pip install --upgrade pip setuptools wheel
50-
pip install -q -r <(sed '/^scipy/d;/^matplotlib/d;/^pandas/d;/^statsmodels/d;/^numba/d;/^jax/d;/^h5py/d;/^Pillow/d;/^pytest-mock/d' requirements_test.txt)
50+
pip install -q -r <(sed '/^scipy/d;/^matplotlib/d;/^pandas/d;/^statsmodels/d;/^numba/d;/^jax/d;/^h5py/d;/^Pillow/d;/^pytest-mock/d;/^torch/d;/^torchaudio/d;/^torchvision/d' requirements_test.txt)
5151
pip install scipy==1.5.4
5252
pip install matplotlib==3.3.4
5353
pip install pandas==1.1.5
@@ -61,6 +61,9 @@ jobs:
6161
pip install jax[cpu]==0.2.17
6262
pip install h5py==2.10.0
6363
pip install pytest-mock
64+
pip install torch==1.10.2+cpu
65+
pip install torchaudio==0.10.2+cpu
66+
pip install torchvision==0.11.3+cpu
6467
pip list
6568
- name: Run ${{ matrix.name }} Tests
6669
run: ./run_tests.sh ${{ matrix.framework }}

0 commit comments

Comments
 (0)