Skip to content

Commit 66edb83

Browse files
committed
Pin torchaudio dependency for pyannote.audio
1 parent ab4aeae commit 66edb83

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@ run:
1212
pip3 install --force-reinstall .
1313

1414
install-dependencies-e2e-tests:
15-
echo ctranslate2==4.0.0 > constraints.txt
16-
pip install --force-reinstall -c constraints.txt faster-whisper==1.2.0
17-
echo numpy==1.26 > constraints.txt
18-
pip install --force-reinstall -c constraints.txt pyannote.audio==3.3.1
15+
pip install --force-reinstall faster-whisper==1.2.0 "ctranslate2==4.0.0"
16+
pip install --force-reinstall "pyannote.audio<4.0.0" "torchaudio<2.9.0"
1917

2018
run-e2e-tests:
2119
CT2_USE_MKL="False" CT2_FORCE_CPU_ISA='GENERIC' KMP_DUPLICATE_LIB_OK="TRUE" nose2 -s e2e-tests

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ There is experimental diarization support using [`pyannote.audio`](https://githu
152152

153153
To enable diarization you need to follow these steps:
154154

155-
1. Install [`pyannote.audio`](https://github.com/pyannote/pyannote-audio) with `pip install pyannote.audio`
155+
1. Install [`pyannote.audio`](https://github.com/pyannote/pyannote-audio) with `pip install "pyannote.audio<4.0.0" "torchaudio<2.9.0"`
156156
2. Accept [`pyannote/segmentation-3.0`](https://hf.co/pyannote/segmentation-3.0) user conditions
157157
3. Accept [`pyannote/speaker-diarization-3.1`](https://hf.co/pyannote/speaker-diarization-3.1) user conditions
158158
4. Create an access token at [`hf.co/settings/tokens`](https://hf.co/settings/tokens).

0 commit comments

Comments
 (0)