Skip to content

Commit e4f1579

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

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-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

0 commit comments

Comments
 (0)