Spaces:
Running on Zero
Running on Zero
fix(deploy): switch to apple-silicon ace-step fork — no nano-vllm, looser gradio pin
Browse files- README.md +1 -1
- requirements.txt +6 -2
README.md
CHANGED
|
@@ -4,7 +4,7 @@ emoji: 🎵
|
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: gray
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version: 6.
|
| 8 |
python_version: "3.11"
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
|
|
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: gray
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 6.14.0
|
| 8 |
python_version: "3.11"
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
requirements.txt
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
-
# gradio is injected by HF Spaces per README sdk_version
|
|
|
|
| 2 |
transformers>=4.45,<5
|
| 3 |
torch>=2.4
|
| 4 |
torchaudio>=2.4
|
|
@@ -11,7 +12,10 @@ librosa>=0.10
|
|
| 11 |
huggingface_hub>=0.25
|
| 12 |
hf_transfer>=0.1.9
|
| 13 |
numpy>=1.26,<2
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
| 15 |
# HF Spaces ZeroGPU. Do NOT pin — HF's ZeroGPU build injects its own version
|
| 16 |
# and a pin causes pip-resolve failure. Locally the `import spaces` in
|
| 17 |
# app._maybe_spaces_gpu() is wrapped in try/except so absence is fine.
|
|
|
|
| 1 |
+
# gradio is injected by HF Spaces per README sdk_version. The apple-silicon
|
| 2 |
+
# ace-step fork allows gradio>=6.5.1; we keep sdk_version at 6.14.0.
|
| 3 |
transformers>=4.45,<5
|
| 4 |
torch>=2.4
|
| 5 |
torchaudio>=2.4
|
|
|
|
| 12 |
huggingface_hub>=0.25
|
| 13 |
hf_transfer>=0.1.9
|
| 14 |
numpy>=1.26,<2
|
| 15 |
+
# Use the apple-silicon fork on all platforms — upstream ace-step pins
|
| 16 |
+
# gradio==6.2.0 and requires nano-vllm (not on PyPI) on Linux. The fork
|
| 17 |
+
# declares torch==2.10.0 for Linux + has a looser gradio pin.
|
| 18 |
+
ace-step @ git+https://github.com/clockworksquirrel/ace-step-apple-silicon.git
|
| 19 |
# HF Spaces ZeroGPU. Do NOT pin — HF's ZeroGPU build injects its own version
|
| 20 |
# and a pin causes pip-resolve failure. Locally the `import spaces` in
|
| 21 |
# app._maybe_spaces_gpu() is wrapped in try/except so absence is fine.
|