taprosoft commited on
Commit
8bd893c
·
verified ·
1 Parent(s): 9aac05b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
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
- subprocess.run(
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