Space cannot start on ZeroGPU โ€” requirements pin torch 2.2.0, outside the supported set

#2
by nootxlm - opened

This Space is at CONFIG_ERROR with the platform 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".

The cause is in requirements.txt: it pins torch==2.2.0. ZeroGPU supports a fixed set of torch versions (currently 2.8.0โ€“2.11.0), and 2.2.0 is not among them, so the platform cannot select a build and the Space never starts.

To revive it, move torch to a supported version โ€” for example torch==2.8.0 โ€” and check the companions that were resolved against torch 2.2: the nvidia-*-cu12 12.1 packages and triton==2.2.0 in the same file belong to the old torch's stack and will need matching versions, and transformers==4.36.1 / diffusers==0.28.0 should be import-checked against the newer torch. The rest of the requirements can stay as they are.

Quick check after the change: the Space's build should move past CONFIG_ERROR, and import torch in the app log should report the new version.

Sign up or log in to comment