Error while initializing ZeroGPU

#10
by Paper99 - opened
ARC Lab, Tencent PCG org

Hi, @hysts .
We met a problem when restarting this space.

Traceback (most recent call last):
  File "/home/user/app/app.py", line 82, in <module>
    def generate_image(
  File "/usr/local/lib/python3.10/site-packages/spaces/zero/decorator.py", line 79, in GPU
    return _GPU(task, duration)
  File "/usr/local/lib/python3.10/site-packages/spaces/zero/decorator.py", line 113, in _GPU
    client.startup_report()
  File "/usr/local/lib/python3.10/site-packages/spaces/zero/client.py", line 45, in startup_report
    raise RuntimeError("Error while initializing ZeroGPU: Unknown")
RuntimeError: Error while initializing ZeroGPU: Unknown

How to fix this error?
Thanks

Looks like the Space is back up again. The error sometimes occurs due to some infra issue and it's usually fixed simply by restarting the Space. Sorry for the inconvenience.

ARC Lab, Tencent PCG org

Thank you for your reply. Everything worked fine after we modified this line. The original code was @spaces.GPU without parentheses.

Updating code triggers rebuild, so I guess that's the reason, but glad that it worked anyways.

Sign up or log in to comment