@@ -16,29 +16,27 @@ rm -rf src
1616pip install -r $DIR /../requirements.txt
1717
1818export 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
2125rm -rf src
2226pip 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
3331aws configure set default.s3.multipart_threshold 5120MB
3432
3533# Decide whether to parallelize tutorial builds, based on $JOB_BASE_NAME
3634export NUM_WORKERS=20
3735if [[ " ${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
178176else
179177 make docs
180178fi
181-
182- rm -rf vision
183- rm -rf audio
0 commit comments