Skip to content

Commit b0d9128

Browse files
authored
Update build.sh
trying torchvision from source (temp fix.)
1 parent 1febb83 commit b0d9128

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.jenkins/build.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pip install tb-nightly
2424
# Temporary install of 1.2 until release is ready
2525
pip uninstall torchvision -y
2626
pip uninstall torch -y
27-
pip install --pre torch==1.2.0 torchvision -f https://download.pytorch.org/whl/nightly/cu100/torch_nightly.html
27+
pip install --pre torch==1.2.0 -f https://download.pytorch.org/whl/nightly/cu100/torch_nightly.html
2828

2929
# install awscli
3030
# pip uninstall awscli
@@ -37,6 +37,12 @@ pip install -e git+git://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch
3737
# this is a workaround to the issue.
3838
pip install sphinx-gallery==0.3.1 tqdm matplotlib ipython pillow==4.1.1
3939

40+
# Install torchvision from source
41+
git clone https://github.com/pytorch/vision --quiet
42+
pushd vision
43+
python setup.py install
44+
popd
45+
4046
# Install torchaudio from source
4147
git clone https://github.com/pytorch/audio --quiet
4248
pushd audio

0 commit comments

Comments
 (0)