Spaces:
Sleeping
Sleeping
Mirror the PhonePaintMFA env: python 3.12 and its pins (part 2)
Browse files- requirements.txt +19 -14
requirements.txt
CHANGED
|
@@ -3,21 +3,21 @@
|
|
| 3 |
# The local install is conda (environment.yml) plus a separate small env for the
|
| 4 |
# UI; a Space is one pip environment, so every pin lands here.
|
| 5 |
#
|
| 6 |
-
#
|
| 7 |
-
#
|
| 8 |
-
#
|
| 9 |
-
#
|
| 10 |
-
# is the one that transfers without an interpreter change.
|
| 11 |
#
|
| 12 |
# One deliberate divergence: torch. ZeroGPU's card is Blackwell (sm_120) and it
|
| 13 |
-
# only supports torch >= 2.8, so the
|
| 14 |
-
#
|
| 15 |
torch==2.8.0
|
| 16 |
torchaudio==2.8.0
|
| 17 |
|
| 18 |
# Whisper. huggingface_hub must stay <1.0: 1.x moved to httpx, so its 404 no
|
| 19 |
# longer subclasses requests.HTTPError, escapes the except clause in
|
| 20 |
-
# transformers.utils.hub.list_repo_templates, and kills ASR at load.
|
|
|
|
| 21 |
transformers==4.57.6
|
| 22 |
huggingface_hub==0.36.2
|
| 23 |
accelerate==1.14.0
|
|
@@ -32,15 +32,20 @@ editdistance==0.8.1
|
|
| 32 |
typeguard==2.13.3
|
| 33 |
torch-complex==0.4.4
|
| 34 |
kaldiio==2.18.1
|
| 35 |
-
h5py==3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
# Audio IO and DSP. numba/llvmlite are librosa's JIT backend and are pinned
|
| 38 |
# together because a mismatched pair is a classic import-time failure.
|
| 39 |
numpy==2.0.2
|
| 40 |
-
scipy==1.
|
| 41 |
-
numba==0.
|
| 42 |
-
llvmlite==0.
|
| 43 |
-
scikit-learn==1.
|
| 44 |
soundfile==0.13.1
|
| 45 |
librosa==0.11.0
|
| 46 |
soxr==1.1.0
|
|
@@ -53,4 +58,4 @@ TextGrid==1.6.1
|
|
| 53 |
python_speech_features==0.6
|
| 54 |
natsort==8.4.0
|
| 55 |
|
| 56 |
-
tqdm==4.
|
|
|
|
| 3 |
# The local install is conda (environment.yml) plus a separate small env for the
|
| 4 |
# UI; a Space is one pip environment, so every pin lands here.
|
| 5 |
#
|
| 6 |
+
# Ground truth is the PhonePaintMFA conda env: environment.yml mirrors it, and
|
| 7 |
+
# the GCP VM reproduces it from the yml. So these versions are `pip list` from
|
| 8 |
+
# PhonePaintMFA, on python 3.12 — which is why the Space card asks for 3.12
|
| 9 |
+
# rather than taking the image default of 3.10.
|
|
|
|
| 10 |
#
|
| 11 |
# One deliberate divergence: torch. ZeroGPU's card is Blackwell (sm_120) and it
|
| 12 |
+
# only supports torch >= 2.8, so the 2.5.1/cu124 build cannot run here at all.
|
| 13 |
+
# Everything else stays as verified.
|
| 14 |
torch==2.8.0
|
| 15 |
torchaudio==2.8.0
|
| 16 |
|
| 17 |
# Whisper. huggingface_hub must stay <1.0: 1.x moved to httpx, so its 404 no
|
| 18 |
# longer subclasses requests.HTTPError, escapes the except clause in
|
| 19 |
+
# transformers.utils.hub.list_repo_templates, and kills ASR at load. This is
|
| 20 |
+
# also why the Space card pins gradio 5 — gradio 6 requires hub >= 1.16.
|
| 21 |
transformers==4.57.6
|
| 22 |
huggingface_hub==0.36.2
|
| 23 |
accelerate==1.14.0
|
|
|
|
| 32 |
typeguard==2.13.3
|
| 33 |
torch-complex==0.4.4
|
| 34 |
kaldiio==2.18.1
|
| 35 |
+
h5py==3.16.0
|
| 36 |
+
|
| 37 |
+
# espnet2 (sedit_model.py, on the inference path) imports distutils, which
|
| 38 |
+
# python 3.12 removed from the stdlib. setuptools supplies the shim, so it is
|
| 39 |
+
# a real runtime dependency here, not build tooling.
|
| 40 |
+
setuptools==75.8.2
|
| 41 |
|
| 42 |
# Audio IO and DSP. numba/llvmlite are librosa's JIT backend and are pinned
|
| 43 |
# together because a mismatched pair is a classic import-time failure.
|
| 44 |
numpy==2.0.2
|
| 45 |
+
scipy==1.18.0
|
| 46 |
+
numba==0.67.0
|
| 47 |
+
llvmlite==0.49.0
|
| 48 |
+
scikit-learn==1.9.0
|
| 49 |
soundfile==0.13.1
|
| 50 |
librosa==0.11.0
|
| 51 |
soxr==1.1.0
|
|
|
|
| 58 |
python_speech_features==0.6
|
| 59 |
natsort==8.4.0
|
| 60 |
|
| 61 |
+
tqdm==4.70.0
|