Spaces:
Configuration error
Configuration error
slslslrhfem commited on
Commit ·
c2fe02d
1
Parent(s): d75df89
fix: pin torch/torchaudio to 2.5.1 (CUDA 12 compatible)
Browse filesThe unpinned >=2.0.0 was resolving to torch 2.9+ which links against
libcudart.so.13 (CUDA 13). HF Space base image only ships CUDA 12, so
import torchaudio failed with 'libcudart.so.13: cannot open shared
object file'. Pin to 2.5.1 which uses cu121 wheels.
- requirements.txt +2 -2
requirements.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
https://github.com/CPJKU/beat_this/archive/main.zip
|
| 2 |
gradio>=4.0.0
|
| 3 |
-
torch
|
| 4 |
-
torchaudio
|
| 5 |
pytorch-lightning>=2.0.0
|
| 6 |
transformers>=4.46.0
|
| 7 |
huggingface_hub>=0.25.0,<1.0.0
|
|
|
|
| 1 |
https://github.com/CPJKU/beat_this/archive/main.zip
|
| 2 |
gradio>=4.0.0
|
| 3 |
+
torch==2.5.1
|
| 4 |
+
torchaudio==2.5.1
|
| 5 |
pytorch-lightning>=2.0.0
|
| 6 |
transformers>=4.46.0
|
| 7 |
huggingface_hub>=0.25.0,<1.0.0
|