AgPerry commited on
Commit
a2041cc
·
verified ·
1 Parent(s): 5dd74e7

Fix ZeroGPU-compatible PyTorch dependency versions

Browse files

The public Space currently reports CONFIG_ERROR because torch==2.6.0 is outside the supported ZeroGPU versions. Update only the matched PyTorch 2.8.0 / TorchAudio 2.8.0 / TorchVision 0.23.0 triplet, as listed in the official PyTorch installation matrix. The model, inference logic, Transformers version and remaining dependencies are unchanged.

Validation: the three-line patch applies to the current revision; the existing app parses; import spaces already precedes import torch. This does not claim a successful GPU run. Check the rebuilt Space and one existing example before restoring an online-trial invitation.

Sources: https://huggingface.co/docs/hub/en/spaces-zerogpu and https://pytorch.org/get-started/previous-versions/.

Disclosure: I am a coauthor of VideoScore2. Prepared with AI assistance.

Files changed (1) hide show
  1. requirements.txt +3 -3
requirements.txt CHANGED
@@ -8,7 +8,7 @@ pyarrow
8
  qwen-vl-utils
9
  scipy
10
  spaces
11
- torch==2.6.0
12
- torchaudio==2.6.0
13
- torchvision==0.21.0
14
  transformers==4.53.2
 
8
  qwen-vl-utils
9
  scipy
10
  spaces
11
+ torch==2.8.0
12
+ torchaudio==2.8.0
13
+ torchvision==0.23.0
14
  transformers==4.53.2