Edwardx001 commited on
Commit
111b329
·
verified ·
1 Parent(s): 6681481

Update requirements.txt

Browse files

pip is choking on the --force-reinstall lines (that flag isn’t allowed inside a requirements.txt)

Files changed (1) hide show
  1. requirements.txt +5 -10
requirements.txt CHANGED
@@ -1,21 +1,16 @@
1
- # --- core dependencies ---
2
- # keep numpy 1.x for pyannote 3.1.x
3
  numpy<2
 
 
4
  pyannote.audio==3.1.1
5
  soundfile
6
  requests
7
- torch # let the image provide the CUDA build
8
  torchaudio
9
 
10
- # keep the HF startup toolkit from importing too-new stuff
11
  transformers==4.30.2
12
  sentence-transformers==2.2.2
13
  accelerate<0.27
14
  protobuf<5
15
  onnx<1.16
16
-
17
- # ensure downgrades override preinstalled packages on some images
18
- --force-reinstall transformers==4.30.2
19
- --force-reinstall sentence-transformers==2.2.2
20
-
21
-
 
1
+ # keep numpy 1.x – pyannote 3.1.x is not NumPy 2–ready
 
2
  numpy<2
3
+
4
+ # pyannote stack
5
  pyannote.audio==3.1.1
6
  soundfile
7
  requests
8
+ torch # let the endpoint image provide the CUDA build
9
  torchaudio
10
 
11
+ # keep HF startup toolkit compatible with base torch
12
  transformers==4.30.2
13
  sentence-transformers==2.2.2
14
  accelerate<0.27
15
  protobuf<5
16
  onnx<1.16