Skip to content

Commit 086a39a

Browse files
authored
Merge pull request #586 from pytorch/text-tutorial
[WIP] Text tutorial
2 parents 80201b6 + 198d526 commit 086a39a

File tree

4 files changed

+389
-3
lines changed

4 files changed

+389
-3
lines changed

.jenkins/build.sh

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,16 @@ export PATH=/opt/conda/bin:$PATH
1515
rm -rf src
1616
pip install -r $DIR/../requirements.txt
1717

18+
export PATH=/opt/conda/bin:$PATH
19+
pip install sphinx==1.8.2 pandas
20+
1821
# For Tensorboard. Until 1.14 moves to the release channel.
1922
pip install tb-nightly
2023

21-
export PATH=/opt/conda/bin:$PATH
22-
pip install sphinx==1.8.2 pandas
24+
# Temporary install of 1.2 until release is ready
25+
pip uninstall torchvision -y
26+
pip uninstall torch -y
27+
pip install --pre torch==1.2.0 -f https://download.pytorch.org/whl/nightly/cu100/torch_nightly.html
2328

2429
# install awscli
2530
# pip uninstall awscli
@@ -32,13 +37,19 @@ pip install -e git+git://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch
3237
# this is a workaround to the issue.
3338
pip install sphinx-gallery==0.3.1 tqdm matplotlib ipython pillow==4.1.1
3439

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+
3546
# Install torchaudio from source
3647
git clone https://github.com/pytorch/audio --quiet
3748
pushd audio
3849
python setup.py install
3950
popd
4051

41-
# Install torchaudio from source
52+
# Install torchtext from source
4253
git clone https://github.com/pytorch/text --quiet
4354
pushd text
4455
python setup.py install
34.8 KB
Loading

0 commit comments

Comments
 (0)