ZeroGPU has not been initialized Error after disabling dev mode

Hello,

I made a new space using ZeroGPU with enabled DevMode. The initial startup worked without problems. I disabled devmode afterwards because I don’t need it at the moment.

But now startup always fails with the error in the topic name. What I find curious is that I don’t see an error in the logs:

===== Application Startup at 2024-06-13 13:00:32 =====

Running on local URL:  http://0.0.0.0:7860

To create a public link, set `share=True` in `launch()`.

I also tried a factory rebuild, did not work. Are there any other solutions I could try?

Regards,
Daniel

1 Like

Hi @razzfazz-io Thanks for reporting this! We’ll investigate and I’ll update you once there’s a fix.

1 Like

Thank you!

For anyone running into the same problem: At least switching to CPU basic seems to work, if that suffices for your task.

Same error here!

Not more feedback provided in the logs. Hope it gets fixed because I need the GPU compute power

1 Like

I am sorry for being a newbie, the error was on my end.

I just now realized that I need some extra code to have it work on ZeroGPU, as detailed here:

In my case, I only needed to import “spaces” and add the decorator to the generate function, now it also works out of dev mode.

Sorry for the inconvenience…

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.