Space not starting
I’ve been trying to get this space to work:ASR N-gram Language Modeling - a Hugging Face Space by Tamazight-NLPIt either timeouts while starting or throws an incomprehensible error (runtime error Exit code: ?. Reason: ).I’ve tried restarting, factory reset, and settingapp_portin the README, but nothing works.The docker container works just fine on my machine.I’m really out of ideas, any help would be greatly appreciated.
2024-11-03T03:29:41Z
It seems to be caused by a failed build ofboost_1_80_0.tar.bz2ininstall_beamsearch_decoders.shand a loop.
2024-11-03T14:08:12Z
I think Boost was built successfully because the script you mentioned prints “FAILURE” in case it fails and because subsequent libraries that depend on Boost were also built without issues. Looking at the logs, I can only see compilation warnings which I have on my machine too, but the app works just fine.Which loop are you referring to?
2024-11-03T14:14:14Z
Duplicate this and run it. Only the author himself can see the log in space…You should see it looping in weird places without erroring out.huggingface.coASR N-gram Language Modeling - a Hugging Face Space by John6666Discover amazing ML apps made by the community
2024-11-03T14:57:45Z
Yes, this one keeps restarting without erroring out, but I see you’ve made some modifications. The original usually doesn’t do this. It times out or errors out (but the error is unknown).I don’t really think there’s anything wrong with the Dockerfile or the code, because everything works flawlessly on my machine.
2024-11-03T14:58:36Z
Thank you for trying to fix it though.
2024-11-03T15:04:12Z
HF’s Spaces seems to have a few different quirks than Colab or even regular virtual environments, and it is difficult to try to install something at startup.But I can’t write Boost in requiements.txt, and honestly I can’t do anything about it.I tried tweaking the version a bit, but it’s the same, so I guess Boost and HF Spaces are fundamentally incompatible.If we’re simply missing something, we’ll just install ours…