Skip to content

Commit 4174b21

Browse files
authored
Merge pull request #608 from pytorch/1.2-Binary-Update
[WIP] 1.2 binary update
2 parents 56b6951 + 9ab9b00 commit 4174b21

File tree

2 files changed

+2
-30
lines changed

2 files changed

+2
-30
lines changed

.jenkins/build.sh

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -21,40 +21,13 @@ pip install sphinx==1.8.2 pandas
2121
# For Tensorboard. Until 1.14 moves to the release channel.
2222
pip install tb-nightly
2323

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
28-
29-
# install awscli
30-
# pip uninstall awscli
31-
# pip install awscli==1.16.35
32-
3324
# PyTorch Theme
3425
rm -rf src
3526
pip install -e git+git://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
3627
# pillow >= 4.2 will throw error when trying to write mode RGBA as JPEG,
3728
# this is a workaround to the issue.
3829
pip install sphinx-gallery==0.3.1 tqdm matplotlib ipython pillow==4.1.1
3930

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-
46-
# Install torchaudio from source
47-
git clone https://github.com/pytorch/audio --quiet
48-
pushd audio
49-
python setup.py install
50-
popd
51-
52-
# Install torchtext from source
53-
git clone https://github.com/pytorch/text --quiet
54-
pushd text
55-
python setup.py install
56-
popd
57-
5831
aws configure set default.s3.multipart_threshold 5120MB
5932

6033
# Decide whether to parallelize tutorial builds, based on $JOB_BASE_NAME
@@ -203,6 +176,3 @@ elif [[ "${JOB_BASE_NAME}" == *manager ]]; then
203176
else
204177
make docs
205178
fi
206-
207-
rm -rf vision
208-
rm -rf audio

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ numpy
77
matplotlib
88
torch
99
torchvision
10+
torchtext
11+
torchaudio
1012
PyHamcrest
1113
bs4
1214
awscli==1.16.35

0 commit comments

Comments
 (0)