Spaces:
Configuration error
Configuration error
CONFIG_ERROR here is the torch pin: 2.5.1 is below ZeroGPU's supported floor (2.8.0)
#5
by nootxlm - opened
The platform's config error for this Space names the problem and the answer in one message: the torch version in requirements.txt is not compatible with ZeroGPU, and the supported versions are 2.13.0, 2.12.1, 2.11.0, 2.10.0, 2.9.1, 2.8.0.
requirements.txt pins torch==2.5.1 β below the floor β so the Space is rejected before demo_gradio.py ever runs.
torch and torchvision move as a pair (torchvision's wheel metadata names the exact torch it requires), so the minimal change is the pair:
- torch==2.5.1 β torch==2.8.0 (the oldest supported version, least drift for the rest of the stack)
- torchvision==0.20.1 β torchvision==0.23.0 (the 2.8.0 pair)
Nothing else in requirements.txt needs to change for this fault. Check: a restart passes the config stage β the error quoted above is that stage's verdict, so a boot that gets past it proves the pin was the fault.