Skip to content

Commit f9953b6

Browse files
authored
Fix tests after torch pin PR (pytorch#16209)
pytorch@8eb2272
1 parent 8eb2272 commit f9953b6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎.ci/scripts/test_model_e2e.sh‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ if [ "$AUDIO_URL" != "" ]; then
147147
curl -L $AUDIO_URL -o ${MODEL_DIR}/$AUDIO_FILE
148148
elif [[ "$MODEL_NAME" == *whisper* ]]; then
149149
conda install -y -c conda-forge "ffmpeg<8"
150-
pip install datasets soundfile torchcodec
150+
pip install datasets soundfile
151+
pip install torchcodec==0.10.0.dev20251211 --extra-index-url https://download.pytorch.org/whl/nightly/cpu
151152
python -c "from datasets import load_dataset;import soundfile as sf;sample = load_dataset('distil-whisper/librispeech_long', 'clean', split='validation')[0]['audio'];sf.write('${MODEL_DIR}/$AUDIO_FILE', sample['array'][:sample['sampling_rate']*30], sample['sampling_rate'])"
152153
fi
153154

‎third-party/ao‎

Submodule ao updated 269 files

0 commit comments

Comments
 (0)