Skip to content
Live
Trending storyPast story

ExecuTorch-TensorRT Released: PyTorch Models Can Be Compiled into TensorRT Engines

1 reports1 outlets9 days agoUpdate

The story so far

AI overview

NVIDIA's Torch-TensorRT team and Meta's PyTorch team release ExecuTorch-TensorRT. Torch-TensorRT 2.15 can compile PyTorch models into TensorRT engines and save them as ExecuTorch 1.6 programs, eliminating the need to load torch at runtime; parts that TensorRT cannot convert are handed over to the CUDA backend and executed on the same CUDA stream. Installation is done by running once: pip install "torch_tensorrt[executorch]". Pre-built wheels are available for Linux with CUDA 13.2, supporting x86-64 and Arm64; on NVIDIA Jetson, JetPack 7.2 or later is required. The first installation on Arm64 will also pull about 2.6 GB of the TensorRT library from NVIDIA. This solution cannot reuse the TensorRT included with JetPack: Torch-TensorRT 2.15 requires TensorRT 11.4, while JetPack 7.2 includes TensorRT 10.

AI-written from the reports · Updated 9 days ago

Coverage timeline

Follow the coverage to see every side of the story.

25 Nov
  1. PyTorch BlogFeatured
    ExecuTorch-TensorRT: PyTorch Robot Policies at NVIDIA TensorRT Speed

    Torch-TensorRT 2.15 and ExecuTorch 1.6 support compiling PyTorch models into TensorRT engines and saving them as ExecuTorch programs, eliminating the need to load torch at runtime. Parts of the model that TensorRT cannot convert are delegated to the CUDA backend to execute on the same CUDA stream.