Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import os
|
|
6 |
os.system("pip install torch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1 --index-url https://download.pytorch.org/whl/cu124")
|
7 |
# os.system("pip install flash-attn==2.7.4 --no-build-isolation")
|
8 |
import subprocess
|
9 |
-
subprocess.run('pip install flash-attn==2.7.4 --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
|
10 |
import sys
|
11 |
import threading
|
12 |
|
|
|
6 |
os.system("pip install torch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1 --index-url https://download.pytorch.org/whl/cu124")
|
7 |
# os.system("pip install flash-attn==2.7.4 --no-build-isolation")
|
8 |
import subprocess
|
9 |
+
subprocess.run('pip install flash-attn==2.7.4.post1 --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
|
10 |
import sys
|
11 |
import threading
|
12 |
|