Spaces:
Running on Zero
Running on Zero
Drop mamba-ssm / causal-conv1d from requirements
Browse filesHF Spaces build container has no nvcc, so mamba-ssm / causal-conv1d wheels
fail to compile at pip install time, aborting the whole build. The code
path already handles their absence gracefully β super_resolution lazy-loads
REUSEUpsampler and TTSServer._denoise_voice_ref catches the ImportError,
logs a one-time warning, and silently skips voice-ref denoise for the rest
of the session. Long-form chunking is unaffected.
- requirements.txt +11 -11
requirements.txt
CHANGED
|
@@ -25,14 +25,14 @@ spaces>=0.30.0
|
|
| 25 |
soundfile>=0.12.0
|
| 26 |
resemble-perth @ git+https://github.com/resemble-ai/Perth.git@master
|
| 27 |
|
| 28 |
-
# ββ
|
| 29 |
-
#
|
| 30 |
-
#
|
| 31 |
-
#
|
| 32 |
-
#
|
| 33 |
-
#
|
| 34 |
-
#
|
| 35 |
-
#
|
| 36 |
-
resampy>=0.4.0
|
| 37 |
-
mamba-ssm>=2.2.0 ; platform_system == "Linux"
|
| 38 |
-
causal-conv1d>=1.4.0 ; platform_system == "Linux"
|
|
|
|
| 25 |
soundfile>=0.12.0
|
| 26 |
resemble-perth @ git+https://github.com/resemble-ai/Perth.git@master
|
| 27 |
|
| 28 |
+
# ββ RE-USE deps intentionally omitted on HF Spaces ββββββββββββββββββββββββββ
|
| 29 |
+
# The mamba-ssm / causal-conv1d wheels need nvcc + matching CUDA toolkit at
|
| 30 |
+
# install time, which HF Spaces' build container doesn't provide. Without
|
| 31 |
+
# them, super_resolution.REUSEUpsampler raises ImportError on first use and
|
| 32 |
+
# TTSServer._denoise_voice_ref logs a one-time warning + silently skips the
|
| 33 |
+
# voice-ref denoise for the rest of the session. Long-form chunking + the
|
| 34 |
+
# rest of the model are unaffected. To enable denoise_ref on the Space,
|
| 35 |
+
# switch to a Dockerfile-based Space build with nvcc available, then add:
|
| 36 |
+
# resampy>=0.4.0
|
| 37 |
+
# mamba-ssm>=2.2.0 ; platform_system == "Linux"
|
| 38 |
+
# causal-conv1d>=1.4.0 ; platform_system == "Linux"
|