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

Skip to content

Commit 50ecf40

Browse files
Exclude audio_preprocessing_tutorial.py on Windows CI build (#1414)
* Exclude audio_preprocessing_tutorial.py on Windows * Fix * Update build_for_windows.sh Co-authored-by: Brian Johnson <[email protected]>
1 parent 4ceb9c8 commit 50ecf40

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.circleci/scripts/build_for_windows.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ REQUIREMENTS="$(grep -v '^ *#\|^torch\|^torchaudio\|^torchvision|^torchtext' $PR
3535
echo $REQUIREMENTS > requirements.txt
3636
pip install -r requirements.txt
3737
pip install pySoundFile
38+
# Force uninstall torch & related packages, we'll install them using conda later.
39+
pip uninstall -y torch torchvision torchtext
3840
conda install -yq -c pytorch "cudatoolkit=10.1" pytorch torchvision torchtext
3941
conda install torchaudio -c pytorch-test
4042
python -m spacy download de
@@ -47,6 +49,7 @@ if [[ "${CIRCLE_JOB}" == *worker_* ]]; then
4749
python $DIR/remove_runnable_code.py intermediate_source/model_parallel_tutorial.py intermediate_source/model_parallel_tutorial.py || true
4850
python $DIR/remove_runnable_code.py advanced_source/static_quantization_tutorial.py advanced_source/static_quantization_tutorial.py || true
4951
python $DIR/remove_runnable_code.py beginner_source/hyperparameter_tuning_tutorial.py beginner_source/hyperparameter_tuning_tutorial.py || true
52+
python $DIR/remove_runnable_code.py beginner_source/audio_preprocessing_tutorial.py beginner_source/audio_preprocessing_tutorial.py || true
5053

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

0 commit comments

Comments
 (0)