Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Update requirements.txt
Browse files- requirements.txt +9 -46
requirements.txt
CHANGED
|
@@ -1,50 +1,13 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
#
|
| 4 |
-
#
|
| 5 |
-
|
| 6 |
-
# verified to have real cp313 (Python 3.13) wheels via direct download test.
|
| 7 |
-
#
|
| 8 |
-
# torch/torchaudio: pinned to 2.6.0, the earliest version with a Python 3.13
|
| 9 |
-
# wheel for torchaudio (torch alone had 3.13 support slightly earlier, at
|
| 10 |
-
# 2.5.1, but torchaudio didn't catch up until 2.6.0 -- they must move
|
| 11 |
-
# together). Close to the checkpoint's original training environment
|
| 12 |
-
# (torch 2.7.1+cu118); revisit if 2.7.1 ever gets a 3.13 wheel.
|
| 13 |
-
#
|
| 14 |
-
# numpy: no pin -- numpy 1.x (the old workaround for a bug in pyannote.audio
|
| 15 |
-
# 3.1.1, not 3.4.0) has NO Python 3.13 wheel at all, so it's not just
|
| 16 |
-
# unneeded, it's uninstallable. Flag any numpy-related error if one appears.
|
| 17 |
-
#
|
| 18 |
-
# huggingface_hub: pinned to 0.35.0 -- pyannote.audio 3.4.0's own internal
|
| 19 |
-
# code (pipeline.py) still calls hf_hub_download(..., use_auth_token=...),
|
| 20 |
-
# a parameter that huggingface_hub REMOVED entirely in its 1.0.0 release.
|
| 21 |
-
# Left unpinned, pip resolves to the newest available (1.0.0+) and breaks
|
| 22 |
-
# at pipeline load time with:
|
| 23 |
-
# TypeError: hf_hub_download() got an unexpected keyword argument 'use_auth_token'
|
| 24 |
-
# 0.35.0 is the newest 0.x release (confirmed to still support the old
|
| 25 |
-
# argument) and also satisfies this Space's own base-image floor pin of
|
| 26 |
-
# huggingface-hub>=0.30 baked into an earlier build layer.
|
| 27 |
-
# ---------------------------------------------------------------------------
|
| 28 |
-
|
| 29 |
-
torch==2.6.0
|
| 30 |
-
torchaudio==2.6.0
|
| 31 |
-
|
| 32 |
-
# --- Core diarization pipeline ------------------------------------------
|
| 33 |
-
pyannote.audio==3.4.0
|
| 34 |
-
huggingface_hub==0.35.0
|
| 35 |
soundfile
|
| 36 |
-
|
| 37 |
-
# even though this app doesn't plot with it directly.
|
| 38 |
-
|
| 39 |
-
# --- Classifier support --------------------------------------------------
|
| 40 |
-
# Pin to match (or be very close to) the version 05062026_groupClassifier.pkl
|
| 41 |
-
# was actually trained with, to avoid unpickling warnings/version drift.
|
| 42 |
-
scikit-learn==1.7.2
|
| 43 |
-
|
| 44 |
-
# --- App / UI -------------------------------------------------------------
|
| 45 |
streamlit == 1.45.1
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
plotly
|
| 50 |
kaleido==1.0.0
|
|
|
|
| 1 |
+
--extra-index-url https://download.pytorch.org/whl/cu113
|
| 2 |
+
torch
|
| 3 |
+
#https://storage.googleapis.com/libtpu-nightly-releases/wheels/libtpu-nightly/libtpu_nightly-0.1.dev20241010+nightly.cleanup-py3-none-any.whl
|
| 4 |
+
#torch_xla[tpu] == 2.6.0
|
| 5 |
+
torchaudio
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
soundfile
|
| 7 |
+
numpy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
streamlit == 1.45.1
|
| 9 |
+
opencv-python
|
| 10 |
+
pyannote.audio
|
| 11 |
+
matplotlib
|
| 12 |
plotly
|
| 13 |
kaleido==1.0.0
|