jbilcke-hf HF Staff commited on
Commit
cf4050b
·
verified ·
1 Parent(s): f4d0990

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import subprocess
2
- subprocess.run('pip3 install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
 
3
 
4
  from huggingface_hub import snapshot_download, hf_hub_download
5
 
 
1
  import subprocess
2
+ # not sure why it works in the original space but says "pip not found" in mine
3
+ #subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
4
 
5
  from huggingface_hub import snapshot_download, hf_hub_download
6