Spaces:
Running on Zero
Running on Zero
Commit ·
bbe66c1
1
Parent(s): 3cd40a3
Pin torchaudio==2.5.1+cu124 and add torch version diagnostic
Browse filesThe previous cu121 torchaudio linked against libcudart.so.13 which
doesn't exist on the ZeroGPU worker. Trying cu124 build of torchaudio
2.5.1 to match torch 2.5.1 preinstalled on ZeroGPU. Added diagnostic
print to confirm exact torch+CUDA versions in the logs.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- app.py +1 -0
- requirements.txt +2 -2
app.py
CHANGED
|
@@ -15,6 +15,7 @@ from math import floor
|
|
| 15 |
from pathlib import Path
|
| 16 |
|
| 17 |
import torch
|
|
|
|
| 18 |
import numpy as np
|
| 19 |
import soundfile as sf
|
| 20 |
import ffmpeg
|
|
|
|
| 15 |
from pathlib import Path
|
| 16 |
|
| 17 |
import torch
|
| 18 |
+
print(f"[DIAG] torch={torch.__version__} cuda={torch.version.cuda}")
|
| 19 |
import numpy as np
|
| 20 |
import soundfile as sf
|
| 21 |
import ffmpeg
|
requirements.txt
CHANGED
|
@@ -16,5 +16,5 @@ spaces==0.48.1
|
|
| 16 |
gradio==5.25.0
|
| 17 |
pydantic==2.8.2
|
| 18 |
av
|
| 19 |
-
--extra-index-url https://download.pytorch.org/whl/
|
| 20 |
-
torchaudio
|
|
|
|
| 16 |
gradio==5.25.0
|
| 17 |
pydantic==2.8.2
|
| 18 |
av
|
| 19 |
+
--extra-index-url https://download.pytorch.org/whl/cu124
|
| 20 |
+
torchaudio==2.5.1+cu124
|