Spaces:
Running
Running
futurespyhi
commited on
Commit
·
2ce587d
1
Parent(s):
77da414
1.modify flash-attn2 for other spaces 2.update .gitignore
Browse files- .gitignore +1 -0
- requirements.txt +5 -0
.gitignore
CHANGED
|
@@ -107,6 +107,7 @@ flash_attn/
|
|
| 107 |
|
| 108 |
# bcakup files
|
| 109 |
packages.txt.backup
|
|
|
|
| 110 |
|
| 111 |
# test files
|
| 112 |
tests/
|
|
|
|
| 107 |
|
| 108 |
# bcakup files
|
| 109 |
packages.txt.backup
|
| 110 |
+
requirements.txt.backup
|
| 111 |
|
| 112 |
# test files
|
| 113 |
tests/
|
requirements.txt
CHANGED
|
@@ -1,6 +1,11 @@
|
|
| 1 |
# Hugging Face Spaces Requirements for MiloMusic
|
| 2 |
# Based on pyproject.toml dependencies with Spaces-specific adaptations
|
| 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
# PyTorch with CUDA 12.4 support (using specific index)
|
| 5 |
--find-links https://download.pytorch.org/whl/test/cu124
|
| 6 |
torch==2.5.1
|
|
|
|
| 1 |
# Hugging Face Spaces Requirements for MiloMusic
|
| 2 |
# Based on pyproject.toml dependencies with Spaces-specific adaptations
|
| 3 |
|
| 4 |
+
# Build dependencies for flash-attn compilation (must be installed first)
|
| 5 |
+
wheel>=0.37.0
|
| 6 |
+
setuptools>=50.0.0
|
| 7 |
+
packaging>=21.0
|
| 8 |
+
|
| 9 |
# PyTorch with CUDA 12.4 support (using specific index)
|
| 10 |
--find-links https://download.pytorch.org/whl/test/cu124
|
| 11 |
torch==2.5.1
|