Update app.py
Browse files
app.py
CHANGED
@@ -4,11 +4,7 @@ import subprocess
|
|
4 |
|
5 |
os.system("apt-get update")
|
6 |
os.system("apt-get install --no-install-recommends -y poppler-utils tesseract-ocr")
|
7 |
-
|
8 |
-
"pip3 install flash-attn --no-build-isolation",
|
9 |
-
env={"FLASH_ATTENTION_SKIP_CUDA_BUILD": "TRUE"},
|
10 |
-
shell=True,
|
11 |
-
)
|
12 |
|
13 |
|
14 |
import time
|
|
|
4 |
|
5 |
os.system("apt-get update")
|
6 |
os.system("apt-get install --no-install-recommends -y poppler-utils tesseract-ocr")
|
7 |
+
os.system("FLASH_ATTENTION_SKIP_CUDA_BUILD=true pip3 install flash-attn --no-build-isolation")
|
|
|
|
|
|
|
|
|
8 |
|
9 |
|
10 |
import time
|