# Unable to upload custom Pytorch model in huggingface

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Funable-to-upload-custom-pytorch-model-in-huggingface%2F35545%3E%5C
**Category:** 🤗Tokenizers\
**Created:** [April 4, 2023, 4:46pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Funable-to-upload-custom-pytorch-model-in-huggingface%2F35545 "2023-04-04T16:46:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivam21mishra08](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/shivam21mishra08/32/15174_2.png) [@shivam21mishra08](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fshivam21mishra08)%5C
**Post date:** [April 4, 2023, 4:46pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Funable-to-upload-custom-pytorch-model-in-huggingface%2F35545%2F1 "2023-04-04T16:46:17Z")

</div>

I created a custom generative pytorch model . but while uploading to hugging face i cannot access hosted API … help me fix it!!
