Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,8 +13,10 @@ login(token=os.environ.get("HF_TOKEN"))
|
|
| 13 |
def install_torch280cu129():
|
| 14 |
subprocess.run(['sh', './torch.sh'])
|
| 15 |
#install_torch280cu129()
|
|
|
|
| 16 |
token=os.environ.get("HF_TOKEN")
|
| 17 |
-
|
|
|
|
| 18 |
def install_flashattn():
|
| 19 |
subprocess.run(['sh', './flashattn.sh'])
|
| 20 |
install_flashattn()
|
|
|
|
| 13 |
def install_torch280cu129():
|
| 14 |
subprocess.run(['sh', './torch.sh'])
|
| 15 |
#install_torch280cu129()
|
| 16 |
+
|
| 17 |
token=os.environ.get("HF_TOKEN")
|
| 18 |
+
|
| 19 |
+
@spaces.GPU(required=True)
|
| 20 |
def install_flashattn():
|
| 21 |
subprocess.run(['sh', './flashattn.sh'])
|
| 22 |
install_flashattn()
|