Steps to serve your model with Torchserve

Install Torchserve, model archiver and its requirements.
Choose a default handler that fits your task (e.g image classification, etc) or author a custom handler.
Package your model artifacts (trained model checkpoint and all other necessary files for loading and running your model) and the handler into a “.mar” file using Torcharchive and place it in the model store.
Start serving your model.
