Can I get the best of Torchscript and Torch Compile?

We’ve implemented support in a triton inference container for torchscript-serialized model. However, we’d like to be able to take advantage of torch.compile when training. I’m having a hard time finding docs that cover both - is there a to use torch.compile when training and then serialize? Thanks.