chongzhou commited on
Commit
bd2518a
·
1 Parent(s): 588b9f7

Pin torch==2.4.0/torchvision==0.19.0 for ZeroGPU compatibility

Browse files

Unpinned 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.

Files changed (1) hide show
  1. requirements.txt +2 -2
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
- torch>=2.3.1
2
- torchvision>=0.18.1
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