cbensimon HF Staff commited on
Commit
157241e
·
verified ·
1 Parent(s): 997ac62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  import os
2
  from threading import Thread
3
  from typing import Iterator
 
1
+ import subprocess
2
+
3
+ subprocess.run('pip install packaging ninja', shell=True)
4
+ subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "true"}, shell=True)
5
+
6
  import os
7
  from threading import Thread
8
  from typing import Iterator