Spaces:
Running
on
Zero
Running
on
Zero
PommesPeter
commited on
Commit
•
5132a19
1
Parent(s):
6987a4b
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import subprocess
|
2 |
-
subprocess.run('pip install flash-attn --no-build-isolation', shell=True)
|
3 |
subprocess.run("mkdir -p ./checkpoints", shell=True)
|
4 |
subprocess.run("huggingface-cli download --resume-download Alpha-VLLM/Lumina-Next-T2I --local-dir ./checkpoints --local-dir-use-symlinks False", shell=True)
|
5 |
|
|
|
1 |
import subprocess
|
2 |
+
subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
|
3 |
subprocess.run("mkdir -p ./checkpoints", shell=True)
|
4 |
subprocess.run("huggingface-cli download --resume-download Alpha-VLLM/Lumina-Next-T2I --local-dir ./checkpoints --local-dir-use-symlinks False", shell=True)
|
5 |
|