Running into Zerogpu not initialised issue

#1
by vishnu714 - opened

Waiting for a GPU to become available
Successfully acquired a GPU
/usr/local/lib/python3.10/site-packages/spaces/zero/wrappers.py:82: UserWarning: Using a ZeroGPU function outside of Gradio caching or request might block the app
warnings.warn("Using a ZeroGPU function outside of Gradio caching or request might block the app")
Traceback (most recent call last):
File "/home/user/app/app.py", line 23, in
llm = load_model()
File "/usr/local/lib/python3.10/site-packages/spaces/zero/wrappers.py", line 211, in gradio_handler
raise gr.Error("GPU task aborted")
gradio.exceptions.Error: 'GPU task aborted'
Waiting for a GPU to become available
Successfully acquired a GPU
/usr/local/lib/python3.10/site-packages/spaces/zero/wrappers.py:82: UserWarning: Using a ZeroGPU function outside of Gradio caching or request might block the app
warnings.warn("Using a ZeroGPU function outside of Gradio caching or request might block the app")

how to solve this issue?

Sign up or log in to comment