Inference API stopped working

Current status: none of the text-2-image models work anymore - no matter if I clone a model to my account or if I use any of the big players (yntec / digiplay)

I’m guessing that’s a side effect from the 404 error; I played around a bit with PHP and run into the 404 brickwall everytime I tried to use anything beside “stabilityai/stable-diffusion-xl-base-1.0” - that one even works on the testground!

I slapped a little testground together here:

The sad thing: I don’t see any error. The build runs fine, no errors - but if I hit “generate”: nothing (not even an error!!). This was working on 25-04-06 - some time after that, HF had the glorious idea to “improve” something that broke all image generation.

HF staff: if this only works on a payed account: fine! Tell me and I’m game. But more than 3 weeks without any real feedback is just… bad.

I added a little debug to the build process: these are the (py)-modules the space loads:

certifi==2025.4.26
fsspec==2025.3.0
pytz==2025.2
tzdata==2025.2
setuptools==65.5.1
cryptography==44.0.2
attrs==25.3.0
pip==25.1
packaging==25.0
aiofiles==24.1.0
pyarrow==20.0.0
websockets==15.0.1
rich==14.0.0
pillow==11.2.1
click==8.0.4
multidict==6.4.3
PyYAML==6.0.2
gradio==5.27.1
psutil==5.9.8
async-timeout==5.0.1
tqdm==4.67.1
typing-extensions==4.13.2
anyio==4.9.0
protobuf==3.20.3
filelock==3.18.0
aiohttp==3.11.18
orjson==3.10.16
idna==3.10
datasets==3.5.1
xxhash==3.5.0
charset-normalizer==3.4.1
jinja2==3.1.6
MarkupSafe==3.0.2
markdown-it-py==3.0.0
pydantic-core==2.33.1
requests==2.32.3
pycparser==2.22
pygments==2.19.1
pydantic==2.11.3
semantic-version==2.10.0
python-dateutil==2.9.0.post0
aiohappyeyeballs==2.6.1
urllib3==2.4.0
numpy==2.2.5
pandas==2.2.3
itsdangerous==2.2.0
yarl==1.20.0
cffi==1.17.1
six==1.17.0
gradio-client==1.9.1
frozenlist==1.6.0
shellingham==1.5.4
authlib==1.5.2
aiosignal==1.3.2
sniffio==1.3.1
exceptiongroup==1.2.2
httpcore==1.0.9
hf-xet==1.0.5
fastapi==0.115.12
multiprocess==0.70.16
starlette==0.46.2
wheel==0.45.1
spaces==0.35.0
uvicorn==0.34.2
huggingface-hub==0.30.2
httpx==0.28.1
pydub==0.25.1
h11==0.16.0
typer==0.15.3
tomlkit==0.13.2
ruff==0.11.7
annotated-types==0.7.0
ffmpy==0.5.0
typing-inspection==0.4.0
dill==0.3.8
propcache==0.3.1
hf-transfer==0.1.9
safehttpx==0.1.6
groovy==0.1.2
mdurl==0.1.2
python-multipart==0.0.20

Yes - if I get this working, I drop all these into requirements and hopefully never have to hunt for errors I didn’t cause ever again.

Very frustrating.

1 Like