Can the python backend of TIS be used to serve larger models?

The examples of python backend are all simple, which does not include model loading. So if I’d like to deploy a pytorch model, can I use python backend? If I can, how may I load the model from state dict?