Post
988
If your Space stops working after restarting mainly for the last 5 days (https://discuss.huggingface.co/t/my-space-suddenly-went-offline-the-cpu-cannot-restart/151121/22), try some of following.
1. Add
2. Upgrade PyTorch to 2.2.0 or later (
3. Fix Transformers to 4.49.0 or earlier (
4. Fix
5. Specifying
About
https://discuss.huggingface.co/t/error-no-api-found/146226
https://discuss.huggingface.co/t/internal-server-error-bool-not-iterable/149494
1. Add
pydantic==2.10.6
to requirements.txt
or upgrade Gradio to the latest version.2. Upgrade PyTorch to 2.2.0 or later (
torch>=2.2.0
for Zero GPU space).3. Fix Transformers to 4.49.0 or earlier (
transformers<=4.49.0
for spaces using Transformers or Diffusers).4. Fix
huggingface_hub
to the old version (huggingface_hub==0.25.2
for if an error like cached_download
is not available occurs or inference does not work properly)5. Specifying
WORKDIR
in Dockerfile
may cause the application to fail to start with error 137. (Docker Spaces, https://discuss.huggingface.co/t/error-code-137-cache-error/152177)About
pydantic==2.10.6
:https://discuss.huggingface.co/t/error-no-api-found/146226
https://discuss.huggingface.co/t/internal-server-error-bool-not-iterable/149494