Spaces:
Running
on
Zero
Running
on
Zero
chong.zhang
commited on
Commit
·
8611ab8
1
Parent(s):
7e08af8
update
Browse files
app.py
CHANGED
@@ -24,7 +24,8 @@ import subprocess
|
|
24 |
import importlib
|
25 |
import sys
|
26 |
|
27 |
-
|
|
|
28 |
os.system('nvidia-smi')
|
29 |
os.system('apt update -y && apt-get install -y apt-utils && apt install -y unzip')
|
30 |
os.system('pip install flash-attn --no-build-isolation')
|
@@ -191,4 +192,5 @@ def main():
|
|
191 |
|
192 |
if __name__ == '__main__':
|
193 |
# subprocess.run(['bash', 'install.sh'], shell=True)
|
|
|
194 |
main()
|
|
|
24 |
import importlib
|
25 |
import sys
|
26 |
|
27 |
+
|
28 |
+
|
29 |
os.system('nvidia-smi')
|
30 |
os.system('apt update -y && apt-get install -y apt-utils && apt install -y unzip')
|
31 |
os.system('pip install flash-attn --no-build-isolation')
|
|
|
192 |
|
193 |
if __name__ == '__main__':
|
194 |
# subprocess.run(['bash', 'install.sh'], shell=True)
|
195 |
+
@spaces.GPU
|
196 |
main()
|