Spaces:
Running
on
Zero
Running
on
Zero
PyTorch manual upgrade not needed anymore
Browse files
app.py
CHANGED
|
@@ -1,7 +1,3 @@
|
|
| 1 |
-
# PyTorch 2.8 (hack)
|
| 2 |
-
import os
|
| 3 |
-
os.system('pip install --upgrade --pre --extra-index-url https://download.pytorch.org/whl/nightly/cu126 "torch<2.9"')
|
| 4 |
-
|
| 5 |
# Actual demo code
|
| 6 |
import spaces
|
| 7 |
import torch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Actual demo code
|
| 2 |
import spaces
|
| 3 |
import torch
|