Skip to content

Commit

Permalink
Exclude audio_preprocessing_tutorial.py on Windows CI build (pytorch#…
Browse files Browse the repository at this point in the history
…1414)

* Exclude audio_preprocessing_tutorial.py on Windows

* Fix

* Update build_for_windows.sh

Co-authored-by: Brian Johnson <brianjo@fb.com>
  • Loading branch information
skyline75489 and brianjo committed Mar 17, 2021
1 parent 4ceb9c8 commit 50ecf40
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .circleci/scripts/build_for_windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ REQUIREMENTS="$(grep -v '^ *#\|^torch\|^torchaudio\|^torchvision|^torchtext' $PR
echo $REQUIREMENTS > requirements.txt
pip install -r requirements.txt
pip install pySoundFile
# Force uninstall torch & related packages, we'll install them using conda later.
pip uninstall -y torch torchvision torchtext
conda install -yq -c pytorch "cudatoolkit=10.1" pytorch torchvision torchtext
conda install torchaudio -c pytorch-test
python -m spacy download de
Expand All @@ -47,6 +49,7 @@ if [[ "${CIRCLE_JOB}" == *worker_* ]]; then
python $DIR/remove_runnable_code.py intermediate_source/model_parallel_tutorial.py intermediate_source/model_parallel_tutorial.py || true
python $DIR/remove_runnable_code.py advanced_source/static_quantization_tutorial.py advanced_source/static_quantization_tutorial.py || true
python $DIR/remove_runnable_code.py beginner_source/hyperparameter_tuning_tutorial.py beginner_source/hyperparameter_tuning_tutorial.py || true
python $DIR/remove_runnable_code.py beginner_source/audio_preprocessing_tutorial.py beginner_source/audio_preprocessing_tutorial.py || true

export WORKER_ID=$(echo "${CIRCLE_JOB}" | tr -dc '0-9')
count=0
Expand Down

0 comments on commit 50ecf40

Please sign in to comment.