Spaces:
Running
on
Zero
Error while initializing ZeroGPU
We met a problem when restarting this space.
=== Application stopped (exit code: 1) at 2025-06-09 09:46:03.094740285 UTC ===
/usr/local/lib/python3.10/site-packages/torch_geometric/typing.py:101: UserWarning: An issue occurred while importing 'torch-sparse'. Disabling its usage. Stacktrace:
Class _DeviceStringOnly does not have an init function defined:
File "/usr/local/lib/python3.10/site-packages/torch_sparse/tensor.py", line 482
def cpu(self):
return self.to_device(device=torch.device('cpu'), non_blocking=False)
~~~~~~~~~~~~ <--- HERE
warnings.warn(f"An issue occurred while importing 'torch-sparse'. "
ZeroGPU tensors packing: 0.00B [00:00, ?B/s]
ZeroGPU tensors packing: 0.00B [00:00, ?B/s]
2025-06-09 11:46:32,981 INFO [_client.py:1025 _send_single_request] HTTP Request: POST http://device-api.zero/startup-report?cgroupPath=%2Fkubepods.slice%2Fkubepods-burstable.slice%2Fkubepods-burstable-podcd3b3b52_f5bd_4b51_be47_798a988dd534.slice%2Fcri-containerd-7f113b02cd8cb5a7aeed15939ef5beac08a3b0ae76db8297943910dad9a6fa49.scope&gpuSize=large "HTTP/1.1 409 Conflict"
Traceback (most recent call last):
File "/home/user/app/app.py", line 512, in
demo.launch(share=True)
File "/usr/local/lib/python3.10/site-packages/spaces/zero/gradio.py", line 162, in launch
task(*task_args, **task_kwargs)
File "/usr/local/lib/python3.10/site-packages/spaces/zero/init.py", line 30, in startup
client.startup_report(utils.self_cgroup_device_path(), gpu_size)
File "/usr/local/lib/python3.10/site-packages/spaces/zero/client.py", line 57, in startup_report
raise RuntimeError("Error while initializing ZeroGPU: Unknown")
RuntimeError: Error while initializing ZeroGPU: Unknown
2025-06-09 11:46:33,72 INFO [_client.py:1025 _send_single_request] HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK"
=== Application stopped (exit code: 1) at 2025-06-09 09:46:34.369466631 UTC ===
Here is the Space URL: https://huggingface.co/spaces/Zaixi/Pocket-Gen. You can find the app.py file there.
How to fix this error?
Thanks.