Edwardx001 commited on
Commit
c599d7d
·
verified ·
1 Parent(s): b243528

Upload requirements.txt

Browse files

Upgrade huggingface-hub to 0.21.4 for split_torch_state_dict_into_shards

Files changed (1) hide show
  1. requirements.txt +31 -0
requirements.txt ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Requirements for Pyannote Speaker Diarization Custom Handler
2
+ # HuggingFace Inference Endpoint
3
+ # Version-locked for stability and compatibility (tested working combination)
4
+
5
+ # NumPy - MUST be < 2.0 for pyannote.audio compatibility
6
+ numpy>=1.24.0,<2.0.0
7
+
8
+ # PyTorch - specific versions that work together
9
+ torch==2.1.2
10
+ torchaudio==2.1.2
11
+
12
+ # HuggingFace ecosystem - compatible versions
13
+ # huggingface-hub must be 0.21+ for split_torch_state_dict_into_shards
14
+ transformers==4.36.2
15
+ huggingface-hub==0.21.4
16
+ sentence-transformers==2.3.1
17
+
18
+ # Core pyannote dependency
19
+ pyannote.audio==3.1.1
20
+
21
+ # Audio processing
22
+ soundfile==0.12.1
23
+ librosa==0.10.1
24
+
25
+ # Additional dependencies for pyannote
26
+ onnxruntime==1.16.3
27
+ asteroid-filterbanks==0.4.0
28
+
29
+ # Ensure compatibility
30
+ scipy==1.11.4
31
+