Skip to content

Commit def5653

Browse files
author
Will Feng
committed
try to fix
1 parent 34405ae commit def5653

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

.jenkins/build.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ sudo apt-get install -y --no-install-recommends unzip p7zip-full sox libsox-dev
1414
export PATH=/opt/conda/bin:$PATH
1515
rm -rf src
1616
pip install -r $DIR/../requirements.txt
17-
pip uninstall -y torchvision || true
1817

1918
export PATH=/opt/conda/bin:$PATH
2019
conda install -y sphinx==1.8.2 pandas
@@ -25,14 +24,6 @@ pip install -e git+git://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch
2524
# this is a workaround to the issue.
2625
pip install sphinx-gallery tqdm matplotlib ipython pillow==4.1.1
2726

28-
# Install torchvision from conda (and install torch along with it)
29-
if [[ $(pip show torch) ]]; then
30-
# Clean up previous PyTorch installations
31-
pip uninstall -y torch || true
32-
pip uninstall -y torch || true
33-
fi
34-
conda install -c pytorch torchvision
35-
3627
# Install torchaudio from source
3728
git clone https://github.com/pytorch/audio --quiet
3829
pushd audio

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ sphinx-gallery
55
tqdm
66
numpy
77
matplotlib
8+
torch
89
torchvision
910
PyHamcrest
1011
bs4

0 commit comments

Comments
 (0)