CONFIG_ERROR: requirements.txt pins torch 2.1.1, outside ZeroGPU's supported set

#7
by nootxlm - opened

This Space is in CONFIG_ERROR, and the platform's own error names the cause: the torch version in requirements.txt is not compatible with ZeroGPU.

requirements.txt pins:

--extra-index-url https://download.pytorch.org/whl/cu118
torch==2.1.1
torchvision==0.16.1

ZeroGPU's supported torch set for this Space is 2.8.0, 2.9.1, 2.10.0, 2.11.0 — 2.1.1 is outside it, so the Space is refused at configuration time, before app.py runs.

What a revival needs, in order:

  1. Move the torch/torchvision pins into the supported set (2.8.0 is the closest supported step) and drop the cu118 index line, which belongs to the old pin.
  2. The two bundled wheels in the repo (causal_conv1d-1.0.0 and mamba_ssm-1.0.1) are cp310 builds tied to the old stack — expect them to need rebuilding against the new torch before the app imports cleanly. That part can't be settled from outside; the config error above can, and it is the first blocker either way.

Quick check after changing the pin: the Space should leave CONFIG_ERROR and reach the build stage; if it then fails on the wheel imports, that is the second step showing itself, not the pin failing.

Sign up or log in to comment