• Docs >
  • Dynamo / torch.compile
Shortcuts

Dynamo / torch.compile

Torch-TensorRT provides a backend for the new torch.compile API released in PyTorch 2.0. In the following examples we describe a number of ways you can leverage this backend to accelerate inference.

Torch Compile Stable Diffusion

Torch Compile Stable Diffusion

Compiling ResNet using the Torch-TensorRT torch.compile Backend

Compiling ResNet using the Torch-TensorRT torch.compile Backend

Compiling a Transformer using torch.compile and TensorRT

Compiling a Transformer using torch.compile and TensorRT

Torch Compile Advanced Usage

Torch Compile Advanced Usage

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources