# HuggingFace Endpoint Error on AWS

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhuggingface-endpoint-error-on-aws%2F103794%3E%5C
**Category:** Inference Endpoints on the Hub\
**Created:** [August 24, 2024, 9:24am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhuggingface-endpoint-error-on-aws%2F103794 "2024-08-24T09:24:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nithish-2001](https://avatars.discourse-cdn.com/v4/letter/n/7c8e57/32.png) [@Nithish-2001](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FNithish-2001)%5C
**Post date:** [August 24, 2024, 9:24am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhuggingface-endpoint-error-on-aws%2F103794%2F1 "2024-08-24T09:24:44Z")

</div>

Hi Everyone,  
I have tried to create hugging face endpoint deployed on AWS Nvidia 4GPU, 64 GB. However initiation got failed stating the below error

```auto
File "/usr/local/lib/python3.10/dist-packages/transformers/pipelines/base.py", line 1271, in check_task

raise KeyError(

KeyError: "Unknown task custom, available tasks are ['audio-classification', 'automatic-speech-recognition', 'conversational', 'depth-estimation', 'document-question-answering', 'feature-extraction', 'fill-mask', 'image-classification', 'image-feature-extraction', 'image-segmentation', 'image-to-image', 'image-to-text', 'mask-generation', 'ner', 'object-detection', 'question-answering', 'sentiment-analysis', 'summarization', 'table-question-answering', 'text-classification', 'text-generation', 'text-to-audio', 'text-to-speech', 'text2text-generation', 'token-classification', 'translation', 'video-classification', 'visual-question-answering', 'vqa', 'zero-shot-audio-classification', 'zero-shot-classification', 'zero-shot-image-classification', 'zero-shot-object-detection', 'translation_XX_to_YY']"

Application startup failed. Exiting.

```

Kindly, Help me in this issue.

Thank you.

---

<div class="post-metadata">

**Author:** ![mahmutc](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mahmutc/32/64626_2.png) [@mahmutc](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmahmutc)%5C
**Post date:** [August 26, 2024, 9:25am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhuggingface-endpoint-error-on-aws%2F103794%2F2 "2024-08-26T09:25:07Z")

</div>

hi @Nithish-2001  
I don’t know how you try to deploy it but if you use [ui.endpoints.huggingface.co](http://ui.endpoints.huggingface.co), you might select another task from “Advanced configuration” instead of custom.

---

<div class="post-metadata">

**Author:** ![Nithish-2001](https://avatars.discourse-cdn.com/v4/letter/n/7c8e57/32.png) [@Nithish-2001](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FNithish-2001)%5C
**Post date:** [September 1, 2024, 8:22am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhuggingface-endpoint-error-on-aws%2F103794%2F4 "2024-09-01T08:22:48Z")

</div>

Hi @mahmutc ,  
Thanks for the reply.  
I have fine tuned llama-3.1-8B-Instruct model and saved in my hugging face models account.  
For endpoint creation I am using this url  
[https://ui.endpoints.huggingface.co/Nithish-2001/endpoints](https://ui.endpoints.huggingface.co/Nithish-2001/endpoints)  
Created a new endpoint for my custom fine tuned model → public, task - custom → deployed on aws server

I will modify task to Question-Answering and try it
