Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ os.system("pip install gradio_image_prompter==0.1.0")
|
|
| 20 |
os.system("pip install torch==2.4.0 torchvision==0.18.0 --index-url https://download.pytorch.org/whl/cu124")
|
| 21 |
|
| 22 |
import subprocess
|
| 23 |
-
|
| 24 |
|
| 25 |
import sys
|
| 26 |
import threading
|
|
|
|
| 20 |
os.system("pip install torch==2.4.0 torchvision==0.18.0 --index-url https://download.pytorch.org/whl/cu124")
|
| 21 |
|
| 22 |
import subprocess
|
| 23 |
+
os.system('pip install flash-attn==2.7.4.post1 --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
|
| 24 |
|
| 25 |
import sys
|
| 26 |
import threading
|