Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
from __future__ import annotations
|
2 |
|
3 |
-
from huggingface_hub import
|
|
|
4 |
subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
|
5 |
# subprocess.run('pip install bitsandbytes', shell=True)
|
6 |
subprocess.run('pip install av==12.0.0', shell=True)
|
|
|
1 |
from __future__ import annotations
|
2 |
|
3 |
+
from huggingface_hub import whoami
|
4 |
+
import subprocess
|
5 |
subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
|
6 |
# subprocess.run('pip install bitsandbytes', shell=True)
|
7 |
subprocess.run('pip install av==12.0.0', shell=True)
|