# Unknown error in model inference api and hub

**URL:** <https://discuss.huggingface.co/t/unknown-error-in-model-inference-api-and-hub/66396>\
**Category:** 🤗Hub\
**Created:** [December 19, 2023, 11:52pm UTC](https://discuss.huggingface.co/t/unknown-error-in-model-inference-api-and-hub/66396 "2023-12-19T23:52:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ep150de](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@ep150de](https://discuss.huggingface.co/u/ep150de)\
**Post date:** [December 19, 2023, 11:52pm UTC](https://discuss.huggingface.co/t/unknown-error-in-model-inference-api-and-hub/66396/1 "2023-12-19T23:52:47Z")

</div>

I uploaded some lora models that were working fine for a while, without any changes. I could sent a prompt to api or using the model card api call and get output without any issues.

All the sudden, (started a few days ago) my model and several others that I have found use to work, are now producing this unknown error in the UI.

model’s having issue:

> **[ep150de/linglenet · Hugging Face](https://huggingface.co/ep150de/linglenet)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

> **[ep150de/patg · Hugging Face](https://huggingface.co/ep150de/patg)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

Anyone have any ideas?

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](https://discuss.huggingface.co/u/radames)\
**Post date:** [December 20, 2023, 1:17am UTC](https://discuss.huggingface.co/t/unknown-error-in-model-inference-api-and-hub/66396/2 "2023-12-20T01:17:31Z")

</div>

hi @ep150de,

In order to have your models running on the community API inference, they have to be compatible with Diffusers. Looking at the source of your model here [ep150de/linglenet at main](https://huggingface.co/ep150de/linglenet/tree/main), it looks like these are single file safetensor models.

---

<div class="post-metadata">

**Author:** ![ep150de](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@ep150de](https://discuss.huggingface.co/u/ep150de)\
**Post date:** [December 20, 2023, 3:10am UTC](https://discuss.huggingface.co/t/unknown-error-in-model-inference-api-and-hub/66396/3 "2023-12-20T03:10:43Z")

</div>

How did it work previously? I managed to get it to work before without error and I noticed the issue is persistent with any loras models that previously used to work from the model card web ui.

For example, if you look at the spaces using my model, there is a test image generation space with several models and all the ones getting errors are loras fine tuned models.

[https://huggingface.co/spaces/allknowingroger/Image-Models-Test232](https://huggingface.co/spaces/allknowingroger/Image-Models-Test232)

---

<div class="post-metadata">

**Author:** ![ep150de](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@ep150de](https://discuss.huggingface.co/u/ep150de)\
**Post date:** [December 20, 2023, 7:43pm UTC](https://discuss.huggingface.co/t/unknown-error-in-model-inference-api-and-hub/66396/4 "2023-12-20T19:43:30Z")

</div>

It appears to be working again without error. Not sure what changed or if it was a backend issue.
