Skip to content

Commit 967cbde

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

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.jenkins/build.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ 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
17+
# pip uninstall -y torchvision || true
1818

1919
export PATH=/opt/conda/bin:$PATH
2020
conda install -y sphinx==1.8.2 pandas
@@ -25,13 +25,13 @@ pip install -e git+git://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch
2525
# this is a workaround to the issue.
2626
pip install sphinx-gallery tqdm matplotlib ipython pillow==4.1.1
2727

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
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
3535

3636
# Install torchaudio from source
3737
git clone https://github.com/pytorch/audio --quiet

0 commit comments

Comments
 (0)