GPU task aborted

#14
by H-Liu1997 - opened
ZeroGPU Explorers org

File "/home/user/app/app.py", line 620, in emage
result = trainer.test_demo(999)
│ └ <function BaseTrainer.test_demo at 0x7f3270e68940>
└ <__main__.BaseTrainer object at 0x7f3259230100>

File "/home/user/app/app.py", line 550, in test_demo
tar_pose, rec_pose, tar_exps, tar_beta, rec_trans, tar_trans, rec_exps = test_demo_gpu(
└ <function test_demo_gpu at 0x7f3270e685e0>

File "/usr/local/lib/python3.10/site-packages/spaces/zero/wrappers.py", line 157, in gradio_handler
raise gr.Error("GPU task aborted")
│ └ <class 'gradio.exceptions.Error'>
└ <module 'gradio' from '/usr/local/lib/python3.10/site-packages/gradio/__init__.py'>

gradio.exceptions.Error: 'GPU task aborted'
Running on local URL: http://0.0.0.0:7860

ZeroGPU Explorers org
ZeroGPU Explorers org

my project is private, how can I share it for you?

ZeroGPU Explorers org

@H-Liu1997 Maybe you can try specifying the duration parameter. The org card is updated a few hours ago.

@hysts
Thank you. This solution help me.

Can we specify the duraton dynamically? E.g., when doing ASR, the duration depends on the length of the audio.

r3gm uses a method of creating a wrapper function to make it possible to change it virtually, but it would be nice if it were possible officially.
https://huggingface.co/spaces/r3gm/DiffuseCraft/blob/main/app.py#L562

Sign up or log in to comment