Spaces:
Running
on
Zero
Running
on
Zero
AdrienB134
commited on
Commit
•
21bb0fb
1
Parent(s):
2ae0a8f
kjhn
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ import time
|
|
20 |
from PIL import Image
|
21 |
import torch
|
22 |
import subprocess
|
23 |
-
subprocess.run('
|
24 |
|
25 |
|
26 |
|
|
|
20 |
from PIL import Image
|
21 |
import torch
|
22 |
import subprocess
|
23 |
+
subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
|
24 |
|
25 |
|
26 |
|