Configuration error: No candidate PyTorch version found for ZeroGPU

#37
by CoderCowMoo - opened
ZeroGPU Explorers org
โ€ข
edited May 4

image.png
The only hiss of this problem I could get was this one commit here

As can be seen in the commit history for my space here, I've changed gradio version around a lot, but don't know what to do. I've also tried copying the config of one of the spaces in the collection. still nothing. Would appreciate any help with this. Thanks

ZeroGPU Explorers org

Hi, your space seems to be private.

ZeroGPU Explorers org

Change Space visibility
This Space is currently public. Anyone on the internet can see this Space. Only you (personal Space) or members of your organization (organization Space) can commit.

The settings suggest that it is public. I think the link above broke, so here it is again:

https://huggingface.co/spaces/CoderCowMoo/Meta-LLaMA-3-70B-Instruct-Orthoganalized/

ZeroGPU Explorers org

@CoderCowMoo
Supported versions:

  • Gradio: 4+
  • PyTorch: All versions from 2.0.0 to 2.2.0
  • Python: 3.10.13

you can fix your requirements file by simply using :

torch==2.2.0
ZeroGPU Explorers org

I opened a PR

ZeroGPU Explorers org

Accepted and restarted space, maybe it'll take a bit. I'm currently in aest timezone and need to sleep, will read suggestions tmrw. Thanks

ZeroGPU Explorers org

when you wake up don't forget to click on factory rebuild to rebuild all the dependencies (including gradio with the appropriate sdk) .
Let us know if this worked for you
image.png

ZeroGPU Explorers org

Decided i had to see this through, just did factory rebuild, still nothing, if any ideas soon will try to use.

ZeroGPU Explorers org
โ€ข
edited May 5

@mrfakename Accepted PR and factory rebuilt. Still nothing. I have a feeling that this is an error with it not propagating changes or something since it is giving the error so quickly, so I'll delete the space, make it again and see what happens.

Edit: still nothing.

ZeroGPU Explorers org

Removing the pytorch version entirely from requirements.txt fixes this. I hope this will be made clearer on any sort of documentation, or accessible information.

For the curious, by default torch==2.2.0 is installed.

CoderCowMoo changed discussion status to closed
ZeroGPU Explorers org
This comment has been hidden

Sign up or log in to comment