Edwardx001 commited on
Commit
f6bcb1a
·
verified ·
1 Parent(s): 19252e7

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +34 -8
requirements.txt CHANGED
@@ -1,8 +1,34 @@
1
- # Requirements for Pyannote Diarization Inference Endpoint
2
- # Compatible with HuggingFace Inference Endpoints
3
-
4
- pyannote.audio==3.1.1
5
- torch==2.1.2
6
- torchaudio==2.1.2
7
- numpy==1.26.4
8
- soundfile==0.12.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Requirements for Pyannote Speaker Diarization Custom Handler
2
+ # HuggingFace Inference Endpoint
3
+ # Updated 2026-02-01 for HF Toolkit 0.5.6 compatibility
4
+
5
+ # NumPy - MUST be < 2.0 for pyannote.audio compatibility
6
+ numpy>=1.24.0,<2.0.0
7
+
8
+ # PyTorch 2.4+ required for torch.library.register_fake (used by sentence-transformers)
9
+ torch>=2.4.0,<2.6.0
10
+ torchaudio>=2.4.0,<2.6.0
11
+ torchvision>=0.19.0,<0.21.0
12
+
13
+ # HuggingFace ecosystem - match HF Inference Toolkit 0.5.6 requirements
14
+ transformers>=4.51.0
15
+ huggingface-hub>=0.30.0
16
+ sentence-transformers>=3.0.0
17
+ diffusers>=0.28.0
18
+
19
+ # Core pyannote dependency - latest compatible version
20
+ pyannote.audio>=3.3.0
21
+
22
+ # Audio processing
23
+ soundfile>=0.12.1
24
+ librosa>=0.10.1
25
+
26
+ # Additional dependencies for pyannote
27
+ onnxruntime>=1.16.0
28
+ asteroid-filterbanks>=0.4.0
29
+
30
+ # HTTP requests for URL downloading
31
+ requests>=2.31.0
32
+
33
+ # Ensure compatibility
34
+ scipy>=1.11.0,<1.15.0