Does ZeroGPU not work for all spaces?

Heya, was just messing around with projects like “Hallo” for talking portraits. Joined PRO, and tried duplicating a space, but just getting “runtime error - ZeroGPU has not been initialized.” Am I missing something, or is it possible to use Hallo with ZeroGPU? Thanks for any clarification! I’m an artist, not a coder. lol

I also attempted cloning to Google Colab, but stuck there as well (was just using a youtube tutorial for a completely different project)

1 Like

Okay, it seems to load up with Dev mode enabled, but when trying to use, it pops up an error msg. “Error: No CUDA GPUs are available” What is that about?

1 Like

Maybe this is it? You don’t know because there’s no explanation.
If you have trouble with HF, it’s easy to look at someone else’s space code that works and think about what’s different from yours.
Kind of a hackerish way to do it…

If you have any problems or errors in the Zero GPU space, you can ask questions in the community below and get high quality answers.

Thanks John! Despite not really knowing what I’m doing, just adding some of the “essentials” to the app.py file, and the space is loading up now. However, for some reason, it keeps refreshing/restarting every minute or so making it unusable…

Might just have to hope that someone that knows what they’re doing creates a ZeroGPU Hallo space at some point, or maybe I’ll msg in zero-gpu-explorers at some point.

1 Like

Yeah, I think you’re stuck with the default 60 seconds because Zero GPU Space is a service that lets you rent a powerful GPU for a default of 60 seconds per session and a maximum of 120 seconds.
GPUs are too expensive, so they have to do it this way…

The moments when you really need the GPU are actually few, so the only solution is to isolate those moments into a separate function and put @spaces on it…
For services that don’t need GPUs, you can just put dummy functions… Zero GPU space is more convenient than CPU space because CPU, RAM and storage are considerably more powerful than CPU space.

It looks like there is an existing Hallo space.