Spaces:
Running
on
Zero
Running
on
Zero
Update requirements.txt
Browse files- requirements.txt +23 -9
requirements.txt
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
anyio==4.8.0
|
| 2 |
fastapi==0.116.1
|
| 3 |
gradio==5.16.0
|
|
@@ -6,16 +7,29 @@ huggingface-hub==0.28.1
|
|
| 6 |
numpy==2.2.6
|
| 7 |
safetensors==0.5.3
|
| 8 |
soundfile==0.13.1
|
| 9 |
-
torch==2.6.0
|
| 10 |
-
torchaudio==2.6.0
|
| 11 |
-
triton==3.2.0
|
| 12 |
-
transformers==4.49.0
|
| 13 |
typing-extensions==4.12.2
|
| 14 |
uvicorn==0.35.0
|
|
|
|
| 15 |
spaces
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
https://github.com/Dao-AILab/causal-conv1d/releases/download/v1.5.0.post8/causal_conv1d-1.5.0.post8+cu12torch2.4cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
|
| 20 |
-
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Core dependencies
|
| 2 |
anyio==4.8.0
|
| 3 |
fastapi==0.116.1
|
| 4 |
gradio==5.16.0
|
|
|
|
| 7 |
numpy==2.2.6
|
| 8 |
safetensors==0.5.3
|
| 9 |
soundfile==0.13.1
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
typing-extensions==4.12.2
|
| 11 |
uvicorn==0.35.0
|
| 12 |
+
transformers==4.49.0
|
| 13 |
spaces
|
| 14 |
+
|
| 15 |
+
# PyTorch and related
|
| 16 |
+
torch==2.6.0
|
| 17 |
+
torchaudio==2.6.0
|
| 18 |
+
torchvision==0.21.0
|
| 19 |
+
|
| 20 |
+
# IMPORTANT: Install flash-attn BEFORE mamba-ssm
|
| 21 |
+
# flash-attn must be installed from wheel for speed
|
| 22 |
+
https://github.com/Dao-AILab/flash-attention/releases/download/v2.7.2.post1/flash_attn-2.7.2.post1+cu12torch2.6cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
|
| 23 |
+
|
| 24 |
+
# Then install causal-conv1d
|
| 25 |
https://github.com/Dao-AILab/causal-conv1d/releases/download/v1.5.0.post8/causal_conv1d-1.5.0.post8+cu12torch2.4cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
|
| 26 |
+
|
| 27 |
+
# Finally install mamba-ssm (it needs flash-attn to be already installed)
|
| 28 |
+
https://github.com/state-spaces/mamba/releases/download/v2.2.4/mamba_ssm-2.2.4+cu12torch2.4cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
|
| 29 |
+
|
| 30 |
+
# Zonos package
|
| 31 |
+
zonos @ git+https://github.com/Zyphra/Zonos.git
|
| 32 |
+
|
| 33 |
+
# Additional dependencies that might be needed
|
| 34 |
+
einops
|
| 35 |
+
ninja
|