Skip to content

Commit 1f63f0f

Browse files
authored
Update build.sh
1 parent e1615df commit 1f63f0f

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.jenkins/build.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,15 @@ pip install -r $DIR/../requirements.txt
1919
pip install tb-nightly
2020

2121
# Temporary install of 1.2 until release is ready
22-
pip install torch==1.2.0 -f https://download.pytorch.org/whl/nightly/cu100/torch_nightly.html
22+
pip uninstall torchvision -y
23+
pip uninstall torch -y
24+
pip install --pre torch==1.2.0 torchvision -f https://download.pytorch.org/whl/nightly/cu100/torch_nightly.html
25+
26+
# Temp for testing.
27+
pip uninstall torchvision -y
28+
pip uninstall torch -y
29+
pip install numpy
30+
pip install --pre torch==1.2.0 torchvision -f https://download.pytorch.org/whl/nightly/cu100/torch_nightly.html
2331

2432
export PATH=/opt/conda/bin:$PATH
2533
pip install sphinx==1.8.2 pandas
@@ -41,7 +49,7 @@ pushd audio
4149
python setup.py install
4250
popd
4351

44-
# Install torchaudio from source
52+
# Install torchtext from source
4553
git clone https://github.com/pytorch/text --quiet
4654
pushd text
4755
python setup.py install

0 commit comments

Comments
 (0)