@@ -16,29 +16,34 @@ 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+ # install awscli
22+ # pip uninstall awscli
23+ # pip install awscli==1.16.35
24+
2025# PyTorch Theme
2126rm -rf src
2227pip install -e git+git://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
2328# pillow >= 4.2 will throw error when trying to write mode RGBA as JPEG,
2429# this is a workaround to the issue.
25- pip install sphinx-gallery tqdm matplotlib ipython pillow==4.1.1
30+ pip install sphinx-gallery==0.3.1 tqdm matplotlib ipython pillow==4.1.1
2631
2732# Install torchaudio from source
28- git clone https://github.com/pytorch/audio --quiet
29- pushd audio
30- python setup.py install
31- popd
33+ # git clone https://github.com/pytorch/audio --quiet
34+ # pushd audio
35+ # python setup.py install
36+ # popd
3237
3338aws configure set default.s3.multipart_threshold 5120MB
3439
3540# Decide whether to parallelize tutorial builds, based on $JOB_BASE_NAME
3641export NUM_WORKERS=20
3742if [[ " ${JOB_BASE_NAME} " == * worker_* ]]; then
3843 # 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
44+ python $DIR /remove_runnable_code.py beginner_source/aws_distributed_training_tutorial.py beginner_source/aws_distributed_training_tutorial.py || true
4045 # 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
46+ python $DIR /remove_runnable_code.py beginner_source/audio_classifier_tutorial.py beginner_source/audio_classifier_tutorial.py || true
4247
4348 # Step 2: Keep certain tutorials based on file count, and remove runnable code in all other tutorials
4449 # IMPORTANT NOTE: We assume that each tutorial has a UNIQUE filename.
180185fi
181186
182187rm -rf vision
183- rm -rf audio
188+ # rm -rf audio
0 commit comments