Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit be788b8

Browse files
authored
Merge branch 'master' into master
2 parents c325b2a + 38e6ef6 commit be788b8

48 files changed

Lines changed: 2712 additions & 923 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.jenkins/build.sh

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,27 @@ rm -rf src
1616
pip install -r $DIR/../requirements.txt
1717

1818
export PATH=/opt/conda/bin:$PATH
19-
conda install -y sphinx==1.8.2 pandas
19+
pip install sphinx==1.8.2 pandas
20+
21+
# For Tensorboard. Until 1.14 moves to the release channel.
22+
pip install tb-nightly
23+
2024
# PyTorch Theme
2125
rm -rf src
2226
pip install -e git+git://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
2327
# pillow >= 4.2 will throw error when trying to write mode RGBA as JPEG,
2428
# this is a workaround to the issue.
25-
pip install sphinx-gallery tqdm matplotlib ipython pillow==4.1.1
26-
27-
# Install torchaudio from source
28-
git clone https://github.com/pytorch/audio --quiet
29-
pushd audio
30-
python setup.py install
31-
popd
29+
pip install sphinx-gallery==0.3.1 tqdm matplotlib ipython pillow==4.1.1
3230

3331
aws configure set default.s3.multipart_threshold 5120MB
3432

3533
# Decide whether to parallelize tutorial builds, based on $JOB_BASE_NAME
3634
export NUM_WORKERS=20
3735
if [[ "${JOB_BASE_NAME}" == *worker_* ]]; then
3836
# Step 1: Remove runnable code from tutorials that are not supposed to be run
39-
python $DIR/remove_runnable_code.py beginner_source/aws_distributed_training_tutorial.py beginner_source/aws_distributed_training_tutorial.py
37+
python $DIR/remove_runnable_code.py beginner_source/aws_distributed_training_tutorial.py beginner_source/aws_distributed_training_tutorial.py || true
4038
# TODO: Fix bugs in these tutorials to make them runnable again
41-
python $DIR/remove_runnable_code.py beginner_source/audio_classifier_tutorial.py beginner_source/audio_classifier_tutorial.py
39+
python $DIR/remove_runnable_code.py beginner_source/audio_classifier_tutorial.py beginner_source/audio_classifier_tutorial.py || true
4240

4341
# Step 2: Keep certain tutorials based on file count, and remove runnable code in all other tutorials
4442
# IMPORTANT NOTE: We assume that each tutorial has a UNIQUE filename.
@@ -178,6 +176,3 @@ elif [[ "${JOB_BASE_NAME}" == *manager ]]; then
178176
else
179177
make docs
180178
fi
181-
182-
rm -rf vision
183-
rm -rf audio

_static/imagenet_class_index.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.
9.85 KB
Loading

_static/img/cat_output1.png

-317 KB
Binary file not shown.
49.5 KB
Loading

_static/img/chatbot/diff.png

100755100644
34.5 KB
Loading

_static/img/chatbot/pytorch_workflow.png

100755100644
-50 KB
Loading

_static/img/flask.png

173 KB
Loading

_static/img/hybrid.png

-27.2 KB
Binary file not shown.

_static/img/sample_file.jpeg

43.3 KB
Loading

0 commit comments

Comments
 (0)