TorchServe for Partially Trained Models


I am reading into torchserve and from my understanding it provides a system for clients to send inference requests to a trained model.

Is it possible to use a model which needs to perform gradient ascent to predict values with torchserve, using a partially trained model?

If not, what alternatives could one use?