Legacy Frontends# Documentation for the TorchScript and FX compilation frontends. These frontends are in maintenance mode — for new projects use the Dynamo frontend (torch.compile or torch.export). TorchScript Frontend# Creating a TorchScript Module Working with TorchScript in Python Saving TorchScript Module to Disk Using Torch-TensorRT in Python Using Torch-TensorRT in C++ Using Torch-TensorRT TorchScript Frontend Directly From PyTorch Post Training Quantization (PTQ) FX Frontend# Torch-TensorRT (FX Frontend) User Guide