Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,17 +3,16 @@ subprocess.run(['sh', './spaces.sh'])
|
|
| 3 |
|
| 4 |
import spaces
|
| 5 |
|
| 6 |
-
@spaces.GPU(required=True)
|
| 7 |
-
def install_flashattn():
|
| 8 |
-
subprocess.run(['sh', './flashattn.sh'])
|
| 9 |
-
|
| 10 |
-
install_flashattn()
|
| 11 |
-
|
| 12 |
def install_torch():
|
| 13 |
subprocess.run(['sh', './torch.sh'])
|
| 14 |
|
| 15 |
install_torch()
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
import os
|
| 19 |
|
|
|
|
| 3 |
|
| 4 |
import spaces
|
| 5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
def install_torch():
|
| 7 |
subprocess.run(['sh', './torch.sh'])
|
| 8 |
|
| 9 |
install_torch()
|
| 10 |
|
| 11 |
+
@spaces.GPU(required=True)
|
| 12 |
+
def install_flashattn():
|
| 13 |
+
subprocess.run(['sh', './flashattn.sh'])
|
| 14 |
+
|
| 15 |
+
install_flashattn()
|
| 16 |
|
| 17 |
import os
|
| 18 |
|