Commit 81780c95 authored by moto's avatar moto Committed by Facebook GitHub Bot
Browse files

Fix build_docs job (#2543)

Summary:
This commit fix build_docs job timeout by pinning `resampy=0.2.2`.

For some mysterious reason, `resampy=0.3.1` causes slowdown of unrelated code. https://github.com/bmcfee/resampy/issues/106

Pull Request resolved: https://github.com/pytorch/audio/pull/2543

Reviewed By: carolineechen

Differential Revision: D38115003

Pulled By: mthrok

fbshipit-source-id: 67cd1c73dd4adb3091e0b88aaf5c31de0dd4b87e
parent b1f510fa
......@@ -833,8 +833,8 @@ jobs:
fi
conda install -v -y -c file://$HOME/workspace/conda-bld torchaudio
conda install -y pandoc 'ffmpeg<5'
apt update && apt-get -qq install -y git make
pip install -r docs/requirements.txt -r docs/requirements-tutorials.txt
apt update -qq && apt-get -qq install -y git make
pip install --progress-bar off -r docs/requirements.txt -r docs/requirements-tutorials.txt
- run:
name: Build docs
command: |
......@@ -846,6 +846,7 @@ jobs:
mv artifact.tar.gz html
environment:
BUILD_GALLERY: 1
TORCH_SHOW_CPP_STACKTRACES: 1
no_output_timeout: 30m
- persist_to_workspace:
root: ./
......
......@@ -833,8 +833,8 @@ jobs:
fi
conda install -v -y -c file://$HOME/workspace/conda-bld torchaudio
conda install -y pandoc 'ffmpeg<5'
apt update && apt-get -qq install -y git make
pip install -r docs/requirements.txt -r docs/requirements-tutorials.txt
apt update -qq && apt-get -qq install -y git make
pip install --progress-bar off -r docs/requirements.txt -r docs/requirements-tutorials.txt
- run:
name: Build docs
command: |
......@@ -846,6 +846,7 @@ jobs:
mv artifact.tar.gz html
environment:
BUILD_GALLERY: 1
TORCH_SHOW_CPP_STACKTRACES: 1
no_output_timeout: 30m
- persist_to_workspace:
root: ./
......
......@@ -6,3 +6,15 @@ sphinxcontrib.bibtex
matplotlib
pyparsing<3,>=2.0.2
sphinx_gallery
# https://github.com/bmcfee/resampy/issues/106
# Since 2022-07-07 build_docs CI job started to fail.
# Pinning resampy to 0.2.2 resolves this.
# The real cause is not know at the moment but the use
# of librosa seems to cause this
# https://github.com/bmcfee/resampy/issues/106
# In our case, the tutorial timed out is online_asr_tutorial,
# which itself does not use resampy
# However audio_feature_augmentation_tutorial is executed before that,
# which uses librosa.
resampy==0.2.2
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment