My space AICoverGen is stuck on Building after I restarted it đźš©



@John6666, can you please find out why it’s acting up & can you or anybody try to fix this, thanks.

2 Likes

Since April 18th, we’re now seeing the same issue on spaces that were previously fine. Including spaces using only preset HF templates, such as Shiny Test - a Hugging Face Space by cboettig

2 Likes

Yes, and I have a space that can’t build since 4/18, Virtual Data Analyst - a Hugging Face Space by nolanzandi, but when I duplicate the space it builds just fine. So it seems to be server related.

1 Like

As everyone else has said, the “eternal build problem” cannot be fixed (at least for now) except by creating a new space and re-uploading the source code.

That said, fairseq’s dependencies are buggy, so a workaround is necessary.

EPRECATION: omegaconf 2.0.6 has a non-standard dependency specifier PyYAML>=5.1.*. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at Deprecate legacy versions and version specifiers · Issue #12063 · pypa/pip · GitHub

pip==24.0

And for Gradio issue.

pydantic==2.10.6

LOG SUMMARY FROM YOUR SCREENSHOT:

pgsql

Copy code

IMPORTANT: You are using gradio version 3.44.1, however version 4.44.1 is available, please upgrade.

:warning: What This Means:

You’re using an outdated version of Gradio (3.44.1), and Hugging Face is warning you because:

  • Older versions may have security vulnerabilities
  • Some newer features (like share=True, custom themes, or live-reload) won’t work properly
  • Hugging Face prefers Spaces run on recent versions

:white_check_mark: Fix: Upgrade Gradio to the latest version

Open your requirements.txt and change this line:

txt

Copy code

gradio==3.44.1

to:

txt

Copy code

gradio==4.44.1

:fire: 4.44.1 is the latest stable release as of your error message (April 2025)


:wrench: BONUS: Want to always stay up to date?

You could also replace the version pin with:

txt

Copy code

gradio>=4.0.0

…but if you want stability (no surprises), it’s best to pin to 4.44.1.


:brain: Other Messages in the Log

Here’s what the rest of the logs say:

Line Meaning Fix
Please install tensorboardX Optional dependency for logging AI training Not needed unless you log model training data — ignore :white_check_mark:
Successfully loaded faiss with AVX2 support FAISS (search engine) initialized correctly :white_check_mark: Everything’s working fine

:white_check_mark: Final Checklist to Resolve This Error

Step Action
1. Open requirements.txt :check_mark:
2. Change gradio==3.44.1 to gradio==4.44.1 :check_mark:
3. Commit + push changes to Hugging Face :check_mark:
4. Restart your Space :check_mark: Fresh build begins

LOG SUMMARY FROM YOUR SCREENSHOT:

pgsql

Copy code

IMPORTANT: You are using gradio version 3.44.1, however version 4.44.1 is available, please upgrade.

:warning: What This Means:

You’re using an outdated version of Gradio (3.44.1), and Hugging Face is warning you because:

  • Older versions may have security vulnerabilities
  • Some newer features (like share=True, custom themes, or live-reload) won’t work properly
  • Hugging Face prefers Spaces run on recent versions

:white_check_mark: Fix: Upgrade Gradio to the latest version

Open your requirements.txt and change this line:

txt

Copy code

gradio==3.44.1

to:

txt

Copy code

gradio==4.44.1

:fire: 4.44.1 is the latest stable release as of your error message (April 2025)


:wrench: BONUS: Want to always stay up to date?

You could also replace the version pin with:

txt

Copy code

gradio>=4.0.0

…but if you want stability (no surprises), it’s best to pin to 4.44.1.


:brain: Other Messages in the Log

Here’s what the rest of the logs say:

Line Meaning Fix
Please install tensorboardX Optional dependency for logging AI training Not needed unless you log model training data — ignore :white_check_mark:
Successfully loaded faiss with AVX2 support FAISS (search engine) initialized correctly :white_check_mark: Everything’s working fine

:white_check_mark: Final Checklist to Resolve This Error

Step Action
1. Open requirements.txt :check_mark:
2. Change gradio==3.44.1 to gradio==4.44.1 :check_mark:
3. Commit + push changes to Hugging Face :check_mark:
4. Restart your Space :check_mark: Fresh build begins