Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import argparse
|
|
| 5 |
import json
|
| 6 |
import os
|
| 7 |
|
| 8 |
-
|
| 9 |
os.system("pip install matplotlib==3.10.6")
|
| 10 |
os.system("pip install numpy==1.26.4")
|
| 11 |
os.system("pip install Pillow==11.3.0")
|
|
@@ -22,7 +22,7 @@ import subprocess
|
|
| 22 |
subprocess.run('pip install flash-attn==2.7.4.post1 --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
|
| 23 |
import sys
|
| 24 |
import threading
|
| 25 |
-
|
| 26 |
|
| 27 |
import re
|
| 28 |
from typing import Any, Dict, List
|
|
|
|
| 5 |
import json
|
| 6 |
import os
|
| 7 |
|
| 8 |
+
|
| 9 |
os.system("pip install matplotlib==3.10.6")
|
| 10 |
os.system("pip install numpy==1.26.4")
|
| 11 |
os.system("pip install Pillow==11.3.0")
|
|
|
|
| 22 |
subprocess.run('pip install flash-attn==2.7.4.post1 --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
|
| 23 |
import sys
|
| 24 |
import threading
|
| 25 |
+
os.system("pip install torch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1 --index-url https://download.pytorch.org/whl/cu124")
|
| 26 |
|
| 27 |
import re
|
| 28 |
from typing import Any, Dict, List
|