Post
21930
If your Space stops working after restarting mainly for the last 5 days (/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmy-space-suddenly-went-offline-the-cpu-cannot-restart%2F151121%2F22%3C%2Fa%3E%3Cspan%3E)%2C 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
/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-no-api-found%2F146226%3C%2Fa%3E%3Cbr%3E%3Ca href="/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Finternal-server-error-bool-not-iterable%2F149494" rel="nofollow" target="_blank" class="inline-flex items-baseline gap-1 text-base text-gray-500 underline decoration-gray-200 hover:text-gray-700 hover:decoration-gray-400 dark:decoration-gray-700 dark:hover:text-gray-300 dark:hover:decoration-gray-400">/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Finternal-server-error-bool-not-iterable%2F149494%3C%2Fa%3E%3Cbr%3E%3Cbr%3E%3Cspan%3EEdit%3A%3C%2Fspan%3E%3Cbr%3E%3Cspan%3EZero GPU space has been upgraded from A100 to H200.
This is likely the reason why older versions of PyTorch are no longer supported.
In fact, an error message to that effect was displayed.
zero-gpu-explorers/README#163
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, /static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-code-137-cache-error%2F152177%3C%2Fa%3E%3Cspan%3E)%3C%2Fspan%3E%3Cbr%3E%3Cbr%3E%3Cspan%3EAbout pydantic==2.10.6
:/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-no-api-found%2F146226%3C%2Fa%3E%3Cbr%3E%3Ca href="/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Finternal-server-error-bool-not-iterable%2F149494" rel="nofollow" target="_blank" class="inline-flex items-baseline gap-1 text-base text-gray-500 underline decoration-gray-200 hover:text-gray-700 hover:decoration-gray-400 dark:decoration-gray-700 dark:hover:text-gray-300 dark:hover:decoration-gray-400">/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Finternal-server-error-bool-not-iterable%2F149494%3C%2Fa%3E%3Cbr%3E%3Cbr%3E%3Cspan%3EEdit%3A%3C%2Fspan%3E%3Cbr%3E%3Cspan%3EZero GPU space has been upgraded from A100 to H200.
This is likely the reason why older versions of PyTorch are no longer supported.
In fact, an error message to that effect was displayed.
zero-gpu-explorers/README#163