Launch timed out, space was not healthy after 30 min (space remains in building status)

When I create a new space from the autotrain space, it never finishes building even though the training goes smoothly. The space seems to work fine but it never reaches the running status and, after 30 minutes, it pauses with the error

Launch timed out, space was not healthy after 30 min

For the moment I have found the workaround of setting the variable startup_duration_timeout to 50h in order to give the space enough time to finish the training. I am still not sure it works though.

It seems like a spaces issue for your user. All autotrain spaces take less than a couple of minutes to build. Ill ask the infra team. Whats the space id?

Thank you. MatteoWood/autotrain-bert-large-sexism-classifier-0
Cordially.

fixed now.

Hi Abhishek, could I have help with my space too, same error/issue:

https://huggingface.co/spaces/ACAustralia/Zephyr7B-CarpetCourt

Facing same issue on spaces

Runtime error: launch time out, space -was-not-healthy-after-30-min

hello there i am facing the same error
https://huggingface.co/spaces/LatinaJulia/DolphinVision

1 Like