Saving ray model to tf/pytorch

I would like to save ray model into something that could be loaded by pytorch/tensorflow for inference. Is it possible to avoid using ray serve and predict directly from the checkpoint files? Can you provide some code snippet on how to do it?