Spaces:
Build error
Build error
Update requirements.txt
Browse files- requirements.txt +4 -2
requirements.txt
CHANGED
@@ -1,6 +1,8 @@
|
|
|
|
1 |
gradio
|
2 |
transformers
|
3 |
-
torch
|
4 |
Pillow
|
5 |
timm
|
6 |
-
flash-attn
|
|
|
|
|
|
1 |
+
torch==2.0.1+cu118 # Adjust CUDA version as needed
|
2 |
gradio
|
3 |
transformers
|
|
|
4 |
Pillow
|
5 |
timm
|
6 |
+
# Install flash-attn without attempting to build it
|
7 |
+
flash-attn --no-build-isolation --global-option="--skip-cuda-build"
|
8 |
+
|