vilarin commited on
Commit
830eeaa
1 Parent(s): 03e8281

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  import os
2
  import time
3
  import spaces
 
1
+ import subprocess
2
+ subprocess.run(
3
+ 'pip install flash-attn --no-build-isolation',
4
+ env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"},
5
+ shell=True
6
+ )
7
+
8
  import os
9
  import time
10
  import spaces