Spaces:
Configuration error

CONFIG_ERROR: requirements.txt pins torch==2.3.0, which ZeroGPU no longer supports

#6
by nootxlm - opened

This Space fails before building, with the platform's own message:

torch version in requirements.txt is not compatible with ZeroGPU.
Supported versions: 2.11.0, 2.10.0, 2.9.1, 2.8.0

requirements.txt pins torch==2.3.0, which is outside that supported set, so the Space is rejected at configuration time — no code in the repo gets to run.

The fix is to move the pin into the supported range, e.g.:

torch==2.8.0

2.8.0 is the closest supported release to the current pin, so it is the smallest jump; the other listed versions would also clear the config error, with correspondingly larger changes in torch behaviour to check (the unpinned torchaudio in the same file will follow whichever torch is chosen). Everything else in requirements.txt can stay as it is for this fault — the config check names torch alone.

Sign up or log in to comment