Spaces:
Running on Zero
Running on Zero
Pin torch==2.4.0/torchvision==0.19.0 for ZeroGPU compatibility
Browse filesUnpinned torch>=2.3.1 rebuilt to a version ZeroGPU's spaces runtime does
not support, so @spaces.GPU calls were not scheduled on a GPU worker and
torch.cuda.get_device_properties(0) failed with 'Found no NVIDIA driver'.
2.4.0 is a ZeroGPU-supported version; 0.19.0 is its matching torchvision.
- requirements.txt +2 -2
requirements.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
-
torch
|
| 2 |
-
torchvision
|
| 3 |
numpy>=1.24.4
|
| 4 |
tqdm>=4.66.1
|
| 5 |
hydra-core>=1.3.2
|
|
|
|
| 1 |
+
torch==2.4.0
|
| 2 |
+
torchvision==0.19.0
|
| 3 |
numpy>=1.24.4
|
| 4 |
tqdm>=4.66.1
|
| 5 |
hydra-core>=1.3.2
|