Hosting own model on hugging face

I have been using a hugging face for the past 3-4 months. I am able to use hugging face spaces but I am not able to host my own trained model (which is written in pytorch from scratch) on hugging face model!

could anyone help regarding this ?